tag | line | file | source code |
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 | 71 | include/asm-sparc/openprom.h | char* (*v2_dumb_mmap)(char* virta, int asi, unsigned prot, unsigned sz); |
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 | 209 | include/linux/mm.h | unsigned long prot, unsigned long flags, unsigned long off); |
prot | 465 | mm/memory.c | int zeromap_page_range(unsigned long address, unsigned long size, pgprot_t prot) |
prot | 472 | mm/memory.c | zero_pte = pte_wrprotect(mk_pte(ZERO_PAGE, prot)); |
prot | 495 | mm/memory.c | unsigned long offset, pgprot_t prot) |
prot | 507 | mm/memory.c | *pte = mk_pte(offset, prot); |
prot | 510 | mm/memory.c | *pte = mk_pte(offset, prot); |
prot | 520 | mm/memory.c | unsigned long offset, pgprot_t prot) |
prot | 533 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
prot | 540 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
prot | 553 | 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 | 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 | 85 | net/inet/af_inet.c | static int sk_inuse(struct proto *prot, int num) |
prot | 89 | net/inet/af_inet.c | for(sk = prot->sock_array[num & (SOCK_ARRAY_SIZE -1 )]; |
prot | 103 | net/inet/af_inet.c | unsigned short get_new_socknum(struct proto *prot, unsigned short base) |
prot | 128 | net/inet/af_inet.c | sk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)]; |
prot | 148 | net/inet/af_inet.c | while(sk_inuse(prot, base +best+1)) |
prot | 174 | net/inet/af_inet.c | sk->prot->inuse += 1; |
prot | 175 | net/inet/af_inet.c | if (sk->prot->highestinuse < sk->prot->inuse) |
prot | 176 | net/inet/af_inet.c | sk->prot->highestinuse = sk->prot->inuse; |
prot | 178 | net/inet/af_inet.c | if (sk->prot->sock_array[num] == NULL) |
prot | 180 | net/inet/af_inet.c | sk->prot->sock_array[num] = sk; |
prot | 195 | net/inet/af_inet.c | sk1 = sk->prot->sock_array[num]; |
prot | 202 | net/inet/af_inet.c | sk->next = sk->prot->sock_array[num]; |
prot | 203 | net/inet/af_inet.c | sk->prot->sock_array[num] = sk; |
prot | 230 | net/inet/af_inet.c | if (!sk1->prot) |
prot | 239 | net/inet/af_inet.c | sk2 = sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)]; |
prot | 242 | net/inet/af_inet.c | sk1->prot->inuse -= 1; |
prot | 243 | net/inet/af_inet.c | sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)] = sk1->next; |
prot | 255 | net/inet/af_inet.c | sk1->prot->inuse -= 1; |
prot | 312 | net/inet/af_inet.c | skb->sk->prot->close(skb->sk, 0); |
prot | 354 | net/inet/af_inet.c | sk->pair->prot->close(sk->pair, 0); |
prot | 420 | net/inet/af_inet.c | if (sk->prot->setsockopt==NULL) |
prot | 423 | net/inet/af_inet.c | return sk->prot->setsockopt(sk,level,optname,optval,optlen); |
prot | 436 | net/inet/af_inet.c | if(sk->prot->getsockopt==NULL) |
prot | 439 | net/inet/af_inet.c | return sk->prot->getsockopt(sk,level,optname,optval,optlen); |
prot | 451 | net/inet/af_inet.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 527 | net/inet/af_inet.c | struct proto *prot; |
prot | 546 | net/inet/af_inet.c | prot = &tcp_prot; |
prot | 557 | net/inet/af_inet.c | prot=&udp_prot; |
prot | 571 | net/inet/af_inet.c | prot = &raw_prot; |
prot | 591 | net/inet/af_inet.c | prot = &packet_prot; |
prot | 664 | net/inet/af_inet.c | sk->prot = prot; |
prot | 720 | net/inet/af_inet.c | if (sk->prot->init) |
prot | 722 | net/inet/af_inet.c | err = sk->prot->init(sk); |
prot | 788 | net/inet/af_inet.c | sk->prot->close(sk,0); |
prot | 793 | net/inet/af_inet.c | sk->prot->close(sk, 0); |
prot | 857 | net/inet/af_inet.c | snum = get_new_socknum(sk->prot, 0); |
prot | 874 | net/inet/af_inet.c | for(sk2 = sk->prot->sock_array[snum & (SOCK_ARRAY_SIZE -1)]; |
prot | 950 | net/inet/af_inet.c | if (sk->prot->connect == NULL) |
prot | 952 | net/inet/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
prot | 1035 | net/inet/af_inet.c | if (sk1->prot->accept == NULL) |
prot | 1046 | net/inet/af_inet.c | sk2 = sk1->prot->accept(sk1,flags); |
prot | 1134 | net/inet/af_inet.c | if (sk->prot->recvfrom == NULL) |
prot | 1141 | net/inet/af_inet.c | return(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags, |
prot | 1162 | net/inet/af_inet.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, 0)); |
prot | 1179 | net/inet/af_inet.c | return(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, flags)); |
prot | 1196 | net/inet/af_inet.c | if (sk->prot->sendto == NULL) |
prot | 1203 | net/inet/af_inet.c | return(sk->prot->sendto(sk, (unsigned char *) ubuf, size, noblock, flags, |
prot | 1226 | net/inet/af_inet.c | if (sk->prot->shutdown) |
prot | 1227 | net/inet/af_inet.c | sk->prot->shutdown(sk, how); |
prot | 1235 | net/inet/af_inet.c | if (sk->prot->select == NULL) |
prot | 1239 | net/inet/af_inet.c | return(sk->prot->select(sk, sel_type, wait)); |
prot | 1332 | net/inet/af_inet.c | if (sk->prot->ioctl==NULL) |
prot | 1334 | net/inet/af_inet.c | return(sk->prot->ioctl(sk, cmd, arg)); |
prot | 1349 | net/inet/af_inet.c | struct sock *get_sock(struct proto *prot, unsigned short num, |
prot | 1369 | net/inet/af_inet.c | for(s = prot->sock_array[hnum & (SOCK_ARRAY_SIZE - 1)]; |
prot | 194 | net/inet/datagram.c | if (sk->prot && sk->prot->wspace(sk) >= MIN_WRITE_SPACE) |
prot | 198 | net/inet/datagram.c | if (sk->prot==NULL && sk->sndbuf-sk->wmem_alloc >= MIN_WRITE_SPACE) |
prot | 1378 | net/inet/ipx.c | sk->prot=NULL; /* So we use default free mechanisms */ |
prot | 186 | net/inet/packet.c | skb = sk->prot->wmalloc(sk, len, 0, GFP_KERNEL); |
prot | 104 | net/inet/protocol.c | inet_get_protocol(unsigned char prot) |
prot | 109 | net/inet/protocol.c | hash = prot & (MAX_INET_PROTOS - 1); |
prot | 111 | net/inet/protocol.c | if (p->protocol == prot) return((struct inet_protocol *) p); |
prot | 118 | net/inet/protocol.c | inet_add_protocol(struct inet_protocol *prot) |
prot | 123 | net/inet/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
prot | 124 | net/inet/protocol.c | prot ->next = inet_protos[hash]; |
prot | 125 | net/inet/protocol.c | inet_protos[hash] = prot; |
prot | 126 | net/inet/protocol.c | prot->copy = 0; |
prot | 129 | net/inet/protocol.c | p2 = (struct inet_protocol *) prot->next; |
prot | 131 | net/inet/protocol.c | if (p2->protocol == prot->protocol) { |
prot | 132 | net/inet/protocol.c | prot->copy = 1; |
prot | 135 | net/inet/protocol.c | p2 = (struct inet_protocol *) prot->next; |
prot | 141 | net/inet/protocol.c | inet_del_protocol(struct inet_protocol *prot) |
prot | 147 | net/inet/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
prot | 148 | net/inet/protocol.c | if (prot == inet_protos[hash]) { |
prot | 160 | net/inet/protocol.c | if (p->next != NULL && p->next == prot) { |
prot | 166 | net/inet/protocol.c | p->next = prot->next; |
prot | 170 | net/inet/protocol.c | if (p->next != NULL && p->next->protocol == prot->protocol) { |
prot | 55 | net/inet/protocol.h | extern void inet_add_protocol(struct inet_protocol *prot); |
prot | 56 | net/inet/protocol.h | extern int inet_del_protocol(struct inet_protocol *prot); |
prot | 173 | net/inet/raw.c | skb=sock_alloc_send_skb(sk, len+sk->prot->max_header, noblock, &err); |
prot | 181 | net/inet/raw.c | tmp = sk->prot->build_header(skb, sk->saddr, |
prot | 212 | net/inet/raw.c | sk->prot->queue_xmit(sk, dev, skb, 1); |
prot | 358 | net/inet/skbuff.c | if(skb->sk->prot!=NULL) |
prot | 361 | net/inet/skbuff.c | skb->sk->prot->rfree(skb->sk, skb, skb->mem_len); |
prot | 363 | net/inet/skbuff.c | skb->sk->prot->wfree(skb->sk, skb, skb->mem_len); |
prot | 274 | net/inet/sock.c | if (sk->prot == &tcp_prot) |
prot | 532 | net/inet/sock.c | if (!sk->prot) |
prot | 556 | net/inet/sock.c | if (sk->prot->rcv) |
prot | 557 | net/inet/sock.c | sk->prot->rcv(skb, skb->dev, sk->opt, |
prot | 107 | net/inet/sock.h | struct proto *prot; |
prot | 307 | net/inet/tcp.c | int new_window = sk->prot->rspace(sk); |
prot | 407 | net/inet/tcp.c | struct proto *prot; |
prot | 411 | net/inet/tcp.c | prot = sk->prot; |
prot | 492 | net/inet/tcp.c | sk->prot->retransmits ++; |
prot | 672 | net/inet/tcp.c | sk->prot->read_wakeup (sk); |
prot | 718 | net/inet/tcp.c | sk->prot->retransmit (sk, 0); |
prot | 732 | net/inet/tcp.c | if (sk->prot->write_wakeup) |
prot | 733 | net/inet/tcp.c | sk->prot->write_wakeup (sk); |
prot | 946 | net/inet/tcp.c | if (sk->prot->wspace(sk) < sk->mtu+128+sk->prot->max_header) |
prot | 1001 | net/inet/tcp.c | amount = sk->prot->wspace(sk); |
prot | 1212 | net/inet/tcp.c | sk->prot->queue_xmit(sk, skb->dev, skb, 0); |
prot | 1313 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk, MAX_ACK_SIZE, 1, GFP_ATOMIC); |
prot | 1344 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
prot | 1349 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 1407 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 1448 | net/inet/tcp.c | struct proto *prot; |
prot | 1452 | net/inet/tcp.c | prot = sk->prot; |
prot | 1625 | net/inet/tcp.c | skb = prot->wmalloc(sk, sk->mtu + 128 + prot->max_header, 0, GFP_KERNEL); |
prot | 1635 | net/inet/tcp.c | skb = prot->wmalloc(sk, copy + prot->max_header , 0, GFP_KERNEL); |
prot | 1695 | net/inet/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
prot | 1699 | net/inet/tcp.c | prot->wfree(sk, skb->mem_addr, skb->mem_len); |
prot | 1712 | net/inet/tcp.c | prot->wfree(sk, skb->mem_addr, skb->mem_len); |
prot | 1814 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
prot | 1830 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 1835 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 1858 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 1883 | net/inet/tcp.c | left = sk->prot->rspace(sk); |
prot | 1909 | net/inet/tcp.c | printk("sk->rspace = %lu, was %lu\n", sk->prot->rspace(sk), |
prot | 1911 | net/inet/tcp.c | if ((rspace=sk->prot->rspace(sk)) != left) |
prot | 2305 | net/inet/tcp.c | struct proto *prot =(struct proto *)sk->prot; |
prot | 2314 | net/inet/tcp.c | buff = prot->wmalloc(sk, MAX_RESET_SIZE,1 , GFP_KERNEL); |
prot | 2337 | net/inet/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
prot | 2349 | net/inet/tcp.c | prot->wfree(sk,buff->mem_addr, buff->mem_len); |
prot | 2397 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 2494 | net/inet/tcp.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
prot | 2513 | net/inet/tcp.c | buff = prot->wmalloc(NULL, MAX_RESET_SIZE, 1, GFP_ATOMIC); |
prot | 2528 | net/inet/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
prot | 2533 | net/inet/tcp.c | prot->wfree(NULL, buff->mem_addr, buff->mem_len); |
prot | 2572 | net/inet/tcp.c | prot->queue_xmit(NULL, ndev, buff, 1); |
prot | 2697 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
prot | 2854 | net/inet/tcp.c | buff = newsk->prot->wmalloc(newsk, MAX_SYN_SIZE, 1, GFP_ATOMIC); |
prot | 2877 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
prot | 2928 | net/inet/tcp.c | newsk->prot->queue_xmit(newsk, ndev, buff, 0); |
prot | 3091 | net/inet/tcp.c | sk->prot->queue_xmit(sk, skb->dev, skb, skb->free); |
prot | 3870 | net/inet/tcp.c | sk->prot, NULL, skb->dev, sk->ip_tos, sk->ip_ttl); |
prot | 4072 | net/inet/tcp.c | while (sk->prot->rspace(sk) < sk->mtu) |
prot | 4300 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_SYN_SIZE,0, GFP_KERNEL); |
prot | 4324 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 4328 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 4407 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 4461 | net/inet/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
prot | 4613 | net/inet/tcp.c | if (!sk->prot) |
prot | 4651 | net/inet/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
prot | 4711 | net/inet/tcp.c | sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
prot | 4857 | net/inet/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
prot | 4928 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
prot | 4940 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 4944 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 4975 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 4994 | net/inet/tcp.c | sk->prot->retransmits ++; |
prot | 111 | net/inet/timer.c | sk->prot->read_wakeup (sk); |
prot | 189 | net/inet/timer.c | sk->prot->retransmit (sk, 0); |
prot | 206 | net/inet/timer.c | sk->prot->close (sk, 1); |
prot | 222 | net/inet/timer.c | if (sk->prot->write_wakeup) |
prot | 223 | net/inet/timer.c | sk->prot->write_wakeup (sk); |
prot | 227 | net/inet/timer.c | sk->prot->close (sk, 1); |
prot | 251 | net/inet/timer.c | sk->prot->close (sk, 1); |
prot | 266 | net/inet/udp.c | size = sk->prot->max_header + len; |
prot | 289 | net/inet/udp.c | tmp = sk->prot->build_header(skb, saddr, sin->sin_addr.s_addr, |
prot | 300 | net/inet/udp.c | sk->prot->wfree(sk, skb->mem_addr, skb->mem_len); |
prot | 337 | net/inet/udp.c | sk->prot->queue_xmit(sk, dev, skb, 1); |
prot | 422 | net/inet/udp.c | amount = sk->prot->wspace(sk)/*/2*/; |