tag | line | file | source code |
prot | 169 | arch/alpha/kernel/osf_sys.c | unsigned long prot, unsigned long flags, unsigned long fd, |
prot | 180 | 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 | 62 | arch/sparc/kernel/sys_sunos.c | unsigned long prot, unsigned long flags, |
prot | 92 | arch/sparc/kernel/sys_sunos.c | retval = do_mmap(file, addr, len, prot, flags, off); |
prot | 73 | drivers/char/ftape/kernel-interface.c | static int ftape_mmap(int dev, unsigned off, int prot); |
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 | 179 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, pgprot_t prot); |
prot | 180 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, pgprot_t prot); |
prot | 202 | include/linux/mm.h | unsigned long prot, unsigned long flags, unsigned long off); |
prot | 51 | include/net/protocol.h | extern void inet_add_protocol(struct inet_protocol *prot); |
prot | 52 | include/net/protocol.h | extern int inet_del_protocol(struct inet_protocol *prot); |
prot | 198 | include/net/sock.h | struct proto *prot; |
prot | 147 | include/net/tcp.h | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl); |
prot | 421 | mm/memory.c | int zeromap_page_range(unsigned long address, unsigned long size, pgprot_t prot) |
prot | 429 | mm/memory.c | zero_pte = pte_wrprotect(mk_pte(ZERO_PAGE, prot)); |
prot | 452 | mm/memory.c | unsigned long offset, pgprot_t prot) |
prot | 464 | mm/memory.c | set_pte(pte, mk_pte(offset, prot)); |
prot | 473 | mm/memory.c | unsigned long offset, pgprot_t prot) |
prot | 486 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
prot | 493 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
prot | 507 | 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 | 1150 | net/appletalk/ddp.c | sk->prot=NULL; /* So we use default free mechanisms */ |
prot | 988 | net/ax25/af_ax25.c | sk->prot = NULL; /* So we use default free mechanisms */ |
prot | 1060 | net/ax25/af_ax25.c | sk->prot = NULL; /* So we use default free mechanisms */ |
prot | 213 | net/core/datagram.c | if (sk->prot && sock_wspace(sk) >= MIN_WRITE_SPACE) |
prot | 217 | net/core/datagram.c | if (sk->prot==NULL && sk->sndbuf-sk->wmem_alloc >= MIN_WRITE_SPACE) |
prot | 485 | net/core/skbuff.c | if(skb->sk->prot!=NULL) |
prot | 544 | net/core/sock.c | if (!sk->prot || !sk->prot->rcv) |
prot | 552 | net/core/sock.c | sk->prot->rcv(skb, skb->dev, (struct options*)skb->proto_priv, |
prot | 115 | net/ipv4/af_inet.c | static int sk_inuse(struct proto *prot, int num) |
prot | 119 | net/ipv4/af_inet.c | for(sk = prot->sock_array[num & (SOCK_ARRAY_SIZE -1 )]; |
prot | 133 | net/ipv4/af_inet.c | unsigned short get_new_socknum(struct proto *prot, unsigned short base) |
prot | 161 | net/ipv4/af_inet.c | sk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)]; |
prot | 181 | net/ipv4/af_inet.c | while(sk_inuse(prot, base +best+1)) |
prot | 212 | net/ipv4/af_inet.c | sk->prot->inuse += 1; |
prot | 213 | net/ipv4/af_inet.c | if (sk->prot->highestinuse < sk->prot->inuse) |
prot | 214 | net/ipv4/af_inet.c | sk->prot->highestinuse = sk->prot->inuse; |
prot | 216 | net/ipv4/af_inet.c | if (sk->prot->sock_array[num] == NULL) |
prot | 218 | net/ipv4/af_inet.c | sk->prot->sock_array[num] = sk; |
prot | 237 | net/ipv4/af_inet.c | skp = sk->prot->sock_array + num; |
prot | 261 | net/ipv4/af_inet.c | if (!sk1->prot) |
prot | 271 | net/ipv4/af_inet.c | p=&(sk1->prot->sock_array[sk1->num & (SOCK_ARRAY_SIZE -1)]); |
prot | 277 | net/ipv4/af_inet.c | sk1->prot->inuse--; |
prot | 338 | net/ipv4/af_inet.c | skb->sk->prot->close(skb->sk, 0); |
prot | 387 | net/ipv4/af_inet.c | sk->pair->prot->close(sk->pair, 0); |
prot | 462 | net/ipv4/af_inet.c | if (sk->prot->setsockopt==NULL) |
prot | 465 | net/ipv4/af_inet.c | return sk->prot->setsockopt(sk,level,optname,optval,optlen); |
prot | 478 | net/ipv4/af_inet.c | if(sk->prot->getsockopt==NULL) |
prot | 481 | net/ipv4/af_inet.c | return sk->prot->getsockopt(sk,level,optname,optval,optlen); |
prot | 493 | net/ipv4/af_inet.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 574 | net/ipv4/af_inet.c | struct proto *prot; |
prot | 595 | net/ipv4/af_inet.c | prot = &tcp_prot; |
prot | 606 | net/ipv4/af_inet.c | prot=&udp_prot; |
prot | 620 | net/ipv4/af_inet.c | prot = &raw_prot; |
prot | 636 | net/ipv4/af_inet.c | prot = &packet_prot; |
prot | 667 | net/ipv4/af_inet.c | sk->prot = prot; |
prot | 712 | net/ipv4/af_inet.c | if (sk->prot->init) |
prot | 714 | net/ipv4/af_inet.c | err = sk->prot->init(sk); |
prot | 776 | net/ipv4/af_inet.c | sk->prot->close(sk, timeout); |
prot | 793 | net/ipv4/af_inet.c | if(sk->prot->bind) |
prot | 794 | net/ipv4/af_inet.c | return sk->prot->bind(sk,uaddr, addr_len); |
prot | 818 | net/ipv4/af_inet.c | snum = get_new_socknum(sk->prot, 0); |
prot | 847 | net/ipv4/af_inet.c | for(sk2 = sk->prot->sock_array[snum & (SOCK_ARRAY_SIZE -1)]; |
prot | 946 | net/ipv4/af_inet.c | if (sk->prot->connect == NULL) |
prot | 948 | net/ipv4/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
prot | 1023 | net/ipv4/af_inet.c | if (sk1->prot->accept == NULL) |
prot | 1037 | net/ipv4/af_inet.c | sk2 = sk1->prot->accept(sk1,flags); |
prot | 1119 | net/ipv4/af_inet.c | if (sk->prot->recvmsg == NULL) |
prot | 1126 | net/ipv4/af_inet.c | return(sk->prot->recvmsg(sk, ubuf, size, noblock, flags,addr_len)); |
prot | 1139 | net/ipv4/af_inet.c | if (sk->prot->sendmsg == NULL) |
prot | 1146 | net/ipv4/af_inet.c | return(sk->prot->sendmsg(sk, msg, size, noblock, flags)); |
prot | 1169 | net/ipv4/af_inet.c | if (sk->prot->shutdown) |
prot | 1170 | net/ipv4/af_inet.c | sk->prot->shutdown(sk, how); |
prot | 1178 | net/ipv4/af_inet.c | if (sk->prot->select == NULL) |
prot | 1182 | net/ipv4/af_inet.c | return(sk->prot->select(sk, sel_type, wait)); |
prot | 1281 | net/ipv4/af_inet.c | if (sk->prot->ioctl==NULL) |
prot | 1283 | net/ipv4/af_inet.c | return(sk->prot->ioctl(sk, cmd, arg)); |
prot | 1298 | net/ipv4/af_inet.c | struct sock *get_sock(struct proto *prot, unsigned short num, |
prot | 1318 | 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 | 732 | net/ipv4/tcp.c | if (sock_wspace(sk) < sk->mtu+128+sk->prot->max_header) |
prot | 901 | net/ipv4/tcp.c | struct proto *prot; |
prot | 913 | net/ipv4/tcp.c | prot = sk->prot; |
prot | 1053 | net/ipv4/tcp.c | skb = sock_wmalloc(sk, sk->mtu + 128 + prot->max_header + 15, 0, GFP_KERNEL); |
prot | 1058 | net/ipv4/tcp.c | skb = sock_wmalloc(sk, copy + prot->max_header + 15 , 0, GFP_KERNEL); |
prot | 1095 | net/ipv4/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
prot | 1252 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 1274 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 1965 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 2055 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 172 | net/ipv4/tcp_input.c | tcp_send_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
prot | 333 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
prot | 1353 | net/ipv4/tcp_input.c | sk->prot, NULL, skb->dev, sk->ip_tos, sk->ip_ttl); |
prot | 1575 | net/ipv4/tcp_input.c | if (!sk->prot) |
prot | 1610 | net/ipv4/tcp_input.c | tcp_send_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
prot | 1674 | net/ipv4/tcp_input.c | sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
prot | 1686 | net/ipv4/tcp_input.c | sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
prot | 1826 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
prot | 123 | net/ipv4/tcp_output.c | sk->prot->queue_xmit(sk, skb->dev, skb, 0); |
prot | 292 | net/ipv4/tcp_output.c | sk->prot->queue_xmit(sk, skb->dev, skb, skb->free); |
prot | 316 | net/ipv4/tcp_output.c | struct proto *prot; |
prot | 321 | net/ipv4/tcp_output.c | prot = sk->prot; |
prot | 468 | net/ipv4/tcp_output.c | sk->prot->retransmits++; |
prot | 494 | net/ipv4/tcp_output.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
prot | 526 | net/ipv4/tcp_output.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
prot | 561 | net/ipv4/tcp_output.c | prot->queue_xmit(NULL, ndev, buff, 1); |
prot | 571 | net/ipv4/tcp_output.c | struct proto *prot =(struct proto *)sk->prot; |
prot | 599 | net/ipv4/tcp_output.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
prot | 656 | net/ipv4/tcp_output.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 687 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
prot | 733 | net/ipv4/tcp_output.c | newsk->prot->queue_xmit(newsk, ndev, buff, 0); |
prot | 800 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
prot | 849 | net/ipv4/tcp_output.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 919 | net/ipv4/tcp_output.c | sk->prot->max_header + 15, |
prot | 938 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 1004 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 1032 | net/ipv4/tcp_output.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 1050 | net/ipv4/tcp_output.c | sk->prot->retransmits ++; |
prot | 209 | net/ipv4/tcp_timer.c | sk->prot->retransmit (sk, 0); |
prot | 274 | net/ipv4/tcp_timer.c | if (sk->prot->write_wakeup) |
prot | 275 | net/ipv4/tcp_timer.c | sk->prot->write_wakeup (sk); |
prot | 277 | net/ipv4/tcp_timer.c | sk->prot->retransmits++; |
prot | 107 | net/ipv4/timer.c | sk->prot->read_wakeup (sk); |
prot | 1615 | net/ipx/af_ipx.c | sk->prot=NULL; /* So we use default free mechanisms */ |
prot | 446 | net/netrom/af_netrom.c | sk->prot = NULL; /* So we use default free mechanisms */ |
prot | 547 | net/netrom/af_netrom.c | sk->prot = NULL; /* So we use default free mechanisms */ |
prot | 324 | net/unix/af_unix.c | sk->prot=NULL; |