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 | 208 | include/linux/mm.h | unsigned long prot, unsigned long flags, unsigned long off); |
prot | 392 | mm/memory.c | int zeromap_page_range(unsigned long address, unsigned long size, pgprot_t prot) |
prot | 399 | mm/memory.c | zero_pte = pte_wrprotect(mk_pte(ZERO_PAGE, prot)); |
prot | 421 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long to, unsigned long size, pgprot_t prot) |
prot | 467 | mm/memory.c | *page_table = mk_pte(to, prot); |
prot | 469 | mm/memory.c | *page_table = mk_pte(to, 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 | 61 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 64 | mm/mprotect.c | vma->vm_page_prot = prot; |
prot | 70 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 82 | mm/mprotect.c | n->vm_page_prot = prot; |
prot | 93 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 105 | mm/mprotect.c | n->vm_page_prot = prot; |
prot | 116 | mm/mprotect.c | int newflags, pgprot_t prot) |
prot | 137 | mm/mprotect.c | vma->vm_page_prot = prot; |
prot | 175 | mm/mprotect.c | asmlinkage int sys_mprotect(unsigned long start, size_t len, unsigned long prot) |
prot | 187 | mm/mprotect.c | if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC)) |
prot | 200 | mm/mprotect.c | newflags = prot | (vma->vm_flags & ~(PROT_READ | PROT_WRITE | PROT_EXEC)); |
prot | 78 | net/inet/af_inet.c | static int sk_inuse(struct proto *prot, int num) |
prot | 82 | net/inet/af_inet.c | for(sk = prot->sock_array[num & (SOCK_ARRAY_SIZE -1 )]; |
prot | 96 | net/inet/af_inet.c | unsigned short get_new_socknum(struct proto *prot, unsigned short base) |
prot | 121 | net/inet/af_inet.c | sk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)]; |
prot | 141 | net/inet/af_inet.c | while(sk_inuse(prot, base +best+1)) |
prot | 167 | net/inet/af_inet.c | sk->prot->inuse += 1; |
prot | 168 | net/inet/af_inet.c | if (sk->prot->highestinuse < sk->prot->inuse) |
prot | 169 | net/inet/af_inet.c | sk->prot->highestinuse = sk->prot->inuse; |
prot | 171 | net/inet/af_inet.c | if (sk->prot->sock_array[num] == NULL) |
prot | 173 | net/inet/af_inet.c | sk->prot->sock_array[num] = sk; |
prot | 188 | net/inet/af_inet.c | sk1 = sk->prot->sock_array[num]; |
prot | 195 | net/inet/af_inet.c | sk->next = sk->prot->sock_array[num]; |
prot | 196 | net/inet/af_inet.c | sk->prot->sock_array[num] = sk; |
prot | 223 | net/inet/af_inet.c | if (!sk1->prot) |
prot | 232 | net/inet/af_inet.c | sk2 = sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)]; |
prot | 235 | net/inet/af_inet.c | sk1->prot->inuse -= 1; |
prot | 236 | net/inet/af_inet.c | sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)] = sk1->next; |
prot | 248 | net/inet/af_inet.c | sk1->prot->inuse -= 1; |
prot | 305 | net/inet/af_inet.c | skb->sk->prot->close(skb->sk, 0); |
prot | 347 | net/inet/af_inet.c | sk->pair->prot->close(sk->pair, 0); |
prot | 413 | net/inet/af_inet.c | if (sk->prot->setsockopt==NULL) |
prot | 416 | net/inet/af_inet.c | return sk->prot->setsockopt(sk,level,optname,optval,optlen); |
prot | 429 | net/inet/af_inet.c | if(sk->prot->getsockopt==NULL) |
prot | 432 | net/inet/af_inet.c | return sk->prot->getsockopt(sk,level,optname,optval,optlen); |
prot | 444 | net/inet/af_inet.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 520 | net/inet/af_inet.c | struct proto *prot; |
prot | 539 | net/inet/af_inet.c | prot = &tcp_prot; |
prot | 550 | net/inet/af_inet.c | prot=&udp_prot; |
prot | 564 | net/inet/af_inet.c | prot = &raw_prot; |
prot | 584 | net/inet/af_inet.c | prot = &packet_prot; |
prot | 657 | net/inet/af_inet.c | sk->prot = prot; |
prot | 713 | net/inet/af_inet.c | if (sk->prot->init) |
prot | 715 | net/inet/af_inet.c | err = sk->prot->init(sk); |
prot | 764 | net/inet/af_inet.c | sk->prot->close(sk,0); |
prot | 769 | net/inet/af_inet.c | sk->prot->close(sk, 0); |
prot | 832 | net/inet/af_inet.c | snum = get_new_socknum(sk->prot, 0); |
prot | 847 | net/inet/af_inet.c | for(sk2 = sk->prot->sock_array[snum & (SOCK_ARRAY_SIZE -1)]; |
prot | 926 | net/inet/af_inet.c | if (sk->prot->connect == NULL) |
prot | 928 | net/inet/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
prot | 1011 | net/inet/af_inet.c | if (sk1->prot->accept == NULL) |
prot | 1022 | net/inet/af_inet.c | sk2 = sk1->prot->accept(sk1,flags); |
prot | 1110 | net/inet/af_inet.c | if (sk->prot->recvfrom == NULL) |
prot | 1117 | net/inet/af_inet.c | return(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags, |
prot | 1138 | net/inet/af_inet.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, 0)); |
prot | 1155 | net/inet/af_inet.c | return(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, flags)); |
prot | 1172 | net/inet/af_inet.c | if (sk->prot->sendto == NULL) |
prot | 1179 | net/inet/af_inet.c | return(sk->prot->sendto(sk, (unsigned char *) ubuf, size, noblock, flags, |
prot | 1202 | net/inet/af_inet.c | if (sk->prot->shutdown) |
prot | 1203 | net/inet/af_inet.c | sk->prot->shutdown(sk, how); |
prot | 1211 | net/inet/af_inet.c | if (sk->prot->select == NULL) |
prot | 1215 | net/inet/af_inet.c | return(sk->prot->select(sk, sel_type, wait)); |
prot | 1308 | net/inet/af_inet.c | if (sk->prot->ioctl==NULL) |
prot | 1310 | net/inet/af_inet.c | return(sk->prot->ioctl(sk, cmd, arg)); |
prot | 1325 | net/inet/af_inet.c | struct sock *get_sock(struct proto *prot, unsigned short num, |
prot | 1345 | 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 | 1366 | 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 | 304 | net/inet/tcp.c | int new_window = sk->prot->rspace(sk); |
prot | 404 | net/inet/tcp.c | struct proto *prot; |
prot | 408 | net/inet/tcp.c | prot = sk->prot; |
prot | 489 | net/inet/tcp.c | sk->prot->retransmits ++; |
prot | 669 | net/inet/tcp.c | sk->prot->read_wakeup (sk); |
prot | 715 | net/inet/tcp.c | sk->prot->retransmit (sk, 0); |
prot | 729 | net/inet/tcp.c | if (sk->prot->write_wakeup) |
prot | 730 | net/inet/tcp.c | sk->prot->write_wakeup (sk); |
prot | 943 | net/inet/tcp.c | if (sk->prot->wspace(sk) < sk->mtu+128+sk->prot->max_header) |
prot | 998 | net/inet/tcp.c | amount = sk->prot->wspace(sk); |
prot | 1209 | net/inet/tcp.c | sk->prot->queue_xmit(sk, skb->dev, skb, 0); |
prot | 1310 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk, MAX_ACK_SIZE, 1, GFP_ATOMIC); |
prot | 1341 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
prot | 1346 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 1404 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 1445 | net/inet/tcp.c | struct proto *prot; |
prot | 1449 | net/inet/tcp.c | prot = sk->prot; |
prot | 1622 | net/inet/tcp.c | skb = prot->wmalloc(sk, sk->mtu + 128 + prot->max_header, 0, GFP_KERNEL); |
prot | 1632 | net/inet/tcp.c | skb = prot->wmalloc(sk, copy + prot->max_header , 0, GFP_KERNEL); |
prot | 1692 | net/inet/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
prot | 1696 | net/inet/tcp.c | prot->wfree(sk, skb->mem_addr, skb->mem_len); |
prot | 1709 | net/inet/tcp.c | prot->wfree(sk, skb->mem_addr, skb->mem_len); |
prot | 1811 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
prot | 1827 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 1832 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 1855 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 1880 | net/inet/tcp.c | left = sk->prot->rspace(sk); |
prot | 1906 | net/inet/tcp.c | printk("sk->rspace = %lu, was %lu\n", sk->prot->rspace(sk), |
prot | 1908 | net/inet/tcp.c | if ((rspace=sk->prot->rspace(sk)) != left) |
prot | 2302 | net/inet/tcp.c | struct proto *prot =(struct proto *)sk->prot; |
prot | 2311 | net/inet/tcp.c | buff = prot->wmalloc(sk, MAX_RESET_SIZE,1 , GFP_KERNEL); |
prot | 2334 | net/inet/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
prot | 2346 | net/inet/tcp.c | prot->wfree(sk,buff->mem_addr, buff->mem_len); |
prot | 2394 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 2491 | net/inet/tcp.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
prot | 2510 | net/inet/tcp.c | buff = prot->wmalloc(NULL, MAX_RESET_SIZE, 1, GFP_ATOMIC); |
prot | 2525 | net/inet/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
prot | 2530 | net/inet/tcp.c | prot->wfree(NULL, buff->mem_addr, buff->mem_len); |
prot | 2569 | net/inet/tcp.c | prot->queue_xmit(NULL, ndev, buff, 1); |
prot | 2694 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
prot | 2851 | net/inet/tcp.c | buff = newsk->prot->wmalloc(newsk, MAX_SYN_SIZE, 1, GFP_ATOMIC); |
prot | 2874 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
prot | 2925 | net/inet/tcp.c | newsk->prot->queue_xmit(newsk, ndev, buff, 0); |
prot | 3088 | net/inet/tcp.c | sk->prot->queue_xmit(sk, skb->dev, skb, skb->free); |
prot | 3867 | net/inet/tcp.c | sk->prot, NULL, skb->dev, sk->ip_tos, sk->ip_ttl); |
prot | 4069 | net/inet/tcp.c | while (sk->prot->rspace(sk) < sk->mtu) |
prot | 4297 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_SYN_SIZE,0, GFP_KERNEL); |
prot | 4321 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 4325 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 4402 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 4456 | net/inet/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
prot | 4608 | net/inet/tcp.c | if (!sk->prot) |
prot | 4646 | net/inet/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
prot | 4706 | net/inet/tcp.c | sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
prot | 4852 | net/inet/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
prot | 4923 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
prot | 4935 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 4939 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 4970 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 4989 | 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*/; |