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 | 546 | arch/m68k/mm/memory.c | int prot; |
prot | 558 | arch/m68k/mm/memory.c | prot = _PAGE_PRESENT | _PAGE_GLOBAL040; |
prot | 561 | arch/m68k/mm/memory.c | prot |= _PAGE_CACHE040; |
prot | 565 | arch/m68k/mm/memory.c | prot |= _PAGE_NOCACHE_S; |
prot | 568 | arch/m68k/mm/memory.c | prot |= _PAGE_NOCACHE; |
prot | 571 | arch/m68k/mm/memory.c | prot |= _PAGE_CACHE040W; |
prot | 576 | arch/m68k/mm/memory.c | prot = _PAGE_PRESENT | |
prot | 637 | arch/m68k/mm/memory.c | pte_val(*ktablep++) = physaddr | prot; |
prot | 653 | arch/m68k/mm/memory.c | ((unsigned long *)kpointerp)[pindex++] = physaddr | prot; |
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 | 188 | arch/sparc/kernel/sys_sparc.c | unsigned long prot, unsigned long flags, unsigned long fd, |
prot | 205 | arch/sparc/kernel/sys_sparc.c | retval = do_mmap(file, addr, len, prot, flags, off); |
prot | 73 | arch/sparc/kernel/sys_sunos.c | unsigned long prot, unsigned long flags, |
prot | 103 | arch/sparc/kernel/sys_sunos.c | retval = do_mmap(file, addr, len, prot, flags, off); |
prot | 38 | arch/sparc/mm/generic.c | unsigned long offset, pgprot_t prot, int space) |
prot | 49 | arch/sparc/mm/generic.c | set_pte(pte, mk_pte_io(offset, prot, space)); |
prot | 58 | arch/sparc/mm/generic.c | unsigned long offset, pgprot_t prot, int space) |
prot | 71 | arch/sparc/mm/generic.c | io_remap_pte_range(pte, address, end - address, address + offset, prot, space); |
prot | 78 | arch/sparc/mm/generic.c | int io_remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot, int space) |
prot | 85 | arch/sparc/mm/generic.c | pgprot_val(prot) = pg_iobits; |
prot | 94 | arch/sparc/mm/generic.c | error = io_remap_pmd_range(pmd, from, end - from, offset + from, prot, space); |
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 | 21 | include/asm-sparc/pgtable.h | unsigned long size, pgprot_t prot, int space); |
prot | 262 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, pgprot_t prot); |
prot | 263 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, pgprot_t prot); |
prot | 285 | 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 | 206 | include/net/sock.h | struct proto *prot; |
prot | 161 | include/net/tcp.h | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl); |
prot | 423 | mm/memory.c | int zeromap_page_range(unsigned long address, unsigned long size, pgprot_t prot) |
prot | 431 | mm/memory.c | zero_pte = pte_wrprotect(mk_pte(ZERO_PAGE, prot)); |
prot | 455 | mm/memory.c | unsigned long offset, pgprot_t prot) |
prot | 467 | mm/memory.c | set_pte(pte, mk_pte(offset, prot)); |
prot | 476 | mm/memory.c | unsigned long offset, pgprot_t prot) |
prot | 489 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
prot | 496 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
prot | 511 | mm/memory.c | error = remap_pmd_range(pmd, from, end - from, offset + from, prot); |
prot | 43 | mm/mmap.c | unsigned long prot, unsigned long flags, unsigned long off) |
prot | 74 | mm/mmap.c | if ((prot & PROT_WRITE) && !(file->f_mode & 2)) |
prot | 129 | mm/mmap.c | vma->vm_flags = prot & (VM_READ | VM_WRITE | VM_EXEC); |
prot | 89 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 92 | mm/mprotect.c | vma->vm_page_prot = prot; |
prot | 98 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 110 | mm/mprotect.c | n->vm_page_prot = prot; |
prot | 121 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 133 | mm/mprotect.c | n->vm_page_prot = prot; |
prot | 144 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 165 | mm/mprotect.c | vma->vm_page_prot = prot; |
prot | 203 | mm/mprotect.c | asmlinkage int sys_mprotect(unsigned long start, size_t len, unsigned long prot) |
prot | 215 | mm/mprotect.c | if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC)) |
prot | 228 | mm/mprotect.c | newflags = prot | (vma->vm_flags & ~(PROT_READ | PROT_WRITE | PROT_EXEC)); |
prot | 211 | net/core/datagram.c | if (sk->prot && sock_wspace(sk) >= MIN_WRITE_SPACE) |
prot | 215 | net/core/datagram.c | if (sk->prot==NULL && sk->sndbuf-sk->wmem_alloc >= MIN_WRITE_SPACE) |
prot | 604 | net/core/skbuff.c | if(sk->prot!=NULL) |
prot | 534 | net/core/sock.c | if (!sk->prot || !sk->prot->rcv) |
prot | 542 | net/core/sock.c | sk->prot->rcv(skb, skb->dev, (struct options*)skb->proto_priv, |
prot | 121 | net/ipv4/af_inet.c | static int sk_inuse(struct proto *prot, int num) |
prot | 125 | net/ipv4/af_inet.c | for(sk = prot->sock_array[num & (SOCK_ARRAY_SIZE -1 )]; |
prot | 139 | net/ipv4/af_inet.c | unsigned short get_new_socknum(struct proto *prot, unsigned short base) |
prot | 167 | net/ipv4/af_inet.c | sk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)]; |
prot | 187 | net/ipv4/af_inet.c | while(sk_inuse(prot, base +best+1)) |
prot | 218 | net/ipv4/af_inet.c | sk->prot->inuse += 1; |
prot | 219 | net/ipv4/af_inet.c | if (sk->prot->highestinuse < sk->prot->inuse) |
prot | 220 | net/ipv4/af_inet.c | sk->prot->highestinuse = sk->prot->inuse; |
prot | 222 | net/ipv4/af_inet.c | if (sk->prot->sock_array[num] == NULL) |
prot | 224 | net/ipv4/af_inet.c | sk->prot->sock_array[num] = sk; |
prot | 243 | net/ipv4/af_inet.c | skp = sk->prot->sock_array + num; |
prot | 267 | net/ipv4/af_inet.c | if (!sk1->prot) |
prot | 277 | net/ipv4/af_inet.c | p=&(sk1->prot->sock_array[sk1->num & (SOCK_ARRAY_SIZE -1)]); |
prot | 283 | net/ipv4/af_inet.c | sk1->prot->inuse--; |
prot | 345 | 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 | 470 | net/ipv4/af_inet.c | if (sk->prot->setsockopt==NULL) |
prot | 473 | net/ipv4/af_inet.c | return sk->prot->setsockopt(sk,level,optname,optval,optlen); |
prot | 486 | net/ipv4/af_inet.c | if(sk->prot->getsockopt==NULL) |
prot | 489 | net/ipv4/af_inet.c | return sk->prot->getsockopt(sk,level,optname,optval,optlen); |
prot | 501 | net/ipv4/af_inet.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 582 | net/ipv4/af_inet.c | struct proto *prot; |
prot | 603 | net/ipv4/af_inet.c | prot = &tcp_prot; |
prot | 614 | net/ipv4/af_inet.c | prot=&udp_prot; |
prot | 628 | net/ipv4/af_inet.c | prot = &raw_prot; |
prot | 644 | net/ipv4/af_inet.c | prot = &packet_prot; |
prot | 674 | net/ipv4/af_inet.c | sk->prot = prot; |
prot | 720 | net/ipv4/af_inet.c | if (sk->prot->init) |
prot | 722 | net/ipv4/af_inet.c | err = sk->prot->init(sk); |
prot | 784 | net/ipv4/af_inet.c | sk->prot->close(sk, timeout); |
prot | 801 | net/ipv4/af_inet.c | if(sk->prot->bind) |
prot | 802 | net/ipv4/af_inet.c | return sk->prot->bind(sk,uaddr, addr_len); |
prot | 826 | net/ipv4/af_inet.c | snum = get_new_socknum(sk->prot, 0); |
prot | 855 | net/ipv4/af_inet.c | for(sk2 = sk->prot->sock_array[snum & (SOCK_ARRAY_SIZE -1)]; |
prot | 954 | net/ipv4/af_inet.c | if (sk->prot->connect == NULL) |
prot | 956 | net/ipv4/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
prot | 1031 | net/ipv4/af_inet.c | if (sk1->prot->accept == NULL) |
prot | 1045 | net/ipv4/af_inet.c | sk2 = sk1->prot->accept(sk1,flags); |
prot | 1127 | net/ipv4/af_inet.c | if (sk->prot->recvmsg == NULL) |
prot | 1134 | net/ipv4/af_inet.c | return(sk->prot->recvmsg(sk, ubuf, size, noblock, flags,addr_len)); |
prot | 1147 | net/ipv4/af_inet.c | if (sk->prot->sendmsg == NULL) |
prot | 1154 | net/ipv4/af_inet.c | return(sk->prot->sendmsg(sk, msg, size, noblock, flags)); |
prot | 1177 | net/ipv4/af_inet.c | if (sk->prot->shutdown) |
prot | 1178 | net/ipv4/af_inet.c | sk->prot->shutdown(sk, how); |
prot | 1186 | net/ipv4/af_inet.c | if (sk->prot->select == NULL) |
prot | 1190 | net/ipv4/af_inet.c | return(sk->prot->select(sk, sel_type, wait)); |
prot | 1297 | net/ipv4/af_inet.c | if (sk->prot->ioctl==NULL) |
prot | 1299 | net/ipv4/af_inet.c | return(sk->prot->ioctl(sk, cmd, arg)); |
prot | 1314 | net/ipv4/af_inet.c | struct sock *get_sock(struct proto *prot, unsigned short num, |
prot | 1334 | 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 | 744 | net/ipv4/tcp.c | if (sock_wspace(sk) < sk->mtu+128+sk->prot->max_header) |
prot | 908 | net/ipv4/tcp.c | struct proto *prot; |
prot | 920 | net/ipv4/tcp.c | prot = sk->prot; |
prot | 1065 | net/ipv4/tcp.c | skb = sock_wmalloc(sk, sk->mtu + 128 + prot->max_header + 15, 0, GFP_KERNEL); |
prot | 1070 | net/ipv4/tcp.c | skb = sock_wmalloc(sk, copy + prot->max_header + 15 , 0, GFP_KERNEL); |
prot | 1107 | net/ipv4/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
prot | 1927 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 2019 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 178 | net/ipv4/tcp_input.c | tcp_send_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
prot | 336 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
prot | 1443 | net/ipv4/tcp_input.c | sk->prot, NULL, skb->dev, sk->ip_tos, sk->ip_ttl); |
prot | 1667 | net/ipv4/tcp_input.c | if (!sk->prot) |
prot | 1702 | net/ipv4/tcp_input.c | tcp_send_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
prot | 1766 | net/ipv4/tcp_input.c | sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
prot | 1778 | net/ipv4/tcp_input.c | sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
prot | 1918 | net/ipv4/tcp_input.c | tcp_send_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
prot | 136 | net/ipv4/tcp_output.c | sk->prot->queue_xmit(sk, skb->dev, skb, 0); |
prot | 301 | net/ipv4/tcp_output.c | sk->prot->queue_xmit(sk, skb->dev, skb, skb->free); |
prot | 323 | net/ipv4/tcp_output.c | struct proto *prot; |
prot | 328 | net/ipv4/tcp_output.c | prot = sk->prot; |
prot | 474 | net/ipv4/tcp_output.c | sk->prot->retransmits++; |
prot | 500 | net/ipv4/tcp_output.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
prot | 532 | net/ipv4/tcp_output.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
prot | 567 | net/ipv4/tcp_output.c | prot->queue_xmit(NULL, ndev, buff, 1); |
prot | 577 | net/ipv4/tcp_output.c | struct proto *prot =(struct proto *)sk->prot; |
prot | 605 | net/ipv4/tcp_output.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
prot | 662 | net/ipv4/tcp_output.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 693 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
prot | 739 | net/ipv4/tcp_output.c | newsk->prot->queue_xmit(newsk, ndev, buff, 0); |
prot | 851 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 873 | net/ipv4/tcp_output.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 943 | net/ipv4/tcp_output.c | sk->prot->max_header + 15, |
prot | 962 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 1028 | net/ipv4/tcp_output.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 1056 | net/ipv4/tcp_output.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 1074 | net/ipv4/tcp_output.c | sk->prot->retransmits ++; |
prot | 187 | net/ipv4/tcp_timer.c | sk->prot->retransmit (sk, 0); |
prot | 252 | net/ipv4/tcp_timer.c | if (sk->prot->write_wakeup) |
prot | 253 | net/ipv4/tcp_timer.c | sk->prot->write_wakeup (sk); |
prot | 255 | net/ipv4/tcp_timer.c | sk->prot->retransmits++; |
prot | 107 | net/ipv4/timer.c | sk->prot->read_wakeup (sk); |
prot | 1700 | net/ipx/af_ipx.c | sk->prot=NULL; /* So we use default free mechanisms */ |