tag | line | file | source code |
prot | 157 | arch/alpha/kernel/osf_sys.c | unsigned long prot, unsigned long flags, unsigned long fd, |
prot | 168 | arch/alpha/kernel/osf_sys.c | return do_mmap(file, addr, len, prot, flags, off); |
prot | 484 | drivers/net/de600.c | (skb->sk->prot->rspace != &de600_rspace)) |
prot | 485 | drivers/net/de600.c | skb->sk->prot->rspace = de600_rspace; /* Ugh! */ |
prot | 1515 | fs/smbfs/proc.c | enum smb_protocol prot; |
prot | 1632 | fs/smbfs/proc.c | server->protocol = prots[i].prot; |
prot | 180 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, pgprot_t prot); |
prot | 181 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, pgprot_t prot); |
prot | 210 | include/linux/mm.h | unsigned long prot, unsigned long flags, unsigned long off); |
prot | 55 | include/net/protocol.h | extern void inet_add_protocol(struct inet_protocol *prot); |
prot | 56 | include/net/protocol.h | extern int inet_del_protocol(struct inet_protocol *prot); |
prot | 111 | include/net/sock.h | struct proto *prot; |
prot | 464 | mm/memory.c | int zeromap_page_range(unsigned long address, unsigned long size, pgprot_t prot) |
prot | 471 | mm/memory.c | zero_pte = pte_wrprotect(mk_pte(ZERO_PAGE, prot)); |
prot | 494 | mm/memory.c | unsigned long offset, pgprot_t prot) |
prot | 506 | mm/memory.c | *pte = mk_pte(offset, prot); |
prot | 515 | mm/memory.c | unsigned long offset, pgprot_t prot) |
prot | 528 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
prot | 535 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
prot | 548 | mm/memory.c | error = remap_pmd_range(pmd, from, end - from, offset + from, prot); |
prot | 45 | mm/mmap.c | unsigned long prot, unsigned long flags, unsigned long off) |
prot | 69 | mm/mmap.c | if ((prot & PROT_WRITE) && !(file->f_mode & 2)) |
prot | 117 | mm/mmap.c | vma->vm_flags = prot & (VM_READ | VM_WRITE | VM_EXEC); |
prot | 87 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 90 | mm/mprotect.c | vma->vm_page_prot = prot; |
prot | 96 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 108 | mm/mprotect.c | n->vm_page_prot = prot; |
prot | 119 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 131 | mm/mprotect.c | n->vm_page_prot = prot; |
prot | 142 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 163 | mm/mprotect.c | vma->vm_page_prot = prot; |
prot | 201 | mm/mprotect.c | asmlinkage int sys_mprotect(unsigned long start, size_t len, unsigned long prot) |
prot | 213 | mm/mprotect.c | if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC)) |
prot | 226 | mm/mprotect.c | newflags = prot | (vma->vm_flags & ~(PROT_READ | PROT_WRITE | PROT_EXEC)); |
prot | 1073 | net/appletalk/ddp.c | sk->prot=NULL; /* So we use default free mechanisms */ |
prot | 823 | net/ax25/af_ax25.c | sk->prot = NULL; /* So we use default free mechanisms */ |
prot | 893 | net/ax25/af_ax25.c | sk->prot = NULL; /* So we use default free mechanisms */ |
prot | 200 | net/core/datagram.c | if (sk->prot && sk->prot->wspace(sk) >= MIN_WRITE_SPACE) |
prot | 204 | net/core/datagram.c | if (sk->prot==NULL && sk->sndbuf-sk->wmem_alloc >= MIN_WRITE_SPACE) |
prot | 460 | net/core/skbuff.c | if(skb->sk->prot!=NULL) |
prot | 463 | net/core/skbuff.c | skb->sk->prot->rfree(skb->sk, skb); |
prot | 465 | net/core/skbuff.c | skb->sk->prot->wfree(skb->sk, skb); |
prot | 502 | net/core/sock.c | if (!sk->prot) |
prot | 526 | net/core/sock.c | if (sk->prot->rcv) |
prot | 527 | net/core/sock.c | sk->prot->rcv(skb, skb->dev, sk->opt, |
prot | 96 | net/ipv4/af_inet.c | static int sk_inuse(struct proto *prot, int num) |
prot | 100 | net/ipv4/af_inet.c | for(sk = prot->sock_array[num & (SOCK_ARRAY_SIZE -1 )]; |
prot | 114 | net/ipv4/af_inet.c | unsigned short get_new_socknum(struct proto *prot, unsigned short base) |
prot | 139 | net/ipv4/af_inet.c | sk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)]; |
prot | 159 | net/ipv4/af_inet.c | while(sk_inuse(prot, base +best+1)) |
prot | 188 | net/ipv4/af_inet.c | sk->prot->inuse += 1; |
prot | 189 | net/ipv4/af_inet.c | if (sk->prot->highestinuse < sk->prot->inuse) |
prot | 190 | net/ipv4/af_inet.c | sk->prot->highestinuse = sk->prot->inuse; |
prot | 192 | net/ipv4/af_inet.c | if (sk->prot->sock_array[num] == NULL) |
prot | 194 | net/ipv4/af_inet.c | sk->prot->sock_array[num] = sk; |
prot | 209 | net/ipv4/af_inet.c | sk1 = sk->prot->sock_array[num]; |
prot | 216 | net/ipv4/af_inet.c | sk->next = sk->prot->sock_array[num]; |
prot | 217 | net/ipv4/af_inet.c | sk->prot->sock_array[num] = sk; |
prot | 247 | net/ipv4/af_inet.c | if (!sk1->prot) |
prot | 256 | net/ipv4/af_inet.c | sk2 = sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)]; |
prot | 259 | net/ipv4/af_inet.c | sk1->prot->inuse -= 1; |
prot | 260 | net/ipv4/af_inet.c | sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)] = sk1->next; |
prot | 272 | net/ipv4/af_inet.c | sk1->prot->inuse -= 1; |
prot | 329 | net/ipv4/af_inet.c | skb->sk->prot->close(skb->sk, 0); |
prot | 371 | net/ipv4/af_inet.c | sk->pair->prot->close(sk->pair, 0); |
prot | 437 | net/ipv4/af_inet.c | if (sk->prot->setsockopt==NULL) |
prot | 440 | net/ipv4/af_inet.c | return sk->prot->setsockopt(sk,level,optname,optval,optlen); |
prot | 453 | net/ipv4/af_inet.c | if(sk->prot->getsockopt==NULL) |
prot | 456 | net/ipv4/af_inet.c | return sk->prot->getsockopt(sk,level,optname,optval,optlen); |
prot | 468 | net/ipv4/af_inet.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 549 | net/ipv4/af_inet.c | struct proto *prot; |
prot | 569 | net/ipv4/af_inet.c | prot = &tcp_prot; |
prot | 580 | net/ipv4/af_inet.c | prot=&udp_prot; |
prot | 594 | net/ipv4/af_inet.c | prot = &raw_prot; |
prot | 610 | net/ipv4/af_inet.c | prot = &packet_prot; |
prot | 711 | net/ipv4/af_inet.c | sk->prot = prot; |
prot | 745 | net/ipv4/af_inet.c | if (sk->prot->init) |
prot | 747 | net/ipv4/af_inet.c | err = sk->prot->init(sk); |
prot | 813 | net/ipv4/af_inet.c | sk->prot->close(sk,0); |
prot | 818 | net/ipv4/af_inet.c | sk->prot->close(sk, 0); |
prot | 880 | net/ipv4/af_inet.c | snum = get_new_socknum(sk->prot, 0); |
prot | 896 | net/ipv4/af_inet.c | for(sk2 = sk->prot->sock_array[snum & (SOCK_ARRAY_SIZE -1)]; |
prot | 984 | net/ipv4/af_inet.c | if (sk->prot->connect == NULL) |
prot | 986 | net/ipv4/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
prot | 1069 | net/ipv4/af_inet.c | if (sk1->prot->accept == NULL) |
prot | 1080 | net/ipv4/af_inet.c | sk2 = sk1->prot->accept(sk1,flags); |
prot | 1166 | net/ipv4/af_inet.c | if (sk->prot->recvfrom == NULL) |
prot | 1173 | net/ipv4/af_inet.c | return(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags, |
prot | 1194 | net/ipv4/af_inet.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, 0)); |
prot | 1211 | net/ipv4/af_inet.c | return(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, flags)); |
prot | 1228 | net/ipv4/af_inet.c | if (sk->prot->sendto == NULL) |
prot | 1235 | net/ipv4/af_inet.c | return(sk->prot->sendto(sk, (unsigned char *) ubuf, size, noblock, flags, |
prot | 1258 | net/ipv4/af_inet.c | if (sk->prot->shutdown) |
prot | 1259 | net/ipv4/af_inet.c | sk->prot->shutdown(sk, how); |
prot | 1267 | net/ipv4/af_inet.c | if (sk->prot->select == NULL) |
prot | 1271 | net/ipv4/af_inet.c | return(sk->prot->select(sk, sel_type, wait)); |
prot | 1365 | net/ipv4/af_inet.c | if (sk->prot->ioctl==NULL) |
prot | 1367 | net/ipv4/af_inet.c | return(sk->prot->ioctl(sk, cmd, arg)); |
prot | 1382 | net/ipv4/af_inet.c | struct sock *get_sock(struct proto *prot, unsigned short num, |
prot | 1402 | net/ipv4/af_inet.c | for(s = prot->sock_array[hnum & (SOCK_ARRAY_SIZE - 1)]; |
prot | 190 | net/ipv4/packet.c | skb = sk->prot->wmalloc(sk, len, 0, GFP_KERNEL); |
prot | 127 | net/ipv4/protocol.c | inet_get_protocol(unsigned char prot) |
prot | 132 | net/ipv4/protocol.c | hash = prot & (MAX_INET_PROTOS - 1); |
prot | 134 | net/ipv4/protocol.c | if (p->protocol == prot) return((struct inet_protocol *) p); |
prot | 141 | net/ipv4/protocol.c | inet_add_protocol(struct inet_protocol *prot) |
prot | 146 | net/ipv4/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
prot | 147 | net/ipv4/protocol.c | prot ->next = inet_protos[hash]; |
prot | 148 | net/ipv4/protocol.c | inet_protos[hash] = prot; |
prot | 149 | net/ipv4/protocol.c | prot->copy = 0; |
prot | 152 | net/ipv4/protocol.c | p2 = (struct inet_protocol *) prot->next; |
prot | 154 | net/ipv4/protocol.c | if (p2->protocol == prot->protocol) { |
prot | 155 | net/ipv4/protocol.c | prot->copy = 1; |
prot | 158 | net/ipv4/protocol.c | p2 = (struct inet_protocol *) prot->next; |
prot | 164 | net/ipv4/protocol.c | inet_del_protocol(struct inet_protocol *prot) |
prot | 170 | net/ipv4/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
prot | 171 | net/ipv4/protocol.c | if (prot == inet_protos[hash]) { |
prot | 183 | net/ipv4/protocol.c | if (p->next != NULL && p->next == prot) { |
prot | 189 | net/ipv4/protocol.c | p->next = prot->next; |
prot | 193 | net/ipv4/protocol.c | if (p->next != NULL && p->next->protocol == prot->protocol) { |
prot | 344 | net/ipv4/tcp.c | int new_window = sk->prot->rspace(sk); |
prot | 444 | net/ipv4/tcp.c | struct proto *prot; |
prot | 449 | net/ipv4/tcp.c | prot = sk->prot; |
prot | 565 | net/ipv4/tcp.c | sk->prot->retransmits ++; |
prot | 633 | net/ipv4/tcp.c | sk->prot->retransmits++; |
prot | 765 | net/ipv4/tcp.c | sk->prot->read_wakeup (sk); |
prot | 811 | net/ipv4/tcp.c | sk->prot->retransmit (sk, 0); |
prot | 825 | net/ipv4/tcp.c | if (sk->prot->write_wakeup) |
prot | 826 | net/ipv4/tcp.c | sk->prot->write_wakeup (sk); |
prot | 828 | net/ipv4/tcp.c | sk->prot->retransmits++; |
prot | 1042 | net/ipv4/tcp.c | if (sk->prot->wspace(sk) < sk->mtu+128+sk->prot->max_header) |
prot | 1095 | net/ipv4/tcp.c | amount = sk->prot->wspace(sk); |
prot | 1235 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, skb->dev, skb, 0); |
prot | 1336 | net/ipv4/tcp.c | buff = sk->prot->wmalloc(sk, MAX_ACK_SIZE, 1, GFP_ATOMIC); |
prot | 1365 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
prot | 1370 | net/ipv4/tcp.c | sk->prot->wfree(sk, buff); |
prot | 1427 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 1467 | net/ipv4/tcp.c | struct proto *prot; |
prot | 1471 | net/ipv4/tcp.c | prot = sk->prot; |
prot | 1643 | net/ipv4/tcp.c | skb = prot->wmalloc(sk, sk->mtu + 128 + prot->max_header + 15, 0, GFP_KERNEL); |
prot | 1653 | net/ipv4/tcp.c | skb = prot->wmalloc(sk, copy + prot->max_header + 15 , 0, GFP_KERNEL); |
prot | 1710 | net/ipv4/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
prot | 1714 | net/ipv4/tcp.c | prot->wfree(sk, skb); |
prot | 1725 | net/ipv4/tcp.c | prot->wfree(sk, skb); |
prot | 1833 | net/ipv4/tcp.c | buff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
prot | 1848 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 1853 | net/ipv4/tcp.c | sk->prot->wfree(sk, buff); |
prot | 1875 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 1900 | net/ipv4/tcp.c | left = sk->prot->rspace(sk); |
prot | 1926 | net/ipv4/tcp.c | printk("sk->rspace = %lu, was %lu\n", sk->prot->rspace(sk), |
prot | 1928 | net/ipv4/tcp.c | if ((rspace=sk->prot->rspace(sk)) != left) |
prot | 2322 | net/ipv4/tcp.c | struct proto *prot =(struct proto *)sk->prot; |
prot | 2331 | net/ipv4/tcp.c | buff = prot->wmalloc(sk, MAX_RESET_SIZE,1 , GFP_KERNEL); |
prot | 2352 | net/ipv4/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
prot | 2364 | net/ipv4/tcp.c | prot->wfree(sk,buff); |
prot | 2411 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 2508 | net/ipv4/tcp.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
prot | 2527 | net/ipv4/tcp.c | buff = prot->wmalloc(NULL, MAX_RESET_SIZE, 1, GFP_ATOMIC); |
prot | 2539 | net/ipv4/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
prot | 2544 | net/ipv4/tcp.c | prot->wfree(NULL, buff); |
prot | 2582 | net/ipv4/tcp.c | prot->queue_xmit(NULL, ndev, buff, 1); |
prot | 2707 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
prot | 2866 | net/ipv4/tcp.c | buff = newsk->prot->wmalloc(newsk, MAX_SYN_SIZE, 1, GFP_ATOMIC); |
prot | 2886 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
prot | 2936 | net/ipv4/tcp.c | newsk->prot->queue_xmit(newsk, ndev, buff, 0); |
prot | 3100 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, skb->dev, skb, skb->free); |
prot | 3879 | net/ipv4/tcp.c | sk->prot, NULL, skb->dev, sk->ip_tos, sk->ip_ttl); |
prot | 4081 | net/ipv4/tcp.c | while (sk->prot->rspace(sk) < sk->mtu) |
prot | 4309 | net/ipv4/tcp.c | buff = sk->prot->wmalloc(sk,MAX_SYN_SIZE,0, GFP_KERNEL); |
prot | 4331 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 4335 | net/ipv4/tcp.c | sk->prot->wfree(sk, buff); |
prot | 4414 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 4468 | net/ipv4/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
prot | 4628 | net/ipv4/tcp.c | if (!sk->prot) |
prot | 4666 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
prot | 4726 | net/ipv4/tcp.c | sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
prot | 4872 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
prot | 4974 | net/ipv4/tcp.c | buff = sk->prot->wmalloc(sk, win_size + th->doff * 4 + |
prot | 4995 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 5000 | net/ipv4/tcp.c | sk->prot->wfree(sk, buff); |
prot | 5083 | net/ipv4/tcp.c | buff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
prot | 5095 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 5099 | net/ipv4/tcp.c | sk->prot->wfree(sk, buff); |
prot | 5131 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 5150 | net/ipv4/tcp.c | sk->prot->retransmits ++; |
prot | 111 | net/ipv4/timer.c | sk->prot->read_wakeup (sk); |
prot | 364 | net/ipv4/udp.c | amount = sk->prot->wspace(sk)/*/2*/; |
prot | 1391 | net/ipx/af_ipx.c | sk->prot=NULL; /* So we use default free mechanisms */ |
prot | 425 | net/netrom/af_netrom.c | sk->prot = NULL; /* So we use default free mechanisms */ |
prot | 529 | net/netrom/af_netrom.c | sk->prot = NULL; /* So we use default free mechanisms */ |