tag | line | file | source code |
prot | 87 | drivers/char/mem.c | unsigned long addr, size_t len, int prot, unsigned long off) |
prot | 94 | drivers/char/mem.c | prot |= PAGE_PCD; |
prot | 95 | drivers/char/mem.c | if (remap_page_range(addr, off, len, prot)) |
prot | 105 | drivers/char/mem.c | mpnt->vm_page_prot = prot; |
prot | 180 | drivers/char/mem.c | unsigned long addr, size_t len, int prot, unsigned long off) |
prot | 184 | drivers/char/mem.c | if (prot & PAGE_RW) |
prot | 186 | drivers/char/mem.c | if (zeromap_page_range(addr, len, prot)) |
prot | 199 | drivers/char/mem.c | mpnt->vm_page_prot = prot; |
prot | 831 | fs/buffer.c | unsigned long bread_page(unsigned long address, dev_t dev, int b[], int size, int prot) |
prot | 837 | fs/buffer.c | if (!(prot & PAGE_RW)) { |
prot | 25 | fs/nfs/file.c | unsigned long addr, size_t len, int prot, unsigned long off); |
prot | 31 | fs/nfs/mmap.c | unsigned long address,int prot); |
prot | 52 | fs/nfs/mmap.c | unsigned long addr, size_t len, int prot, unsigned long off) |
prot | 56 | fs/nfs/mmap.c | if (prot & PAGE_RW) /* only PAGE_COW or read-only supported now */ |
prot | 75 | fs/nfs/mmap.c | mpnt->vm_page_prot = prot; |
prot | 391 | fs/proc/array.c | int prot = map->vm_page_prot; |
prot | 405 | fs/proc/array.c | if ((prot & PAGE_READONLY) == PAGE_READONLY) |
prot | 407 | fs/proc/array.c | if (prot & (PAGE_COW|PAGE_RW)) { |
prot | 409 | fs/proc/array.c | flags = prot & PAGE_COW ? MAP_PRIVATE : MAP_SHARED; |
prot | 392 | include/linux/fs.h | extern unsigned long bread_page(unsigned long addr,dev_t dev,int b[],int size,int prot); |
prot | 146 | include/linux/mm.h | unsigned long prot, unsigned long flags, unsigned long off); |
prot | 122 | include/linux/nfs_fs.h | unsigned long addr, size_t len, int prot, unsigned long off); |
prot | 471 | mm/memory.c | unsigned long address,int prot) |
prot | 475 | mm/memory.c | if ((prot & (PAGE_MASK|PAGE_PRESENT)) != PAGE_PRESENT) |
prot | 476 | mm/memory.c | printk("put_page: prot = %08x\n",prot); |
prot | 496 | mm/memory.c | *page_table = page | prot; |
prot | 554 | mm/memory.c | unsigned long *pde, pte, old_page, prot; |
prot | 574 | mm/memory.c | prot = (old_page & ~PAGE_MASK) | PAGE_RW; |
prot | 581 | mm/memory.c | *(unsigned long *) pte = new_page | prot; |
prot | 588 | mm/memory.c | *(unsigned long *) pte = BAD_PAGE | prot; |
prot | 1152 | mm/memory.c | int prot = area->vm_page_prot; |
prot | 1173 | mm/memory.c | prot |= PAGE_RW | PAGE_DIRTY; |
prot | 1174 | mm/memory.c | page = bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, prot); |
prot | 1176 | mm/memory.c | if (!(prot & PAGE_RW)) { |
prot | 1180 | mm/memory.c | if (put_page(area->vm_task,page,address,prot)) |
prot | 43 | mm/mmap.c | unsigned long prot, unsigned long flags, unsigned long off) |
prot | 62 | mm/mmap.c | if ((prot & PROT_WRITE) && !(file->f_mode & 2)) |
prot | 112 | mm/mmap.c | if (prot & (PROT_READ | PROT_EXEC)) |
prot | 114 | mm/mmap.c | if (prot & PROT_WRITE) |
prot | 230 | mm/mmap.c | asmlinkage int sys_mprotect(unsigned long addr, size_t len, unsigned long prot) |
prot | 312 | mm/mmap.c | unsigned long addr, size_t len, int prot, unsigned long off) |
prot | 318 | mm/mmap.c | if (prot & PAGE_RW) /* only PAGE_COW or read-only supported right now */ |
prot | 342 | mm/mmap.c | mpnt->vm_page_prot = prot; |
prot | 189 | net/inet/datagram.c | if (sk->prot && sk->prot->wspace(sk) >= MIN_WRITE_SPACE) |
prot | 193 | net/inet/datagram.c | if (sk->prot==NULL && sk->sndbuf-sk->wmem_alloc >= MIN_WRITE_SPACE) |
prot | 1453 | net/inet/ip.c | struct proto *prot; |
prot | 1457 | net/inet/ip.c | prot = sk->prot; |
prot | 1499 | net/inet/ip.c | sk->prot->retransmits ++; |
prot | 122 | net/inet/packet.c | skb = sk->prot->wmalloc(sk, len+sizeof(*skb), 0, GFP_KERNEL); |
prot | 86 | net/inet/protocol.c | inet_get_protocol(unsigned char prot) |
prot | 91 | net/inet/protocol.c | DPRINTF((DBG_PROTO, "get_protocol (%d)\n ", prot)); |
prot | 92 | net/inet/protocol.c | hash = prot & (MAX_INET_PROTOS - 1); |
prot | 95 | net/inet/protocol.c | if (p->protocol == prot) return((struct inet_protocol *) p); |
prot | 102 | net/inet/protocol.c | inet_add_protocol(struct inet_protocol *prot) |
prot | 107 | net/inet/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
prot | 108 | net/inet/protocol.c | prot ->next = inet_protos[hash]; |
prot | 109 | net/inet/protocol.c | inet_protos[hash] = prot; |
prot | 110 | net/inet/protocol.c | prot->copy = 0; |
prot | 113 | net/inet/protocol.c | p2 = (struct inet_protocol *) prot->next; |
prot | 115 | net/inet/protocol.c | if (p2->protocol == prot->protocol) { |
prot | 116 | net/inet/protocol.c | prot->copy = 1; |
prot | 119 | net/inet/protocol.c | p2 = (struct inet_protocol *) prot->next; |
prot | 125 | net/inet/protocol.c | inet_del_protocol(struct inet_protocol *prot) |
prot | 131 | net/inet/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
prot | 132 | net/inet/protocol.c | if (prot == inet_protos[hash]) { |
prot | 144 | net/inet/protocol.c | if (p->next != NULL && p->next == prot) { |
prot | 150 | net/inet/protocol.c | p->next = prot->next; |
prot | 154 | 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 | 190 | net/inet/raw.c | skb = sk->prot->wmalloc(sk, |
prot | 191 | net/inet/raw.c | len+sizeof(*skb) + sk->prot->max_header, |
prot | 214 | net/inet/raw.c | skb->mem_len = len + sizeof(*skb) +sk->prot->max_header; |
prot | 220 | net/inet/raw.c | tmp = sk->prot->build_header(skb, sk->saddr, |
prot | 255 | net/inet/raw.c | sk->prot->queue_xmit(sk, dev, skb, 1); |
prot | 397 | net/inet/skbuff.c | if(skb->sk->prot!=NULL) |
prot | 400 | net/inet/skbuff.c | skb->sk->prot->rfree(skb->sk, skb->mem_addr, skb->mem_len); |
prot | 402 | net/inet/skbuff.c | skb->sk->prot->wfree(skb->sk, skb->mem_addr, skb->mem_len); |
prot | 126 | net/inet/sock.c | printk(" prot = %p\n", sk->prot); |
prot | 153 | net/inet/sock.c | sk_inuse(struct proto *prot, int num) |
prot | 157 | net/inet/sock.c | for(sk = prot->sock_array[num & (SOCK_ARRAY_SIZE -1 )]; |
prot | 167 | net/inet/sock.c | get_new_socknum(struct proto *prot, unsigned short base) |
prot | 188 | net/inet/sock.c | sk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)]; |
prot | 206 | net/inet/sock.c | while(sk_inuse(prot, base +best+1)) { |
prot | 229 | net/inet/sock.c | if (sk->prot->sock_array[num] == NULL) { |
prot | 230 | net/inet/sock.c | sk->prot->sock_array[num] = sk; |
prot | 245 | net/inet/sock.c | sk1 = sk->prot->sock_array[num]; |
prot | 249 | net/inet/sock.c | sk->next = sk->prot->sock_array[num]; |
prot | 250 | net/inet/sock.c | sk->prot->sock_array[num] = sk; |
prot | 280 | net/inet/sock.c | if (!sk1->prot) { |
prot | 287 | net/inet/sock.c | sk2 = sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)]; |
prot | 289 | net/inet/sock.c | sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)] = sk1->next; |
prot | 364 | net/inet/sock.c | skb->sk->prot->close(skb->sk, 0); |
prot | 422 | net/inet/sock.c | sk->pair->prot->close(sk->pair, 0); |
prot | 488 | net/inet/sock.c | if (sk->prot->setsockopt==NULL) |
prot | 491 | net/inet/sock.c | return sk->prot->setsockopt(sk,level,optname,optval,optlen); |
prot | 503 | net/inet/sock.c | if(sk->prot->getsockopt==NULL) |
prot | 506 | net/inet/sock.c | return sk->prot->getsockopt(sk,level,optname,optval,optlen); |
prot | 666 | net/inet/sock.c | if (sk->prot == &tcp_prot) |
prot | 721 | net/inet/sock.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 758 | net/inet/sock.c | struct proto *prot; |
prot | 775 | net/inet/sock.c | prot = &tcp_prot; |
prot | 785 | net/inet/sock.c | prot=&udp_prot; |
prot | 797 | net/inet/sock.c | prot = &raw_prot; |
prot | 815 | net/inet/sock.c | prot = &packet_prot; |
prot | 889 | net/inet/sock.c | sk->prot = prot; |
prot | 936 | net/inet/sock.c | if (sk->prot->init) { |
prot | 937 | net/inet/sock.c | err = sk->prot->init(sk); |
prot | 974 | net/inet/sock.c | sk->prot->close(sk,0); |
prot | 978 | net/inet/sock.c | sk->prot->close(sk, 0); |
prot | 1046 | net/inet/sock.c | snum = get_new_socknum(sk->prot, 0); |
prot | 1057 | net/inet/sock.c | sk->prot->sock_array[snum &(SOCK_ARRAY_SIZE -1)])); |
prot | 1062 | net/inet/sock.c | for(sk2 = sk->prot->sock_array[snum & (SOCK_ARRAY_SIZE -1)]; |
prot | 1122 | net/inet/sock.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 1129 | net/inet/sock.c | if (sk->prot->connect == NULL) |
prot | 1132 | net/inet/sock.c | err = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len); |
prot | 1200 | net/inet/sock.c | if (sk1->prot->accept == NULL) return(-EOPNOTSUPP); |
prot | 1207 | net/inet/sock.c | sk2 = sk1->prot->accept(sk1,flags); |
prot | 1307 | net/inet/sock.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 1312 | net/inet/sock.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock,0)); |
prot | 1330 | net/inet/sock.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 1335 | net/inet/sock.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, flags)); |
prot | 1356 | net/inet/sock.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 1362 | net/inet/sock.c | return(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, 0)); |
prot | 1384 | net/inet/sock.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 1390 | net/inet/sock.c | return(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, flags)); |
prot | 1410 | net/inet/sock.c | if (sk->prot->sendto == NULL) return(-EOPNOTSUPP); |
prot | 1414 | net/inet/sock.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 1420 | net/inet/sock.c | return(sk->prot->sendto(sk, (unsigned char *) ubuf, size, noblock, flags, |
prot | 1437 | net/inet/sock.c | if (sk->prot->recvfrom == NULL) return(-EOPNOTSUPP); |
prot | 1441 | net/inet/sock.c | sk->num = get_new_socknum(sk->prot, 0); |
prot | 1447 | net/inet/sock.c | return(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags, |
prot | 1475 | net/inet/sock.c | if (sk->prot->shutdown) sk->prot->shutdown(sk, how); |
prot | 1491 | net/inet/sock.c | if (sk->prot->select == NULL) { |
prot | 1495 | net/inet/sock.c | return(sk->prot->select(sk, sel_type, wait)); |
prot | 1571 | net/inet/sock.c | if (!sk || !sk->prot->ioctl) return(-EINVAL); |
prot | 1572 | net/inet/sock.c | return(sk->prot->ioctl(sk, cmd, arg)); |
prot | 1690 | net/inet/sock.c | struct sock *get_sock(struct proto *prot, unsigned short num, |
prot | 1699 | net/inet/sock.c | prot, num, raddr, rnum, laddr)); |
prot | 1709 | net/inet/sock.c | for(s = prot->sock_array[hnum & (SOCK_ARRAY_SIZE - 1)]; |
prot | 1716 | net/inet/sock.c | if(prot == &udp_prot) |
prot | 1736 | net/inet/sock.c | if (!sk->prot) { |
prot | 1761 | net/inet/sock.c | if (sk->prot->rcv) sk->prot->rcv(skb, skb->dev, sk->opt, |
prot | 101 | net/inet/sock.h | struct proto *prot; |
prot | 188 | net/inet/tcp.c | int new_window = sk->prot->rspace(sk); |
prot | 433 | net/inet/tcp.c | if (sk->prot->wspace(sk) >= sk->mss) { |
prot | 511 | net/inet/tcp.c | amount = sk->prot->wspace(sk); |
prot | 647 | net/inet/tcp.c | sk->prot->queue_xmit(sk, skb->dev, skb, 0); |
prot | 715 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk, MAX_ACK_SIZE, 1, GFP_ATOMIC); |
prot | 733 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
prot | 737 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 778 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 818 | net/inet/tcp.c | struct proto *prot; |
prot | 825 | net/inet/tcp.c | prot = sk->prot; |
prot | 966 | net/inet/tcp.c | skb = prot->wmalloc(sk, sk->mtu + 128 + prot->max_header + sizeof(*skb), 0, GFP_KERNEL); |
prot | 972 | net/inet/tcp.c | skb = prot->wmalloc(sk, copy + prot->max_header + sizeof(*skb), 0, GFP_KERNEL); |
prot | 1016 | net/inet/tcp.c | tmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev, |
prot | 1019 | net/inet/tcp.c | prot->wfree(sk, skb->mem_addr, skb->mem_len); |
prot | 1031 | net/inet/tcp.c | prot->wfree(sk, skb->mem_addr, skb->mem_len); |
prot | 1118 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
prot | 1131 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 1135 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 1158 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 1181 | net/inet/tcp.c | left = sk->prot->rspace(sk); |
prot | 1205 | net/inet/tcp.c | sk->window - sk->bytes_rcv, sk->prot->rspace(sk))); |
prot | 1208 | net/inet/tcp.c | printk("sk->rspace = %lu, was %d\n", sk->prot->rspace(sk), |
prot | 1210 | net/inet/tcp.c | if (sk->prot->rspace(sk) != left) |
prot | 1231 | net/inet/tcp.c | if ((sk->prot->rspace(sk) > (sk->window - sk->bytes_rcv + sk->mtu))) { |
prot | 1455 | net/inet/tcp.c | struct proto *prot; |
prot | 1475 | net/inet/tcp.c | prot =(struct proto *)sk->prot; |
prot | 1478 | net/inet/tcp.c | buff = prot->wmalloc(sk, MAX_RESET_SIZE,1 , GFP_KERNEL); |
prot | 1490 | net/inet/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
prot | 1496 | net/inet/tcp.c | prot->wfree(sk,buff->mem_addr, buff->mem_len); |
prot | 1533 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 1583 | net/inet/tcp.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
prot | 1593 | net/inet/tcp.c | buff = prot->wmalloc(NULL, MAX_RESET_SIZE, 1, GFP_ATOMIC); |
prot | 1607 | net/inet/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &dev, IPPROTO_TCP, opt, |
prot | 1611 | net/inet/tcp.c | prot->wfree(NULL, buff->mem_addr, buff->mem_len); |
prot | 1646 | net/inet/tcp.c | prot->queue_xmit(NULL, dev, buff, 1); |
prot | 1744 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl); |
prot | 1859 | net/inet/tcp.c | buff = newsk->prot->wmalloc(newsk, MAX_SYN_SIZE, 1, GFP_ATOMIC); |
prot | 1876 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &dev, |
prot | 1921 | net/inet/tcp.c | newsk->prot->queue_xmit(newsk, dev, buff, 0); |
prot | 1942 | net/inet/tcp.c | struct proto *prot; |
prot | 2010 | net/inet/tcp.c | prot =(struct proto *)sk->prot; |
prot | 2012 | net/inet/tcp.c | buff = prot->wmalloc(sk, MAX_FIN_SIZE, 1, GFP_ATOMIC); |
prot | 2031 | net/inet/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
prot | 2068 | net/inet/tcp.c | prot->queue_xmit(sk, dev, buff, 0); |
prot | 2135 | net/inet/tcp.c | sk->prot->queue_xmit(sk, skb->dev, skb, skb->free); |
prot | 2574 | net/inet/tcp.c | sk->prot, NULL, skb->dev, sk->ip_tos, sk->ip_ttl); |
prot | 2747 | net/inet/tcp.c | while (sk->prot->rspace(sk) < sk->mtu) { |
prot | 2998 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_SYN_SIZE,0, GFP_KERNEL); |
prot | 3012 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 3015 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 3068 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
prot | 3118 | net/inet/tcp.c | tcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl); |
prot | 3230 | net/inet/tcp.c | if (!sk->prot) { |
prot | 3316 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt,dev, sk->ip_tos,sk->ip_ttl); |
prot | 3364 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
prot | 3377 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
prot | 3386 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, prot, opt,dev); |
prot | 3432 | net/inet/tcp.c | tcp_reset(daddr, saddr, th, sk->prot, opt, dev); |
prot | 3455 | net/inet/tcp.c | sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl); |
prot | 3480 | net/inet/tcp.c | sk->prot, opt, dev,sk->ip_tos,sk->ip_ttl); |
prot | 3576 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
prot | 3588 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
prot | 3591 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
prot | 3621 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
prot | 3636 | net/inet/tcp.c | sk->prot->retransmits ++; |
prot | 115 | net/inet/timer.c | sk->prot->read_wakeup (sk); |
prot | 175 | net/inet/timer.c | sk->prot->retransmit (sk, 0); |
prot | 190 | net/inet/timer.c | sk->prot->close (sk, 1); |
prot | 199 | net/inet/timer.c | if (sk->prot->write_wakeup) |
prot | 200 | net/inet/timer.c | sk->prot->write_wakeup (sk); |
prot | 203 | net/inet/timer.c | sk->prot->close (sk, 1); |
prot | 225 | net/inet/timer.c | sk->prot->close (sk, 1); |
prot | 236 | net/inet/udp.c | size = sizeof(struct sk_buff) + sk->prot->max_header + len; |
prot | 237 | net/inet/udp.c | skb = sk->prot->wmalloc(sk, size, 0, GFP_KERNEL); |
prot | 252 | net/inet/udp.c | tmp = sk->prot->build_header(skb, saddr, sin->sin_addr.s_addr, |
prot | 257 | net/inet/udp.c | sk->prot->wfree(sk, skb->mem_addr, skb->mem_len); |
prot | 278 | net/inet/udp.c | sk->prot->wfree(sk, skb->mem_addr, skb->mem_len); |
prot | 296 | net/inet/udp.c | sk->prot->queue_xmit(sk, dev, skb, 1); |
prot | 390 | net/inet/udp.c | amount = sk->prot->wspace(sk)/*/2*/; |