taglinefilesource code
prot87drivers/char/mem.cunsigned long addr, size_t len, int prot, unsigned long off)
prot93drivers/char/mem.cif (remap_page_range(addr, off, len, prot))
prot103drivers/char/mem.cmpnt->vm_page_prot = prot;
prot178drivers/char/mem.cunsigned long addr, size_t len, int prot, unsigned long off)
prot182drivers/char/mem.cif (prot & PAGE_RW)
prot184drivers/char/mem.cif (zeromap_page_range(addr, len, prot))
prot197drivers/char/mem.cmpnt->vm_page_prot = prot;
prot835fs/buffer.cunsigned long bread_page(unsigned long address, dev_t dev, int b[], int size, int prot)
prot841fs/buffer.cif (!(prot & PAGE_RW)) {
prot25fs/nfs/file.cunsigned long addr, size_t len, int prot, unsigned long off);
prot31fs/nfs/mmap.cunsigned long address,int prot);
prot52fs/nfs/mmap.cunsigned long addr, size_t len, int prot, unsigned long off)
prot56fs/nfs/mmap.cif (prot & PAGE_RW)  /* only PAGE_COW or read-only supported now */
prot75fs/nfs/mmap.cmpnt->vm_page_prot = prot;
prot363fs/proc/array.cint prot = map->vm_page_prot;
prot377fs/proc/array.cif ((prot & PAGE_READONLY) == PAGE_READONLY)
prot379fs/proc/array.cif (prot & (PAGE_COW|PAGE_RW)) {
prot381fs/proc/array.cflags = prot & PAGE_COW ? MAP_PRIVATE : MAP_SHARED;
prot385include/linux/fs.hextern unsigned long bread_page(unsigned long addr,dev_t dev,int b[],int size,int prot);
prot129include/linux/mm.hunsigned long prot, unsigned long flags, unsigned long off);
prot122include/linux/nfs_fs.hunsigned long addr, size_t len, int prot, unsigned long off);
prot471mm/memory.cunsigned long address,int prot)
prot475mm/memory.cif ((prot & (PAGE_MASK|PAGE_PRESENT)) != PAGE_PRESENT)
prot476mm/memory.cprintk("put_page: prot = %08x\n",prot);
prot496mm/memory.c*page_table = page | prot;
prot554mm/memory.cunsigned long *pde, pte, old_page, prot;
prot574mm/memory.cprot = (old_page & ~PAGE_MASK) | PAGE_RW;
prot581mm/memory.c*(unsigned long *) pte = new_page | prot;
prot588mm/memory.c*(unsigned long *) pte = BAD_PAGE | prot;
prot1157mm/memory.cint prot = area->vm_page_prot;
prot1178mm/memory.cprot |= PAGE_RW | PAGE_DIRTY;
prot1179mm/memory.cpage = bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, prot);
prot1181mm/memory.cif (!(prot & PAGE_RW)) {
prot1185mm/memory.cif (put_page(area->vm_task,page,address,prot))
prot43mm/mmap.cunsigned long prot, unsigned long flags, unsigned long off)
prot62mm/mmap.cif ((prot & PROT_WRITE) && !(file->f_mode & 2))
prot112mm/mmap.cif (prot & (PROT_READ | PROT_EXEC))
prot114mm/mmap.cif (prot & PROT_WRITE)
prot227mm/mmap.casmlinkage int sys_mprotect(unsigned long addr, size_t len, unsigned long prot)
prot309mm/mmap.cunsigned long addr, size_t len, int prot, unsigned long off)
prot315mm/mmap.cif (prot & PAGE_RW)  /* only PAGE_COW or read-only supported right now */
prot339mm/mmap.cmpnt->vm_page_prot = prot;
prot164net/inet/datagram.cif (sk->prot->wspace(sk) >= MIN_WRITE_SPACE) 
prot1413net/inet/ip.cstruct proto *prot;
prot1416net/inet/ip.cprot = sk->prot;
prot1456net/inet/ip.csk->prot->retransmits ++;
prot121net/inet/packet.cskb = (struct sk_buff *) sk->prot->wmalloc(sk, len+sizeof(*skb), 0, GFP_KERNEL);
prot86net/inet/protocol.cinet_get_protocol(unsigned char prot)
prot91net/inet/protocol.cDPRINTF((DBG_PROTO, "get_protocol (%d)\n ", prot));
prot92net/inet/protocol.chash = prot & (MAX_INET_PROTOS - 1);
prot95net/inet/protocol.cif (p->protocol == prot) return((struct inet_protocol *) p);
prot102net/inet/protocol.cinet_add_protocol(struct inet_protocol *prot)
prot107net/inet/protocol.chash = prot->protocol & (MAX_INET_PROTOS - 1);
prot108net/inet/protocol.cprot ->next = inet_protos[hash];
prot109net/inet/protocol.cinet_protos[hash] = prot;
prot110net/inet/protocol.cprot->copy = 0;
prot113net/inet/protocol.cp2 = (struct inet_protocol *) prot->next;
prot115net/inet/protocol.cif (p2->protocol == prot->protocol) {
prot116net/inet/protocol.cprot->copy = 1;
prot119net/inet/protocol.cp2 = (struct inet_protocol *) prot->next;
prot125net/inet/protocol.cinet_del_protocol(struct inet_protocol *prot)
prot131net/inet/protocol.chash = prot->protocol & (MAX_INET_PROTOS - 1);
prot132net/inet/protocol.cif (prot == inet_protos[hash]) {
prot144net/inet/protocol.cif (p->next != NULL && p->next == prot) {
prot150net/inet/protocol.cp->next = prot->next;
prot154net/inet/protocol.cif (p->next != NULL && p->next->protocol == prot->protocol) {
prot55net/inet/protocol.hextern void    inet_add_protocol(struct inet_protocol *prot);
prot56net/inet/protocol.hextern int    inet_del_protocol(struct inet_protocol *prot);
prot184net/inet/raw.cskb = (struct sk_buff *) sk->prot->wmalloc(sk,
prot185net/inet/raw.clen+sizeof(*skb) + sk->prot->max_header,
prot208net/inet/raw.cskb->mem_len = len + sizeof(*skb) +sk->prot->max_header;
prot214net/inet/raw.ctmp = sk->prot->build_header(skb, sk->saddr, 
prot249net/inet/raw.csk->prot->queue_xmit(sk, dev, skb, 1);
prot389net/inet/skbuff.cskb->sk->prot->rfree(skb->sk, skb->mem_addr, skb->mem_len);
prot391net/inet/skbuff.cskb->sk->prot->wfree(skb->sk, skb->mem_addr, skb->mem_len);
prot120net/inet/sock.cprintk("  prot = %p\n", sk->prot);
prot147net/inet/sock.csk_inuse(struct proto *prot, int num)
prot151net/inet/sock.cfor(sk = prot->sock_array[num & (SOCK_ARRAY_SIZE -1 )];
prot161net/inet/sock.cget_new_socknum(struct proto *prot, unsigned short base)
prot182net/inet/sock.csk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)];
prot200net/inet/sock.cwhile(sk_inuse(prot, base +best+1)) {
prot223net/inet/sock.cif (sk->prot->sock_array[num] == NULL) {
prot224net/inet/sock.csk->prot->sock_array[num] = sk;
prot239net/inet/sock.csk1 = sk->prot->sock_array[num];
prot243net/inet/sock.csk->next = sk->prot->sock_array[num];
prot244net/inet/sock.csk->prot->sock_array[num] = sk;
prot274net/inet/sock.cif (!sk1->prot) {
prot281net/inet/sock.csk2 = sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)];
prot283net/inet/sock.csk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)] = sk1->next;
prot358net/inet/sock.cskb->sk->prot->close(skb->sk, 0);
prot416net/inet/sock.csk->pair->prot->close(sk->pair, 0);
prot633net/inet/sock.cif (sk->prot == &tcp_prot) val = SOCK_STREAM;
prot684net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot704net/inet/sock.cstruct proto *prot;
prot721net/inet/sock.cprot = &tcp_prot;
prot731net/inet/sock.cprot=&udp_prot;
prot743net/inet/sock.cprot = &raw_prot;
prot761net/inet/sock.cprot = &packet_prot;
prot826net/inet/sock.csk->prot = prot;
prot865net/inet/sock.cif (sk->prot->init) {
prot866net/inet/sock.cerr = sk->prot->init(sk);
prot903net/inet/sock.csk->prot->close(sk,0);
prot907net/inet/sock.csk->prot->close(sk, 0);
prot971net/inet/sock.csnum = get_new_socknum(sk->prot, 0);
prot982net/inet/sock.csk->prot->sock_array[snum &(SOCK_ARRAY_SIZE -1)]));
prot987net/inet/sock.cfor(sk2 = sk->prot->sock_array[snum & (SOCK_ARRAY_SIZE -1)];
prot1047net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1054net/inet/sock.cif (sk->prot->connect == NULL) 
prot1057net/inet/sock.cerr = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len);
prot1121net/inet/sock.cif (sk1->prot->accept == NULL) return(-EOPNOTSUPP);
prot1128net/inet/sock.csk2 = sk1->prot->accept(sk1,flags);
prot1228net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1233net/inet/sock.creturn(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock,0));
prot1251net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1256net/inet/sock.creturn(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, flags));
prot1277net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1283net/inet/sock.creturn(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, 0));
prot1305net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1311net/inet/sock.creturn(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, flags));
prot1331net/inet/sock.cif (sk->prot->sendto == NULL) return(-EOPNOTSUPP);
prot1335net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1341net/inet/sock.creturn(sk->prot->sendto(sk, (unsigned char *) ubuf, size, noblock, flags, 
prot1358net/inet/sock.cif (sk->prot->recvfrom == NULL) return(-EOPNOTSUPP);
prot1362net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1368net/inet/sock.creturn(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags,
prot1396net/inet/sock.cif (sk->prot->shutdown) sk->prot->shutdown(sk, how);
prot1412net/inet/sock.cif (sk->prot->select == NULL) {
prot1416net/inet/sock.creturn(sk->prot->select(sk, sel_type, wait));
prot1492net/inet/sock.cif (!sk || !sk->prot->ioctl) return(-EINVAL);
prot1493net/inet/sock.creturn(sk->prot->ioctl(sk, cmd, arg));
prot1606net/inet/sock.cstruct sock *get_sock(struct proto *prot, unsigned short num,
prot1615net/inet/sock.cprot, num, raddr, rnum, laddr));
prot1625net/inet/sock.cfor(s = prot->sock_array[hnum & (SOCK_ARRAY_SIZE - 1)];
prot1632net/inet/sock.cif(prot == &udp_prot)
prot1652net/inet/sock.cif (!sk->prot) {
prot1677net/inet/sock.cif (sk->prot->rcv) sk->prot->rcv(skb, skb->dev, sk->opt,
prot91net/inet/sock.hstruct proto      *prot;
prot376net/inet/tcp.cif (sk->prot->wspace(sk) >= sk->mtu) {
prot466net/inet/tcp.camount = sk->prot->wspace(sk);
prot583net/inet/tcp.csk->prot->queue_xmit(sk, skb->dev, skb,0);
prot606net/inet/tcp.cbuff = (struct sk_buff *) sk->prot->wmalloc(sk, MAX_ACK_SIZE, 1, GFP_ATOMIC);
prot624net/inet/tcp.ctmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev,
prot628net/inet/tcp.csk->prot->wfree(sk, buff->mem_addr, buff->mem_len);
prot643net/inet/tcp.csk->window = sk->prot->rspace(sk);
prot665net/inet/tcp.csk->prot->queue_xmit(sk, dev, buff, 1);
prot685net/inet/tcp.csk->window = sk->prot->rspace(sk);
prot705net/inet/tcp.cstruct proto *prot;
prot712net/inet/tcp.cprot = sk->prot;
prot791net/inet/tcp.cprot->max_header, len);
prot830net/inet/tcp.cskb = (struct sk_buff *) prot->wmalloc(sk,
prot831net/inet/tcp.csk->mss + 128 + prot->max_header +
prot836net/inet/tcp.cskb->mem_len = sk->mss + 128 + prot->max_header + sizeof(*skb);
prot840net/inet/tcp.cskb = (struct sk_buff *) prot->wmalloc(sk,
prot841net/inet/tcp.ccopy + prot->max_header +
prot845net/inet/tcp.cskb->mem_len = copy+prot->max_header + sizeof(*skb);
prot889net/inet/tcp.ctmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev,
prot892net/inet/tcp.cprot->wfree(sk, skb->mem_addr, skb->mem_len);
prot904net/inet/tcp.cprot->wfree(sk, skb->mem_addr, skb->mem_len);
prot946net/inet/tcp.cprot->queue_xmit(sk, dev, skb,0);
prot997net/inet/tcp.cbuff = (struct sk_buff *) sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC);
prot1010net/inet/tcp.ctmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev,
prot1014net/inet/tcp.csk->prot->wfree(sk, buff->mem_addr, buff->mem_len);
prot1032net/inet/tcp.csk->window = sk->prot->rspace(sk);
prot1037net/inet/tcp.csk->prot->queue_xmit(sk, dev, buff, 1);
prot1060net/inet/tcp.cleft = sk->prot->rspace(sk);
prot1084net/inet/tcp.csk->window - sk->bytes_rcv, sk->prot->rspace(sk)));
prot1087net/inet/tcp.cprintk("sk->rspace = %lu, was %d\n", sk->prot->rspace(sk),
prot1089net/inet/tcp.cif (sk->prot->rspace(sk) != left) 
prot1102net/inet/tcp.cif ((sk->prot->rspace(sk) > (sk->window - sk->bytes_rcv + sk->mtu))) {
prot1451net/inet/tcp.cstruct proto *prot;
prot1470net/inet/tcp.cprot =(struct proto *)sk->prot;
prot1473net/inet/tcp.cbuff = (struct sk_buff *) prot->wmalloc(sk, MAX_RESET_SIZE,1 , GFP_KERNEL);
prot1485net/inet/tcp.ctmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev,
prot1490net/inet/tcp.cprot->wfree(sk,buff->mem_addr, buff->mem_len);
prot1505net/inet/tcp.ct1->window = ntohs(sk->prot->rspace(sk));
prot1522net/inet/tcp.csk->prot->queue_xmit(sk, dev, buff, 0);
prot1572net/inet/tcp.cstruct proto *prot, struct options *opt, struct device *dev)
prot1582net/inet/tcp.cbuff = (struct sk_buff *) prot->wmalloc(NULL, MAX_RESET_SIZE, 1, GFP_ATOMIC);
prot1596net/inet/tcp.ctmp = prot->build_header(buff, saddr, daddr, &dev, IPPROTO_TCP, opt,
prot1600net/inet/tcp.cprot->wfree(NULL, buff->mem_addr, buff->mem_len);
prot1635net/inet/tcp.cprot->queue_xmit(NULL, dev, buff, 1);
prot1720net/inet/tcp.ctcp_reset(daddr, saddr, th, sk->prot, opt, dev);
prot1820net/inet/tcp.cbuff = (struct sk_buff *) newsk->prot->wmalloc(newsk, MAX_SYN_SIZE, 1, GFP_ATOMIC);
prot1837net/inet/tcp.ctmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &dev,
prot1863net/inet/tcp.cnewsk->window = newsk->prot->rspace(newsk);
prot1881net/inet/tcp.cnewsk->prot->queue_xmit(newsk, dev, buff, 0);
prot1902net/inet/tcp.cstruct proto *prot;
prot1979net/inet/tcp.cprot =(struct proto *)sk->prot;
prot1981net/inet/tcp.cbuff = (struct sk_buff *) prot->wmalloc(sk, MAX_FIN_SIZE, 1, GFP_ATOMIC);
prot2000net/inet/tcp.ctmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev,
prot2022net/inet/tcp.ct1->window = ntohs(sk->prot->rspace(sk));
prot2029net/inet/tcp.cprot->queue_xmit(sk, dev, buff, 0);
prot2093net/inet/tcp.csk->prot->queue_xmit(sk, skb->dev, skb, skb->free);
prot2424net/inet/tcp.csk->prot, NULL, skb->dev);
prot2581net/inet/tcp.cwhile (sk->prot->rspace(sk) < sk->mtu) {
prot2801net/inet/tcp.cbuff = (struct sk_buff *) sk->prot->wmalloc(sk,MAX_SYN_SIZE,0, GFP_KERNEL);
prot2815net/inet/tcp.ctmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev,
prot2818net/inet/tcp.csk->prot->wfree(sk, buff->mem_addr, buff->mem_len);
prot2855net/inet/tcp.csk->prot->queue_xmit(sk, dev, buff, 0);  
prot3015net/inet/tcp.cif (!sk->prot) {
prot3098net/inet/tcp.ctcp_reset(daddr, saddr,  th, sk->prot, opt,dev);
prot3148net/inet/tcp.ctcp_reset(daddr, saddr, th, sk->prot, opt,dev);
prot3161net/inet/tcp.ctcp_reset(daddr, saddr, th, sk->prot, opt,dev);
prot3170net/inet/tcp.ctcp_reset(daddr, saddr, th, prot, opt,dev);
prot3216net/inet/tcp.ctcp_reset(daddr, saddr,  th, sk->prot, opt, dev);
prot3239net/inet/tcp.csk->prot, opt,dev);
prot3264net/inet/tcp.csk->prot, opt, dev);
prot3344net/inet/tcp.cbuff = (struct sk_buff *) sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC);
prot3356net/inet/tcp.ctmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev,
prot3359net/inet/tcp.csk->prot->wfree(sk, buff->mem_addr, buff->mem_len);
prot3382net/inet/tcp.ct1->window = ntohs(sk->prot->rspace(sk));
prot3389net/inet/tcp.csk->prot->queue_xmit(sk, dev, buff, 1);
prot109net/inet/timer.csk->prot->read_wakeup (sk);
prot166net/inet/timer.csk->prot->retransmit (sk, 0);
prot181net/inet/timer.csk->prot->close (sk, 1);
prot190net/inet/timer.cif (sk->prot->write_wakeup)
prot191net/inet/timer.csk->prot->write_wakeup (sk);
prot194net/inet/timer.csk->prot->close (sk, 1);
prot216net/inet/timer.csk->prot->close (sk, 1);
prot235net/inet/udp.csize = sizeof(struct sk_buff) + sk->prot->max_header + len;
prot236net/inet/udp.cskb = (struct sk_buff *) sk->prot->wmalloc(sk, size, 0, GFP_KERNEL);
prot251net/inet/udp.ctmp = sk->prot->build_header(skb, saddr, sin->sin_addr.s_addr,
prot256net/inet/udp.csk->prot->wfree(sk, skb->mem_addr, skb->mem_len);
prot277net/inet/udp.csk->prot->wfree(sk, skb->mem_addr, skb->mem_len);
prot295net/inet/udp.csk->prot->queue_xmit(sk, dev, skb, 1);
prot389net/inet/udp.camount = sk->prot->wspace(sk)/*/2*/;