tag | line | file | source code |
prot | 158 | arch/alpha/kernel/osf_sys.c | unsigned long prot, unsigned long flags, unsigned long fd, |
prot | 169 | arch/alpha/kernel/osf_sys.c | return do_mmap(file, addr, len, prot, flags, off); |
prot | 39 | arch/mips/kernel/syscall.c | asmlinkage unsigned long sys_mmap(unsigned long addr, size_t len, int prot, |
prot | 50 | arch/mips/kernel/syscall.c | return do_mmap(file, addr, len, prot, flags, offset); |
prot | 65 | arch/sparc/kernel/sys_sunos.c | unsigned long prot, unsigned long flags, |
prot | 95 | arch/sparc/kernel/sys_sunos.c | retval = do_mmap(file, addr, len, prot, flags, off); |
prot | 477 | drivers/net/de600.c | (skb->sk->prot->rspace != &de600_rspace)) |
prot | 478 | drivers/net/de600.c | skb->sk->prot->rspace = de600_rspace; /* Ugh! */ |
prot | 1587 | fs/smbfs/proc.c | enum smb_protocol prot; |
prot | 1708 | fs/smbfs/proc.c | server->protocol = prots[i].prot; |
prot | 190 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, pgprot_t prot); |
prot | 191 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, pgprot_t prot); |
prot | 213 | include/linux/mm.h | unsigned long prot, unsigned long flags, unsigned long off); |
prot | 52 | include/net/protocol.h | extern void inet_add_protocol(struct inet_protocol *prot); |
prot | 53 | include/net/protocol.h | extern int inet_del_protocol(struct inet_protocol *prot); |
prot | 145 | include/net/sock.h | struct proto *prot; |
prot | 430 | mm/memory.c | int zeromap_page_range(unsigned long address, unsigned long size, pgprot_t prot) |
prot | 437 | mm/memory.c | zero_pte = pte_wrprotect(mk_pte(ZERO_PAGE, prot)); |
prot | 460 | mm/memory.c | unsigned long offset, pgprot_t prot) |
prot | 472 | mm/memory.c | set_pte(pte, mk_pte(offset, prot)); |
prot | 481 | mm/memory.c | unsigned long offset, pgprot_t prot) |
prot | 494 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
prot | 501 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
prot | 514 | mm/memory.c | error = remap_pmd_range(pmd, from, end - from, offset + from, prot); |
prot | 54 | mm/mmap.c | unsigned long prot, unsigned long flags, unsigned long off) |
prot | 86 | mm/mmap.c | if ((prot & PROT_WRITE) && !(file->f_mode & 2)) |
prot | 136 | mm/mmap.c | vma->vm_flags = prot & (VM_READ | VM_WRITE | VM_EXEC); |
prot | 88 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 91 | mm/mprotect.c | vma->vm_page_prot = prot; |
prot | 97 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 109 | mm/mprotect.c | n->vm_page_prot = prot; |
prot | 120 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 132 | mm/mprotect.c | n->vm_page_prot = prot; |
prot | 143 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 164 | mm/mprotect.c | vma->vm_page_prot = prot; |
prot | 202 | mm/mprotect.c | asmlinkage int sys_mprotect(unsigned long start, size_t len, unsigned long prot) |
prot | 214 | mm/mprotect.c | if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC)) |
prot | 227 | mm/mprotect.c | newflags = prot | (vma->vm_flags & ~(PROT_READ | PROT_WRITE | PROT_EXEC)); |
prot | 1104 | net/appletalk/ddp.c | sk->prot=NULL; /* So we use default free mechanisms */ |
prot | 922 | net/ax25/af_ax25.c | sk->prot = NULL; /* So we use default free mechanisms */ |
prot | 995 | net/ax25/af_ax25.c | sk->prot = NULL; /* So we use default free mechanisms */ |
prot | 218 | net/core/datagram.c | if (sk->prot && sock_wspace(sk) >= MIN_WRITE_SPACE) |
prot | 222 | net/core/datagram.c | if (sk->prot==NULL && sk->sndbuf-sk->wmem_alloc >= MIN_WRITE_SPACE) |
prot | 469 | net/core/skbuff.c | if(skb->sk->prot!=NULL) |
prot | 538 | net/core/sock.c | if (!sk->prot) |
prot | 562 | net/core/sock.c | if (sk->prot->rcv) |
prot | 563 | net/core/sock.c | sk->prot->rcv(skb, skb->dev, (struct options*)skb->proto_priv, |
prot | 110 | net/ipv4/af_inet.c | static int sk_inuse(struct proto *prot, int num) |
prot | 114 | net/ipv4/af_inet.c | for(sk = prot->sock_array[num & (SOCK_ARRAY_SIZE -1 )]; |
prot | 128 | net/ipv4/af_inet.c | unsigned short get_new_socknum(struct proto *prot, unsigned short base) |
prot | 156 | net/ipv4/af_inet.c | sk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)]; |
prot | 176 | net/ipv4/af_inet.c | while(sk_inuse(prot, base +best+1)) |
prot | 207 | net/ipv4/af_inet.c | sk->prot->inuse += 1; |
prot | 208 | net/ipv4/af_inet.c | if (sk->prot->highestinuse < sk->prot->inuse) |
prot | 209 | net/ipv4/af_inet.c | sk->prot->highestinuse = sk->prot->inuse; |
prot | 211 | net/ipv4/af_inet.c | if (sk->prot->sock_array[num] == NULL) |
prot | 213 | net/ipv4/af_inet.c | sk->prot->sock_array[num] = sk; |
prot | 232 | net/ipv4/af_inet.c | skp = sk->prot->sock_array + num; |
prot | 256 | net/ipv4/af_inet.c | if (!sk1->prot) |
prot | 266 | net/ipv4/af_inet.c | p=&(sk1->prot->sock_array[sk1->num & (SOCK_ARRAY_SIZE -1)]); |
prot | 272 | net/ipv4/af_inet.c | sk1->prot->inuse--; |
prot | 344 | net/ipv4/af_inet.c | skb->sk->prot->close(skb->sk, 0); |
prot | 394 | net/ipv4/af_inet.c | sk->pair->prot->close(sk->pair, 0); |
prot | 468 | net/ipv4/af_inet.c | if (sk->prot->setsockopt==NULL) |
prot | 471 | net/ipv4/af_inet.c | return sk->prot->setsockopt(sk,level,optname,optval,optlen); |
prot | 484 | net/ipv4/af_inet.c | if(sk->prot->getsockopt==NULL) |
prot | 487 | net/ipv4/af_inet.c | return sk->prot->getsockopt(sk,level,optname,optval,optlen); |
prot | 499 | net/ipv4/af_inet.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 580 | net/ipv4/af_inet.c | struct proto *prot; |
prot | 600 | net/ipv4/af_inet.c | prot = &tcp_prot; |
prot | 611 | net/ipv4/af_inet.c | prot=&udp_prot; |
prot | 625 | net/ipv4/af_inet.c | prot = &raw_prot; |
prot | 641 | net/ipv4/af_inet.c | prot = &packet_prot; |
prot | 672 | net/ipv4/af_inet.c | sk->prot = prot; |
prot | 710 | net/ipv4/af_inet.c | if (sk->prot->init) |
prot | 712 | net/ipv4/af_inet.c | err = sk->prot->init(sk); |
prot | 779 | net/ipv4/af_inet.c | sk->prot->close(sk,0); |
prot | 784 | net/ipv4/af_inet.c | sk->prot->close(sk, 0); |
prot | 834 | net/ipv4/af_inet.c | if(sk->prot->bind) |
prot | 835 | net/ipv4/af_inet.c | return sk->prot->bind(sk,uaddr, addr_len); |
prot | 859 | net/ipv4/af_inet.c | snum = get_new_socknum(sk->prot, 0); |
prot | 888 | net/ipv4/af_inet.c | for(sk2 = sk->prot->sock_array[snum & (SOCK_ARRAY_SIZE -1)]; |
prot | 957 | net/ipv4/af_inet.c | if (sk->prot->connect == NULL) |
prot | 959 | net/ipv4/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
prot | 1035 | net/ipv4/af_inet.c | if (sk1->prot->accept == NULL) |
prot | 1049 | net/ipv4/af_inet.c | sk2 = sk1->prot->accept(sk1,flags); |
prot | 1132 | net/ipv4/af_inet.c | if (sk->prot->recvmsg == NULL) |
prot | 1139 | net/ipv4/af_inet.c | return(sk->prot->recvmsg(sk, ubuf, size, noblock, flags,addr_len)); |
prot | 1152 | net/ipv4/af_inet.c | if (sk->prot->sendmsg == NULL) |
prot | 1159 | net/ipv4/af_inet.c | return(sk->prot->sendmsg(sk, msg, size, noblock, flags)); |
prot | 1182 | net/ipv4/af_inet.c | if (sk->prot->shutdown) |
prot | 1183 | net/ipv4/af_inet.c | sk->prot->shutdown(sk, how); |
prot | 1191 | net/ipv4/af_inet.c | if (sk->prot->select == NULL) |
prot | 1195 | net/ipv4/af_inet.c | return(sk->prot->select(sk, sel_type, wait)); |
prot | 1290 | net/ipv4/af_inet.c | if (sk->prot->ioctl==NULL) |
prot | 1292 | net/ipv4/af_inet.c | return(sk->prot->ioctl(sk, cmd, arg)); |
prot | 1307 | net/ipv4/af_inet.c | struct sock *get_sock(struct proto *prot, unsigned short num, |
prot | 1327 | net/ipv4/af_inet.c | for(s = prot->sock_array[hnum & (SOCK_ARRAY_SIZE - 1)]; |
prot | 134 | net/ipv4/protocol.c | struct inet_protocol *inet_get_protocol(unsigned char prot) |
prot | 139 | net/ipv4/protocol.c | hash = prot & (MAX_INET_PROTOS - 1); |
prot | 142 | net/ipv4/protocol.c | if (p->protocol == prot) |
prot | 152 | net/ipv4/protocol.c | void inet_add_protocol(struct inet_protocol *prot) |
prot | 157 | net/ipv4/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
prot | 158 | net/ipv4/protocol.c | prot ->next = inet_protos[hash]; |
prot | 159 | net/ipv4/protocol.c | inet_protos[hash] = prot; |
prot | 160 | net/ipv4/protocol.c | prot->copy = 0; |
prot | 166 | net/ipv4/protocol.c | p2 = (struct inet_protocol *) prot->next; |
prot | 169 | net/ipv4/protocol.c | if (p2->protocol == prot->protocol) |
prot | 171 | net/ipv4/protocol.c | prot->copy = 1; |
prot | 182 | net/ipv4/protocol.c | int inet_del_protocol(struct inet_protocol *prot) |
prot | 188 | net/ipv4/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
prot | 189 | net/ipv4/protocol.c | if (prot == inet_protos[hash]) |
prot | 203 | net/ipv4/protocol.c | if (p->next != NULL && p->next == prot) |
prot | 211 | net/ipv4/protocol.c | p->next = prot->next; |
prot | 214 | net/ipv4/protocol.c | if (p->next != NULL && p->next->protocol == prot->protocol) |
prot | 635 | net/ipv4/tcp.c | struct proto *prot; |
prot | 640 | net/ipv4/tcp.c | prot = sk->prot; |
prot | 772 | net/ipv4/tcp.c | sk->prot->retransmits ++; |
prot | 840 | net/ipv4/tcp.c | sk->prot->retransmits++; |
prot | 984 | net/ipv4/tcp.c | sk->prot->read_wakeup (sk); |
prot | 1031 | net/ipv4/tcp.c | sk->prot->retransmits++; |
prot | 1032 | net/ipv4/tcp.c | sk->prot->retransmit (sk, 0); |
prot | 1046 | net/ipv4/tcp.c | if (sk->prot->write_wakeup) |
prot | 1047 | net/ipv4/tcp.c | sk->prot->write_wakeup (sk); |
prot | 1049 | net/ipv4/tcp.c | sk->prot->retransmits++; |
prot | 1288 | net/ipv4/tcp.c | if (sock_wspace(sk) < sk->mtu+128+sk->prot->max_header) |
prot | 1482 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, skb->dev, skb, 0); |
prot | 1612 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
prot | 1674 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 1716 | net/ipv4/tcp.c | struct proto *prot; |
prot | 1750 | net/ipv4/tcp.c | prot = sk->prot; |
prot | 1931 | net/ipv4/tcp.c | skb = sock_wmalloc(sk, sk->mtu + 128 + prot->max_header + 15, 0, GFP_KERNEL); |
prot | 1941 | net/ipv4/tcp.c | skb = sock_wmalloc(sk, copy + prot->max_header + 15 , 0, GFP_KERNEL); |
prot | 1998 | net/ipv4/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
prot | 2117 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 2144 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 2608 | net/ipv4/tcp.c | struct proto *prot =(struct proto *)sk->prot; |
prot | 2638 | net/ipv4/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
prot | 2698 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 2764 | net/ipv4/tcp.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
prot | 2795 | net/ipv4/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
prot | 2838 | net/ipv4/tcp.c | prot->queue_xmit(NULL, ndev, buff, 1); |
prot | 2963 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
prot | 3167 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
prot | 3218 | net/ipv4/tcp.c | newsk->prot->queue_xmit(newsk, ndev, buff, 0); |
prot | 3389 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, skb->dev, skb, skb->free); |
prot | 4176 | net/ipv4/tcp.c | sk->prot, NULL, skb->dev, sk->ip_tos, sk->ip_ttl); |
prot | 4621 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 4716 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 4773 | net/ipv4/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
prot | 4942 | net/ipv4/tcp.c | if (!sk->prot) |
prot | 4973 | net/ipv4/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
prot | 5033 | net/ipv4/tcp.c | sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
prot | 5179 | net/ipv4/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
prot | 5299 | net/ipv4/tcp.c | sk->prot->max_header + 15, |
prot | 5318 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 5388 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 5424 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 5442 | net/ipv4/tcp.c | sk->prot->retransmits ++; |
prot | 111 | net/ipv4/timer.c | sk->prot->read_wakeup (sk); |
prot | 1487 | net/ipx/af_ipx.c | sk->prot=NULL; /* So we use default free mechanisms */ |
prot | 457 | net/netrom/af_netrom.c | sk->prot = NULL; /* So we use default free mechanisms */ |
prot | 558 | net/netrom/af_netrom.c | sk->prot = NULL; /* So we use default free mechanisms */ |
prot | 318 | net/unix/af_unix.c | sk->prot=NULL; |