taglinefilesource code
prot87drivers/char/mem.cunsigned long addr, size_t len, int prot, unsigned long off)
prot94drivers/char/mem.cprot |= PAGE_PCD;
prot95drivers/char/mem.cif (remap_page_range(addr, off, len, prot))
prot105drivers/char/mem.cmpnt->vm_page_prot = prot;
prot180drivers/char/mem.cunsigned long addr, size_t len, int prot, unsigned long off)
prot184drivers/char/mem.cif (prot & PAGE_RW)
prot186drivers/char/mem.cif (zeromap_page_range(addr, len, prot))
prot199drivers/char/mem.cmpnt->vm_page_prot = prot;
prot831fs/buffer.cunsigned long bread_page(unsigned long address, dev_t dev, int b[], int size, int prot)
prot837fs/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;
prot391fs/proc/array.cint prot = map->vm_page_prot;
prot405fs/proc/array.cif ((prot & PAGE_READONLY) == PAGE_READONLY)
prot407fs/proc/array.cif (prot & (PAGE_COW|PAGE_RW)) {
prot409fs/proc/array.cflags = prot & PAGE_COW ? MAP_PRIVATE : MAP_SHARED;
prot392include/linux/fs.hextern unsigned long bread_page(unsigned long addr,dev_t dev,int b[],int size,int prot);
prot146include/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;
prot1152mm/memory.cint prot = area->vm_page_prot;
prot1173mm/memory.cprot |= PAGE_RW | PAGE_DIRTY;
prot1174mm/memory.cpage = bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, prot);
prot1176mm/memory.cif (!(prot & PAGE_RW)) {
prot1180mm/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)
prot230mm/mmap.casmlinkage int sys_mprotect(unsigned long addr, size_t len, unsigned long prot)
prot312mm/mmap.cunsigned long addr, size_t len, int prot, unsigned long off)
prot318mm/mmap.cif (prot & PAGE_RW)  /* only PAGE_COW or read-only supported right now */
prot342mm/mmap.cmpnt->vm_page_prot = prot;
prot189net/inet/datagram.cif (sk->prot && sk->prot->wspace(sk) >= MIN_WRITE_SPACE)
prot193net/inet/datagram.cif (sk->prot==NULL && sk->sndbuf-sk->wmem_alloc >= MIN_WRITE_SPACE)
prot1453net/inet/ip.cstruct proto *prot;
prot1457net/inet/ip.cprot = sk->prot;
prot1499net/inet/ip.csk->prot->retransmits ++;
prot122net/inet/packet.cskb = 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);
prot190net/inet/raw.cskb = sk->prot->wmalloc(sk,
prot191net/inet/raw.clen+sizeof(*skb) + sk->prot->max_header,
prot214net/inet/raw.cskb->mem_len = len + sizeof(*skb) +sk->prot->max_header;
prot220net/inet/raw.ctmp = sk->prot->build_header(skb, sk->saddr, 
prot255net/inet/raw.csk->prot->queue_xmit(sk, dev, skb, 1);
prot397net/inet/skbuff.cif(skb->sk->prot!=NULL)
prot400net/inet/skbuff.cskb->sk->prot->rfree(skb->sk, skb->mem_addr, skb->mem_len);
prot402net/inet/skbuff.cskb->sk->prot->wfree(skb->sk, skb->mem_addr, skb->mem_len);
prot126net/inet/sock.cprintk("  prot = %p\n", sk->prot);
prot153net/inet/sock.csk_inuse(struct proto *prot, int num)
prot157net/inet/sock.cfor(sk = prot->sock_array[num & (SOCK_ARRAY_SIZE -1 )];
prot167net/inet/sock.cget_new_socknum(struct proto *prot, unsigned short base)
prot188net/inet/sock.csk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)];
prot206net/inet/sock.cwhile(sk_inuse(prot, base +best+1)) {
prot229net/inet/sock.cif (sk->prot->sock_array[num] == NULL) {
prot230net/inet/sock.csk->prot->sock_array[num] = sk;
prot245net/inet/sock.csk1 = sk->prot->sock_array[num];
prot249net/inet/sock.csk->next = sk->prot->sock_array[num];
prot250net/inet/sock.csk->prot->sock_array[num] = sk;
prot280net/inet/sock.cif (!sk1->prot) {
prot287net/inet/sock.csk2 = sk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)];
prot289net/inet/sock.csk1->prot->sock_array[sk1->num &(SOCK_ARRAY_SIZE -1)] = sk1->next;
prot364net/inet/sock.cskb->sk->prot->close(skb->sk, 0);
prot422net/inet/sock.csk->pair->prot->close(sk->pair, 0);
prot488net/inet/sock.cif (sk->prot->setsockopt==NULL)
prot491net/inet/sock.creturn sk->prot->setsockopt(sk,level,optname,optval,optlen);
prot503net/inet/sock.cif(sk->prot->getsockopt==NULL)    
prot506net/inet/sock.creturn sk->prot->getsockopt(sk,level,optname,optval,optlen);
prot666net/inet/sock.cif (sk->prot == &tcp_prot) 
prot721net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot758net/inet/sock.cstruct proto *prot;
prot775net/inet/sock.cprot = &tcp_prot;
prot785net/inet/sock.cprot=&udp_prot;
prot797net/inet/sock.cprot = &raw_prot;
prot815net/inet/sock.cprot = &packet_prot;
prot889net/inet/sock.csk->prot = prot;
prot936net/inet/sock.cif (sk->prot->init) {
prot937net/inet/sock.cerr = sk->prot->init(sk);
prot974net/inet/sock.csk->prot->close(sk,0);
prot978net/inet/sock.csk->prot->close(sk, 0);
prot1046net/inet/sock.csnum = get_new_socknum(sk->prot, 0);
prot1057net/inet/sock.csk->prot->sock_array[snum &(SOCK_ARRAY_SIZE -1)]));
prot1062net/inet/sock.cfor(sk2 = sk->prot->sock_array[snum & (SOCK_ARRAY_SIZE -1)];
prot1122net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1129net/inet/sock.cif (sk->prot->connect == NULL) 
prot1132net/inet/sock.cerr = sk->prot->connect(sk, (struct sockaddr_in *)uaddr, addr_len);
prot1200net/inet/sock.cif (sk1->prot->accept == NULL) return(-EOPNOTSUPP);
prot1207net/inet/sock.csk2 = sk1->prot->accept(sk1,flags);
prot1307net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1312net/inet/sock.creturn(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock,0));
prot1330net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1335net/inet/sock.creturn(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, flags));
prot1356net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1362net/inet/sock.creturn(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, 0));
prot1384net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1390net/inet/sock.creturn(sk->prot->write(sk, (unsigned char *) ubuf, size, noblock, flags));
prot1410net/inet/sock.cif (sk->prot->sendto == NULL) return(-EOPNOTSUPP);
prot1414net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1420net/inet/sock.creturn(sk->prot->sendto(sk, (unsigned char *) ubuf, size, noblock, flags, 
prot1437net/inet/sock.cif (sk->prot->recvfrom == NULL) return(-EOPNOTSUPP);
prot1441net/inet/sock.csk->num = get_new_socknum(sk->prot, 0);
prot1447net/inet/sock.creturn(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags,
prot1475net/inet/sock.cif (sk->prot->shutdown) sk->prot->shutdown(sk, how);
prot1491net/inet/sock.cif (sk->prot->select == NULL) {
prot1495net/inet/sock.creturn(sk->prot->select(sk, sel_type, wait));
prot1571net/inet/sock.cif (!sk || !sk->prot->ioctl) return(-EINVAL);
prot1572net/inet/sock.creturn(sk->prot->ioctl(sk, cmd, arg));
prot1690net/inet/sock.cstruct sock *get_sock(struct proto *prot, unsigned short num,
prot1699net/inet/sock.cprot, num, raddr, rnum, laddr));
prot1709net/inet/sock.cfor(s = prot->sock_array[hnum & (SOCK_ARRAY_SIZE - 1)];
prot1716net/inet/sock.cif(prot == &udp_prot)
prot1736net/inet/sock.cif (!sk->prot) {
prot1761net/inet/sock.cif (sk->prot->rcv) sk->prot->rcv(skb, skb->dev, sk->opt,
prot101net/inet/sock.hstruct proto      *prot;
prot188net/inet/tcp.cint new_window = sk->prot->rspace(sk);
prot433net/inet/tcp.cif (sk->prot->wspace(sk) >= sk->mss) {
prot511net/inet/tcp.camount = sk->prot->wspace(sk);
prot647net/inet/tcp.csk->prot->queue_xmit(sk, skb->dev, skb, 0);
prot715net/inet/tcp.cbuff = sk->prot->wmalloc(sk, MAX_ACK_SIZE, 1, GFP_ATOMIC);
prot733net/inet/tcp.ctmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev,
prot737net/inet/tcp.csk->prot->wfree(sk, buff->mem_addr, buff->mem_len);
prot778net/inet/tcp.csk->prot->queue_xmit(sk, dev, buff, 1);
prot818net/inet/tcp.cstruct proto *prot;
prot825net/inet/tcp.cprot = sk->prot;
prot966net/inet/tcp.cskb = prot->wmalloc(sk, sk->mtu + 128 + prot->max_header + sizeof(*skb), 0, GFP_KERNEL);
prot972net/inet/tcp.cskb = prot->wmalloc(sk, copy + prot->max_header + sizeof(*skb), 0, GFP_KERNEL);
prot1016net/inet/tcp.ctmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev,
prot1019net/inet/tcp.cprot->wfree(sk, skb->mem_addr, skb->mem_len);
prot1031net/inet/tcp.cprot->wfree(sk, skb->mem_addr, skb->mem_len);
prot1118net/inet/tcp.cbuff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC);
prot1131net/inet/tcp.ctmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev,
prot1135net/inet/tcp.csk->prot->wfree(sk, buff->mem_addr, buff->mem_len);
prot1158net/inet/tcp.csk->prot->queue_xmit(sk, dev, buff, 1);
prot1181net/inet/tcp.cleft = sk->prot->rspace(sk);
prot1205net/inet/tcp.csk->window - sk->bytes_rcv, sk->prot->rspace(sk)));
prot1208net/inet/tcp.cprintk("sk->rspace = %lu, was %d\n", sk->prot->rspace(sk),
prot1210net/inet/tcp.cif (sk->prot->rspace(sk) != left) 
prot1231net/inet/tcp.cif ((sk->prot->rspace(sk) > (sk->window - sk->bytes_rcv + sk->mtu))) {
prot1455net/inet/tcp.cstruct proto *prot;
prot1475net/inet/tcp.cprot =(struct proto *)sk->prot;
prot1478net/inet/tcp.cbuff = prot->wmalloc(sk, MAX_RESET_SIZE,1 , GFP_KERNEL);
prot1490net/inet/tcp.ctmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev,
prot1496net/inet/tcp.cprot->wfree(sk,buff->mem_addr, buff->mem_len);
prot1533net/inet/tcp.csk->prot->queue_xmit(sk, dev, buff, 0);
prot1583net/inet/tcp.cstruct proto *prot, struct options *opt, struct device *dev, int tos, int ttl)
prot1593net/inet/tcp.cbuff = prot->wmalloc(NULL, MAX_RESET_SIZE, 1, GFP_ATOMIC);
prot1607net/inet/tcp.ctmp = prot->build_header(buff, saddr, daddr, &dev, IPPROTO_TCP, opt,
prot1611net/inet/tcp.cprot->wfree(NULL, buff->mem_addr, buff->mem_len);
prot1646net/inet/tcp.cprot->queue_xmit(NULL, dev, buff, 1);
prot1744net/inet/tcp.ctcp_reset(daddr, saddr, th, sk->prot, opt, dev, sk->ip_tos,sk->ip_ttl);
prot1859net/inet/tcp.cbuff = newsk->prot->wmalloc(newsk, MAX_SYN_SIZE, 1, GFP_ATOMIC);
prot1876net/inet/tcp.ctmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &dev,
prot1921net/inet/tcp.cnewsk->prot->queue_xmit(newsk, dev, buff, 0);
prot1942net/inet/tcp.cstruct proto *prot;
prot2010net/inet/tcp.cprot =(struct proto *)sk->prot;
prot2012net/inet/tcp.cbuff = prot->wmalloc(sk, MAX_FIN_SIZE, 1, GFP_ATOMIC);
prot2031net/inet/tcp.ctmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev,
prot2068net/inet/tcp.cprot->queue_xmit(sk, dev, buff, 0);
prot2135net/inet/tcp.csk->prot->queue_xmit(sk, skb->dev, skb, skb->free);
prot2574net/inet/tcp.csk->prot, NULL, skb->dev, sk->ip_tos, sk->ip_ttl);
prot2747net/inet/tcp.cwhile (sk->prot->rspace(sk) < sk->mtu) {
prot2998net/inet/tcp.cbuff = sk->prot->wmalloc(sk,MAX_SYN_SIZE,0, GFP_KERNEL);
prot3012net/inet/tcp.ctmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev,
prot3015net/inet/tcp.csk->prot->wfree(sk, buff->mem_addr, buff->mem_len);
prot3068net/inet/tcp.csk->prot->queue_xmit(sk, dev, buff, 0);  
prot3118net/inet/tcp.ctcp_reset(sk->saddr,sk->daddr,th,sk->prot,NULL,dev, sk->ip_tos,sk->ip_ttl);
prot3230net/inet/tcp.cif (!sk->prot) {
prot3316net/inet/tcp.ctcp_reset(daddr, saddr,  th, sk->prot, opt,dev, sk->ip_tos,sk->ip_ttl);
prot3364net/inet/tcp.ctcp_reset(daddr, saddr, th, sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl);
prot3377net/inet/tcp.ctcp_reset(daddr, saddr, th, sk->prot, opt,dev,sk->ip_tos,sk->ip_ttl);
prot3386net/inet/tcp.ctcp_reset(daddr, saddr, th, prot, opt,dev);
prot3432net/inet/tcp.ctcp_reset(daddr, saddr,  th, sk->prot, opt, dev);
prot3455net/inet/tcp.csk->prot, opt,dev,sk->ip_tos,sk->ip_ttl);
prot3480net/inet/tcp.csk->prot, opt, dev,sk->ip_tos,sk->ip_ttl);
prot3576net/inet/tcp.cbuff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC);
prot3588net/inet/tcp.ctmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev,
prot3591net/inet/tcp.csk->prot->wfree(sk, buff->mem_addr, buff->mem_len);
prot3621net/inet/tcp.csk->prot->queue_xmit(sk, dev, buff, 1);
prot3636net/inet/tcp.csk->prot->retransmits ++;
prot115net/inet/timer.csk->prot->read_wakeup (sk);
prot175net/inet/timer.csk->prot->retransmit (sk, 0);
prot190net/inet/timer.csk->prot->close (sk, 1);
prot199net/inet/timer.cif (sk->prot->write_wakeup)
prot200net/inet/timer.csk->prot->write_wakeup (sk);
prot203net/inet/timer.csk->prot->close (sk, 1);
prot225net/inet/timer.csk->prot->close (sk, 1);
prot236net/inet/udp.csize = sizeof(struct sk_buff) + sk->prot->max_header + len;
prot237net/inet/udp.cskb = sk->prot->wmalloc(sk, size, 0, GFP_KERNEL);
prot252net/inet/udp.ctmp = sk->prot->build_header(skb, saddr, sin->sin_addr.s_addr,
prot257net/inet/udp.csk->prot->wfree(sk, skb->mem_addr, skb->mem_len);
prot278net/inet/udp.csk->prot->wfree(sk, skb->mem_addr, skb->mem_len);
prot296net/inet/udp.csk->prot->queue_xmit(sk, dev, skb, 1);
prot390net/inet/udp.camount = sk->prot->wspace(sk)/*/2*/;