tag | line | file | source code |
prot | 485 | drivers/net/de600.c | (skb->sk->prot->rspace != &de600_rspace)) |
prot | 486 | drivers/net/de600.c | skb->sk->prot->rspace = de600_rspace; /* Ugh! */ |
prot | 71 | include/asm-sparc/openprom.h | caddr_t (*v2_dumb_mmap)(caddr_t virta, int asi, unsigned prot, unsigned sz); |
prot | 205 | include/linux/mm.h | unsigned long prot, unsigned long flags, unsigned long off); |
prot | 487 | mm/memory.c | unsigned long address,int prot) |
prot | 491 | mm/memory.c | if ((prot & (PAGE_MASK|PAGE_PRESENT)) != PAGE_PRESENT) |
prot | 492 | mm/memory.c | printk("put_page: prot = %08x\n",prot); |
prot | 512 | mm/memory.c | *page_table = page | prot; |
prot | 567 | mm/memory.c | unsigned long *pde, pte, old_page, prot; |
prot | 587 | mm/memory.c | prot = (old_page & ~PAGE_MASK) | PAGE_RW | PAGE_DIRTY; |
prot | 594 | mm/memory.c | *(unsigned long *) pte = new_page | prot; |
prot | 601 | mm/memory.c | *(unsigned long *) pte = BAD_PAGE | prot; |
prot | 909 | mm/memory.c | unsigned long page, entry, prot; |
prot | 944 | mm/memory.c | prot = vma->vm_page_prot; |
prot | 950 | mm/memory.c | page = vma->vm_ops->nopage(vma, address, page, (error_code & PAGE_RW) && (prot & PAGE_COW)); |
prot | 960 | mm/memory.c | prot |= PAGE_DIRTY; /* can't be COW-shared: see "no_share" above */ |
prot | 961 | mm/memory.c | } else if ((prot & PAGE_COW) && mem_map[MAP_NR(page)] > 1) |
prot | 962 | mm/memory.c | prot &= ~PAGE_RW; |
prot | 963 | mm/memory.c | if (put_page(vma->vm_task, page, address, prot)) |
prot | 39 | mm/mmap.c | unsigned long prot, unsigned long flags, unsigned long off) |
prot | 63 | mm/mmap.c | if ((prot & PROT_WRITE) && !(file->f_mode & 2)) |
prot | 103 | mm/mmap.c | if (prot & (PROT_READ | PROT_EXEC)) |
prot | 105 | mm/mmap.c | if (prot & PROT_WRITE) |
prot | 120 | mm/mmap.c | vma->vm_flags = prot & (VM_READ | VM_WRITE | VM_EXEC); |
prot | 21 | mm/mprotect.c | static void change_protection(unsigned long start, unsigned long end, int prot) |
prot | 46 | mm/mprotect.c | *page_table = (page & CHG_MASK) | prot; |
prot | 54 | mm/mprotect.c | int newflags, int prot) |
prot | 57 | mm/mprotect.c | vma->vm_page_prot = prot; |
prot | 63 | mm/mprotect.c | int newflags, int prot) |
prot | 75 | mm/mprotect.c | n->vm_page_prot = prot; |
prot | 86 | mm/mprotect.c | int newflags, int prot) |
prot | 98 | mm/mprotect.c | n->vm_page_prot = prot; |
prot | 109 | mm/mprotect.c | int newflags, int prot) |
prot | 130 | mm/mprotect.c | vma->vm_page_prot = prot; |
prot | 145 | mm/mprotect.c | int prot, error; |
prot | 149 | mm/mprotect.c | prot = PAGE_PRESENT; |
prot | 151 | mm/mprotect.c | prot |= PAGE_READONLY; |
prot | 154 | mm/mprotect.c | prot |= PAGE_SHARED; |
prot | 156 | mm/mprotect.c | prot |= PAGE_COPY; |
prot | 160 | mm/mprotect.c | error = mprotect_fixup_all(vma, newflags, prot); |
prot | 162 | mm/mprotect.c | error = mprotect_fixup_start(vma, end, newflags, prot); |
prot | 164 | mm/mprotect.c | error = mprotect_fixup_end(vma, start, newflags, prot); |
prot | 166 | mm/mprotect.c | error = mprotect_fixup_middle(vma, start, end, newflags, prot); |
prot | 171 | mm/mprotect.c | change_protection(start, end, 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 | 205 | mm/mprotect.c | newflags = prot | (vma->vm_flags & ~(PROT_READ | PROT_WRITE | PROT_EXEC)); |
prot | 77 | net/inet/af_inet.c | static int sk_inuse(struct proto *prot, int num) |
prot | 81 | net/inet/af_inet.c | for(sk = prot->sock_array[num & (SOCK_ARRAY_SIZE -1 )]; |
prot | 95 | net/inet/af_inet.c | unsigned short get_new_socknum(struct proto *prot, unsigned short base) |
prot | 120 | net/inet/af_inet.c | sk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)]; |
prot | 140 | net/inet/af_inet.c | while(sk_inuse(prot, base +best+1)) |
prot | 163 | net/inet/af_inet.c | if (sk->prot->sock_array[num] == NULL) |
prot | 165 | net/inet/af_inet.c | sk->prot->sock_array[num] = sk; |
prot | 180 | net/inet/af_inet.c | sk1 = sk->prot->sock_array[num]; |
prot | 187 | net/inet/af_inet.c | sk->next = sk->prot->sock_array[num]; |
prot | 188 | net/inet/af_inet.c | sk->prot->sock_array[num] = sk; |
prot | 214 | net/inet/af_inet.c | if (!sk1->prot) |
prot | 222 | net/inet/af_inet.c | sk2 = sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)]; |
prot | 225 | net/inet/af_inet.c | sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)] = sk1->next; |
prot | 291 | net/inet/af_inet.c | skb->sk->prot->close(skb->sk, 0); |
prot | 333 | net/inet/af_inet.c | sk->pair->prot->close(sk->pair, 0); |
prot | 399 | net/inet/af_inet.c | if (sk->prot->setsockopt==NULL) |
prot | 402 | net/inet/af_inet.c | return sk->prot->setsockopt(sk,level,optname,optval,optlen); |
prot | 415 | net/inet/af_inet.c | if(sk->prot->getsockopt==NULL) |
prot | 418 | net/inet/af_inet.c | return sk->prot->getsockopt(sk,level,optname,optval,optlen); |
prot | 430 | net/inet/af_inet.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 498 | net/inet/af_inet.c | struct proto *prot; |
prot | 517 | net/inet/af_inet.c | prot = &tcp_prot; |
prot | 528 | net/inet/af_inet.c | prot=&udp_prot; |
prot | 542 | net/inet/af_inet.c | prot = &raw_prot; |
prot | 562 | net/inet/af_inet.c | prot = &packet_prot; |
prot | 635 | net/inet/af_inet.c | sk->prot = prot; |
prot | 690 | net/inet/af_inet.c | if (sk->prot->init) |
prot | 692 | net/inet/af_inet.c | err = sk->prot->init(sk); |
prot | 737 | net/inet/af_inet.c | sk->prot->close(sk,0); |
prot | 742 | net/inet/af_inet.c | sk->prot->close(sk, 0); |
prot | 805 | net/inet/af_inet.c | snum = get_new_socknum(sk->prot, 0); |
prot | 820 | net/inet/af_inet.c | for(sk2 = sk->prot->sock_array[snum & (SOCK_ARRAY_SIZE -1)]; |
prot | 899 | net/inet/af_inet.c | if (sk->prot->connect == NULL) |
prot | 901 | net/inet/af_inet.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
prot | 984 | net/inet/af_inet.c | if (sk1->prot->accept == NULL) |
prot | 995 | net/inet/af_inet.c | sk2 = sk1->prot->accept(sk1,flags); |
prot | 1083 | net/inet/af_inet.c | if (sk->prot->recvfrom == NULL) |
prot | 1090 | net/inet/af_inet.c | return(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags, |
prot | 1111 | net/inet/af_inet.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, 0)); |
prot | 1128 | net/inet/af_inet.c | return(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, flags)); |
prot | 1145 | net/inet/af_inet.c | if (sk->prot->sendto == NULL) |
prot | 1152 | net/inet/af_inet.c | return(sk->prot->sendto(sk, (unsigned char *) ubuf, size, noblock, flags, |
prot | 1175 | net/inet/af_inet.c | if (sk->prot->shutdown) |
prot | 1176 | net/inet/af_inet.c | sk->prot->shutdown(sk, how); |
prot | 1184 | net/inet/af_inet.c | if (sk->prot->select == NULL) |
prot | 1188 | net/inet/af_inet.c | return(sk->prot->select(sk, sel_type, wait)); |
prot | 1281 | net/inet/af_inet.c | if (sk->prot->ioctl==NULL) |
prot | 1283 | net/inet/af_inet.c | return(sk->prot->ioctl(sk, cmd, arg)); |
prot | 1298 | net/inet/af_inet.c | struct sock *get_sock(struct proto *prot, unsigned short num, |
prot | 1318 | net/inet/af_inet.c | for(s = prot->sock_array[hnum & (SOCK_ARRAY_SIZE - 1)]; |
prot | 193 | net/inet/datagram.c | if (sk->prot && sk->prot->wspace(sk) >= MIN_WRITE_SPACE) |
prot | 197 | net/inet/datagram.c | if (sk->prot==NULL && sk->sndbuf-sk->wmem_alloc >= MIN_WRITE_SPACE) |
prot | 598 | net/inet/ipx.c | sk->prot=NULL; /* So we use default free mechanisms */ |
prot | 169 | net/inet/packet.c | skb = sk->prot->wmalloc(sk, len, 0, GFP_KERNEL); |
prot | 103 | net/inet/protocol.c | inet_get_protocol(unsigned char prot) |
prot | 108 | net/inet/protocol.c | hash = prot & (MAX_INET_PROTOS - 1); |
prot | 110 | net/inet/protocol.c | if (p->protocol == prot) return((struct inet_protocol *) p); |
prot | 117 | net/inet/protocol.c | inet_add_protocol(struct inet_protocol *prot) |
prot | 122 | net/inet/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
prot | 123 | net/inet/protocol.c | prot ->next = inet_protos[hash]; |
prot | 124 | net/inet/protocol.c | inet_protos[hash] = prot; |
prot | 125 | net/inet/protocol.c | prot->copy = 0; |
prot | 128 | net/inet/protocol.c | p2 = (struct inet_protocol *) prot->next; |
prot | 130 | net/inet/protocol.c | if (p2->protocol == prot->protocol) { |
prot | 131 | net/inet/protocol.c | prot->copy = 1; |
prot | 134 | net/inet/protocol.c | p2 = (struct inet_protocol *) prot->next; |
prot | 140 | net/inet/protocol.c | inet_del_protocol(struct inet_protocol *prot) |
prot | 146 | net/inet/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
prot | 147 | net/inet/protocol.c | if (prot == inet_protos[hash]) { |
prot | 159 | net/inet/protocol.c | if (p->next != NULL && p->next == prot) { |
prot | 165 | net/inet/protocol.c | p->next = prot->next; |
prot | 169 | 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 | 357 | net/inet/skbuff.c | if(skb->sk->prot!=NULL) |
prot | 360 | net/inet/skbuff.c | skb->sk->prot->rfree(skb->sk, skb, skb->mem_len); |
prot | 362 | net/inet/skbuff.c | skb->sk->prot->wfree(skb->sk, skb, skb->mem_len); |
prot | 272 | net/inet/sock.c | if (sk->prot == &tcp_prot) |
prot | 509 | net/inet/sock.c | if (!sk->prot) |
prot | 533 | net/inet/sock.c | if (sk->prot->rcv) |
prot | 534 | net/inet/sock.c | sk->prot->rcv(skb, skb->dev, sk->opt, |
prot | 102 | net/inet/sock.h | struct proto *prot; |
prot | 273 | net/inet/tcp.c | int new_window = sk->prot->rspace(sk); |
prot | 364 | net/inet/tcp.c | struct proto *prot; |
prot | 367 | net/inet/tcp.c | prot = sk->prot; |
prot | 440 | net/inet/tcp.c | sk->prot->retransmits ++; |
prot | 688 | net/inet/tcp.c | if (sk->prot->wspace(sk) >= sk->mtu+128+sk->prot->max_header) |
prot | 758 | net/inet/tcp.c | amount = sk->prot->wspace(sk); |
prot | 924 | net/inet/tcp.c | sk->prot->queue_xmit(sk, skb->dev, skb, 0); |
prot | 996 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk, MAX_ACK_SIZE, 1, GFP_ATOMIC); |
prot | 1014 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
prot | 1019 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 1066 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 1108 | net/inet/tcp.c | struct proto *prot; |
prot | 1112 | net/inet/tcp.c | prot = sk->prot; |
prot | 1286 | net/inet/tcp.c | skb = prot->wmalloc(sk, sk->mtu + 128 + prot->max_header, 0, GFP_KERNEL); |
prot | 1296 | net/inet/tcp.c | skb = prot->wmalloc(sk, copy + prot->max_header , 0, GFP_KERNEL); |
prot | 1354 | net/inet/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
prot | 1358 | net/inet/tcp.c | prot->wfree(sk, skb->mem_addr, skb->mem_len); |
prot | 1371 | net/inet/tcp.c | prot->wfree(sk, skb->mem_addr, skb->mem_len); |
prot | 1465 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
prot | 1481 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 1486 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 1509 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 1534 | net/inet/tcp.c | left = sk->prot->rspace(sk); |
prot | 1560 | net/inet/tcp.c | printk("sk->rspace = %lu, was %lu\n", sk->prot->rspace(sk), |
prot | 1562 | net/inet/tcp.c | if ((rspace=sk->prot->rspace(sk)) != left) |
prot | 1832 | net/inet/tcp.c | struct proto *prot; |
prot | 1876 | net/inet/tcp.c | prot =(struct proto *)sk->prot; |
prot | 1879 | net/inet/tcp.c | buff = prot->wmalloc(sk, MAX_RESET_SIZE,1 , GFP_KERNEL); |
prot | 1893 | net/inet/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
prot | 1909 | net/inet/tcp.c | prot->wfree(sk,buff->mem_addr, buff->mem_len); |
prot | 1955 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 2004 | net/inet/tcp.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
prot | 2023 | net/inet/tcp.c | buff = prot->wmalloc(NULL, MAX_RESET_SIZE, 1, GFP_ATOMIC); |
prot | 2038 | net/inet/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
prot | 2043 | net/inet/tcp.c | prot->wfree(NULL, buff->mem_addr, buff->mem_len); |
prot | 2082 | net/inet/tcp.c | prot->queue_xmit(NULL, ndev, buff, 1); |
prot | 2199 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
prot | 2352 | net/inet/tcp.c | buff = newsk->prot->wmalloc(newsk, MAX_SYN_SIZE, 1, GFP_ATOMIC); |
prot | 2373 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
prot | 2423 | net/inet/tcp.c | newsk->prot->queue_xmit(newsk, ndev, buff, 0); |
prot | 2446 | net/inet/tcp.c | struct proto *prot; |
prot | 2543 | net/inet/tcp.c | prot =(struct proto *)sk->prot; |
prot | 2545 | net/inet/tcp.c | buff = prot->wmalloc(sk, MAX_FIN_SIZE, 1, GFP_ATOMIC); |
prot | 2566 | net/inet/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
prot | 2617 | net/inet/tcp.c | prot->queue_xmit(sk, dev, buff, 0); |
prot | 2705 | net/inet/tcp.c | sk->prot->queue_xmit(sk, skb->dev, skb, skb->free); |
prot | 3413 | net/inet/tcp.c | sk->prot, NULL, skb->dev, sk->ip_tos, sk->ip_ttl); |
prot | 3617 | net/inet/tcp.c | while (sk->prot->rspace(sk) < sk->mtu) |
prot | 3845 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_SYN_SIZE,0, GFP_KERNEL); |
prot | 3869 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 3873 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 3947 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 4000 | net/inet/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
prot | 4152 | net/inet/tcp.c | if (!sk->prot) |
prot | 4190 | net/inet/tcp.c | tcp_reset(daddr,saddr,th,sk->prot,opt,dev,sk->ip_tos, sk->ip_ttl); |
prot | 4250 | net/inet/tcp.c | sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
prot | 4389 | net/inet/tcp.c | tcp_reset(daddr, saddr, th,sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
prot | 4459 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
prot | 4471 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 4475 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 4505 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 4524 | net/inet/tcp.c | sk->prot->retransmits ++; |
prot | 111 | net/inet/timer.c | sk->prot->read_wakeup (sk); |
prot | 188 | net/inet/timer.c | sk->prot->retransmit (sk, 0); |
prot | 205 | net/inet/timer.c | sk->prot->close (sk, 1); |
prot | 221 | net/inet/timer.c | if (sk->prot->write_wakeup) |
prot | 222 | net/inet/timer.c | sk->prot->write_wakeup (sk); |
prot | 226 | net/inet/timer.c | sk->prot->close (sk, 1); |
prot | 250 | net/inet/timer.c | sk->prot->close (sk, 1); |
prot | 265 | net/inet/udp.c | size = sk->prot->max_header + len; |
prot | 288 | net/inet/udp.c | tmp = sk->prot->build_header(skb, saddr, sin->sin_addr.s_addr, |
prot | 299 | net/inet/udp.c | sk->prot->wfree(sk, skb->mem_addr, skb->mem_len); |
prot | 336 | net/inet/udp.c | sk->prot->queue_xmit(sk, dev, skb, 1); |
prot | 421 | net/inet/udp.c | amount = sk->prot->wspace(sk)/*/2*/; |