/linux-2.4.37.9/net/ipv6/ |
D | protocol.c | 45 void inet6_add_protocol(struct inet6_protocol *prot) in inet6_add_protocol() argument 50 hash = prot->protocol & (MAX_INET_PROTOS - 1); in inet6_add_protocol() 52 prot->next = inet6_protos[hash]; in inet6_add_protocol() 53 inet6_protos[hash] = prot; in inet6_add_protocol() 54 prot->copy = 0; in inet6_add_protocol() 60 p2 = (struct inet6_protocol *) prot->next; in inet6_add_protocol() 62 if (p2->protocol == prot->protocol) { in inet6_add_protocol() 63 prot->copy = 1; in inet6_add_protocol() 75 int inet6_del_protocol(struct inet6_protocol *prot) in inet6_del_protocol() argument 81 hash = prot->protocol & (MAX_INET_PROTOS - 1); in inet6_del_protocol() [all …]
|
D | af_inet6.c | 156 sk->prot = answer->prot; in inet6_create() 172 sk->backlog_rcv = answer->prot->backlog_rcv; in inet6_create() 209 sk->prot->hash(sk); in inet6_create() 211 if (sk->prot->init) { in inet6_create() 212 int err = sk->prot->init(sk); in inet6_create() 245 if(sk->prot->bind) in inet6_bind() 246 return sk->prot->bind(sk, uaddr, addr_len); in inet6_bind() 310 if (sk->prot->get_port(sk, snum) != 0) { in inet6_bind() 462 if(sk->prot->ioctl==0 || (err=sk->prot->ioctl(sk, cmd, arg))==-ENOIOCTLCMD) in inet6_ioctl() 555 prot: &rawv6_prot,
|
/linux-2.4.37.9/net/ipv4/ |
D | protocol.c | 108 void inet_add_protocol(struct inet_protocol *prot) in inet_add_protocol() argument 113 hash = prot->protocol & (MAX_INET_PROTOS - 1); in inet_add_protocol() 115 prot ->next = inet_protos[hash]; in inet_add_protocol() 116 inet_protos[hash] = prot; in inet_add_protocol() 117 prot->copy = 0; in inet_add_protocol() 123 p2 = (struct inet_protocol *) prot->next; in inet_add_protocol() 125 if (p2->protocol == prot->protocol) { in inet_add_protocol() 126 prot->copy = 1; in inet_add_protocol() 138 int inet_del_protocol(struct inet_protocol *prot) in inet_del_protocol() argument 144 hash = prot->protocol & (MAX_INET_PROTOS - 1); in inet_del_protocol() [all …]
|
D | af_inet.c | 189 if (sk->prot->destroy) in inet_sock_release() 190 sk->prot->destroy(sk); in inet_sock_release() 199 sk->prot->unhash(sk); in inet_sock_release() 241 return sk->prot->setsockopt(sk,level,optname,optval,optlen); in inet_setsockopt() 257 return sk->prot->getsockopt(sk,level,optname,optval,optlen); in inet_getsockopt() 269 if (sk->prot->get_port(sk, 0) != 0) { in inet_autobind() 361 sk->prot = answer->prot; in inet_create() 387 sk->backlog_rcv = sk->prot->backlog_rcv; in inet_create() 409 sk->prot->hash(sk); in inet_create() 412 if (sk->prot->init) { in inet_create() [all …]
|
/linux-2.4.37.9/arch/sparc64/mm/ |
D | generic.c | 42 unsigned long offset, pgprot_t prot, int space) in io_remap_pte_range() argument 55 entry = mk_pte_io((offset & ~(0x1UL)), prot, space); in io_remap_pte_range() 59 __pgprot(pgprot_val (prot) | _PAGE_SZ4MB), in io_remap_pte_range() 65 __pgprot(pgprot_val (prot) | _PAGE_SZ512K), in io_remap_pte_range() 71 __pgprot(pgprot_val (prot) | _PAGE_SZ64K), in io_remap_pte_range() 94 unsigned long offset, pgprot_t prot, int space) in io_remap_pmd_range() argument 107 io_remap_pte_range(pte, address, end - address, address + offset, prot, space); in io_remap_pmd_range() 114 int io_remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot… in io_remap_page_range() argument 122 prot = __pgprot(pg_iobits); in io_remap_page_range() 133 error = io_remap_pmd_range(pmd, from, end - from, offset + from, prot, space); in io_remap_page_range()
|
/linux-2.4.37.9/fs/affs/ |
D | amigaffs.c | 393 prot_to_mode(u32 prot) in prot_to_mode() argument 397 if (!(prot & FIBF_NOWRITE)) in prot_to_mode() 399 if (!(prot & FIBF_NOREAD)) in prot_to_mode() 401 if (!(prot & FIBF_NOEXECUTE)) in prot_to_mode() 403 if (prot & FIBF_GRP_WRITE) in prot_to_mode() 405 if (prot & FIBF_GRP_READ) in prot_to_mode() 407 if (prot & FIBF_GRP_EXECUTE) in prot_to_mode() 409 if (prot & FIBF_OTR_WRITE) in prot_to_mode() 411 if (prot & FIBF_OTR_READ) in prot_to_mode() 413 if (prot & FIBF_OTR_EXECUTE) in prot_to_mode() [all …]
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | entry.S | 58 .macro space_to_prot spc prot argument 59 depd,z \spc,62,31,\prot 62 .macro space_to_prot spc prot argument 63 extrd,u \spc,(64 - (SPACEID_SHIFT)),32,\prot 960 prot = r17 /* prot bits */ define 1006 space_to_prot spc prot /* create prot id from space */ 1007 depd pte,8,7,prot /* add in prot bits from pte */ 1010 depdi 7,11,3,prot /* Set for user space (1 rsvd for read) */ 1012 depdi 0,11,2,prot /* If Gateway, Set PL2 to 0 */ 1018 idtlbt pte,prot [all …]
|
/linux-2.4.37.9/arch/x86_64/mm/ |
D | pageattr.c | 29 static struct page *split_large_page(unsigned long address, pgprot_t prot) in split_large_page() argument 42 addr == address ? prot : PAGE_KERNEL); in split_large_page() 92 __change_page_attr(unsigned long address, struct page *page, pgprot_t prot, in __change_page_attr() argument 102 if (pgprot_val(prot) != pgprot_val(PAGE_KERNEL)) { in __change_page_attr() 104 set_pte(kpte, mk_pte(page, prot)); in __change_page_attr() 106 struct page *split = split_large_page(address, prot); in __change_page_attr() 135 int change_page_attr(struct page *page, int numpages, pgprot_t prot) in change_page_attr() argument 145 page, prot, &fpage); in change_page_attr() 151 page, prot, &fpage2); in change_page_attr()
|
/linux-2.4.37.9/arch/sparc/mm/ |
D | generic.c | 38 unsigned long offset, pgprot_t prot, int space) in io_remap_pte_range() argument 49 set_pte(pte, mk_pte_io(offset, prot, space)); in io_remap_pte_range() 58 unsigned long offset, pgprot_t prot, int space) in io_remap_pmd_range() argument 71 io_remap_pte_range(pte, address, end - address, address + offset, prot, space); in io_remap_pmd_range() 78 int io_remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot… in io_remap_page_range() argument 86 prot = __pgprot(pg_iobits); in io_remap_page_range() 97 error = io_remap_pmd_range(pmd, from, end - from, offset + from, prot, space); in io_remap_page_range()
|
/linux-2.4.37.9/include/asm-arm/ |
D | pgtable.h | 79 #define pfn_pte(pfn,prot) (__pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) argument 106 #define mk_pte(page,prot) pfn_pte(page_to_pfn(page),prot) argument 118 #define page_pte_prot(page,prot) mk_pte(page, prot) argument 169 #define io_remap_page_range(from,phys,size,prot) \ argument 170 remap_page_range(from,phys,size,prot)
|
/linux-2.4.37.9/arch/i386/mm/ |
D | pageattr.c | 35 static struct page *split_large_page(unsigned long address, pgprot_t prot) in split_large_page() argument 48 addr == address ? prot : PAGE_KERNEL); in split_large_page() 105 __change_page_attr(struct page *page, pgprot_t prot, struct page **oldpage) in __change_page_attr() argument 120 if (pgprot_val(prot) != pgprot_val(PAGE_KERNEL)) { in __change_page_attr() 122 set_pte_atomic(kpte, mk_pte(page, prot)); in __change_page_attr() 124 struct page *split = split_large_page(address, prot); in __change_page_attr() 143 int change_page_attr(struct page *page, int numpages, pgprot_t prot) in change_page_attr() argument 152 err = __change_page_attr(page, prot, &fpage); in change_page_attr()
|
/linux-2.4.37.9/include/net/ |
D | protocol.h | 74 struct proto *prot; member 96 extern void inet_add_protocol(struct inet_protocol *prot); 97 extern int inet_del_protocol(struct inet_protocol *prot); 102 extern void inet6_add_protocol(struct inet6_protocol *prot); 103 extern int inet6_del_protocol(struct inet6_protocol *prot);
|
/linux-2.4.37.9/arch/mips/mm/ |
D | remap.c | 39 phys_t phys_addr, pgprot_t prot) in remap_pte_range() argument 54 set_pte(pte, mk_pte_phys(phys_addr, prot)); in remap_pte_range() 63 phys_t phys_addr, pgprot_t prot) in remap_pmd_range() argument 76 remap_pte_range(pte, address, end - address, address + phys_addr, prot); in remap_pmd_range() 85 int remap_page_range_high(unsigned long from, phys_t phys_addr, unsigned long size, pgprot_t prot) in remap_page_range_high() argument 106 error = remap_pmd_range(mm, pmd, from, end - from, phys_addr + from, prot); in remap_page_range_high()
|
/linux-2.4.37.9/mm/ |
D | vmalloc.c | 97 pgprot_t prot, struct page ***pages) in alloc_area_pte() argument 125 set_pte(pte, mk_pte(page, prot)); in alloc_area_pte() 134 pgprot_t prot, struct page ***pages) in alloc_area_pmd() argument 147 gfp_mask, prot, pages)) in alloc_area_pmd() 158 pgprot_t prot, in __vmalloc_area_pages() argument 174 if (alloc_area_pmd(pmd, address, end - address, gfp_mask, prot, pages)) in __vmalloc_area_pages() 192 int gfp_mask, pgprot_t prot) in vmalloc_area_pages() argument 194 return __vmalloc_area_pages(address, size, gfp_mask, prot, NULL); in vmalloc_area_pages() 269 void * __vmalloc (unsigned long size, int gfp_mask, pgprot_t prot) in __vmalloc() argument 282 prot, NULL)) { in __vmalloc() [all …]
|
D | mprotect.c | 95 int newflags, pgprot_t prot) in mprotect_fixup_all() argument 115 vma->vm_page_prot = prot; in mprotect_fixup_all() 125 int newflags, pgprot_t prot) in mprotect_fixup_start() argument 147 n->vm_page_prot = prot; in mprotect_fixup_start() 165 int newflags, pgprot_t prot) in mprotect_fixup_end() argument 177 n->vm_page_prot = prot; in mprotect_fixup_end() 196 int newflags, pgprot_t prot) in mprotect_fixup_middle() argument 223 vma->vm_page_prot = prot; in mprotect_fixup_middle() 267 asmlinkage long sys_mprotect(unsigned long start, size_t len, unsigned long prot) in sys_mprotect() argument 279 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC)) in sys_mprotect() [all …]
|
/linux-2.4.37.9/net/sunrpc/ |
D | pmap_clnt.c | 91 rpc_getport_external(struct sockaddr_in *sin, __u32 prog, __u32 vers, int prot) in rpc_getport_external() argument 93 struct rpc_portmap map = { prog, vers, prot, 0 }; in rpc_getport_external() 99 NIPQUAD(sin->sin_addr.s_addr), prog, vers, prot); in rpc_getport_external() 102 if (!(pmap_clnt = pmap_create(hostname, sin, prot))) in rpc_getport_external() 147 rpc_register(u32 prog, u32 vers, int prot, unsigned short port, int *okay) in rpc_register() argument 155 prog, vers, prot, port); in rpc_register() 166 map.pm_prot = prot; in rpc_register()
|
/linux-2.4.37.9/drivers/isdn/hisax/ |
D | l3dss1.c | 60 retval = p->prot.dss1.last_invoke_id + 1; /* try new id */ in new_invoke_id() 61 while ((i) && (p->prot.dss1.invoke_used[retval >> 3] == 0xFF)) { in new_invoke_id() 62 p->prot.dss1.last_invoke_id = (retval & 0xF8) + 8; in new_invoke_id() 66 while (p->prot.dss1.invoke_used[retval >> 3] & (1 << (retval & 7))) in new_invoke_id() 70 p->prot.dss1.last_invoke_id = retval; in new_invoke_id() 71 p->prot.dss1.invoke_used[retval >> 3] |= (1 << (retval & 7)); in new_invoke_id() 87 p->prot.dss1.invoke_used[id >> 3] &= ~(1 << (id & 7)); in free_invoke_id() 102 proc->prot.dss1.invoke_id = 0; in dss1_new_l3_process() 103 proc->prot.dss1.remote_operation = 0; in dss1_new_l3_process() 104 proc->prot.dss1.uus1_data[0] = '\0'; in dss1_new_l3_process() [all …]
|
D | l3ni1.c | 58 retval = p->prot.ni1.last_invoke_id + 1; /* try new id */ in new_invoke_id() 59 while ((i) && (p->prot.ni1.invoke_used[retval >> 3] == 0xFF)) { in new_invoke_id() 60 p->prot.ni1.last_invoke_id = (retval & 0xF8) + 8; in new_invoke_id() 64 while (p->prot.ni1.invoke_used[retval >> 3] & (1 << (retval & 7))) in new_invoke_id() 68 p->prot.ni1.last_invoke_id = retval; in new_invoke_id() 69 p->prot.ni1.invoke_used[retval >> 3] |= (1 << (retval & 7)); in new_invoke_id() 85 p->prot.ni1.invoke_used[id >> 3] &= ~(1 << (id & 7)); in free_invoke_id() 100 proc->prot.ni1.invoke_id = 0; in ni1_new_l3_process() 101 proc->prot.ni1.remote_operation = 0; in ni1_new_l3_process() 102 proc->prot.ni1.uus1_data[0] = '\0'; in ni1_new_l3_process() [all …]
|
/linux-2.4.37.9/arch/sh64/kernel/ |
D | sys_sh64.c | 152 unsigned long prot, unsigned long flags, in do_mmap2() argument 166 error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff); in do_mmap2() 176 unsigned long prot, unsigned long flags, in sys_mmap2() argument 179 return do_mmap2(addr, len, prot, flags, fd, pgoff); in sys_mmap2() 183 unsigned long prot, unsigned long flags, in old_mmap() argument 188 return do_mmap2(addr, len, prot, flags, fd, off>>PAGE_SHIFT); in old_mmap()
|
/linux-2.4.37.9/include/linux/ |
D | vmalloc.h | 26 unsigned long flags, pgprot_t prot); 27 extern void * __vmalloc (unsigned long size, int gfp_mask, pgprot_t prot); 31 int gfp_mask, pgprot_t prot);
|
/linux-2.4.37.9/arch/mips/kernel/ |
D | syscall.c | 115 do_mmap2(unsigned long addr, unsigned long len, unsigned long prot, in do_mmap2() argument 129 error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff); in do_mmap2() 138 asmlinkage unsigned long old_mmap(unsigned long addr, size_t len, int prot, in old_mmap() argument 147 result = do_mmap2(addr, len, prot, flags, fd, offset >> PAGE_SHIFT); in old_mmap() 154 sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, in sys_mmap2() argument 157 return do_mmap2(addr, len, prot, flags, fd, pgoff); in sys_mmap2()
|
/linux-2.4.37.9/arch/sh/kernel/ |
D | sys_sh.c | 91 do_mmap2(unsigned long addr, unsigned long len, unsigned long prot, in do_mmap2() argument 105 error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff); in do_mmap2() 115 unsigned long prot, unsigned long flags, in old_mmap() argument 120 return do_mmap2(addr, len, prot, flags, fd, off>>PAGE_SHIFT); in old_mmap() 124 unsigned long prot, unsigned long flags, in sys_mmap2() argument 127 return do_mmap2(addr, len, prot, flags, fd, pgoff); in sys_mmap2()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | sys_i386.c | 45 unsigned long prot, unsigned long flags, in do_mmap2() argument 59 error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff); in do_mmap2() 69 unsigned long prot, unsigned long flags, in sys_mmap2() argument 72 return do_mmap2(addr, len, prot, flags, fd, pgoff); in sys_mmap2() 85 unsigned long prot; member 103 err = do_mmap2(a.addr, a.len, a.prot, a.flags, a.fd, a.offset >> PAGE_SHIFT); in old_mmap()
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | sys_s390.c | 52 unsigned long prot, unsigned long flags, in do_mmap2() argument 66 error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff); in do_mmap2() 85 unsigned long prot; member 98 error = do_mmap2(a.addr, a.len, a.prot, a.flags, a.fd, a.offset); in sys_mmap2() 115 error = do_mmap2(a.addr, a.len, a.prot, a.flags, a.fd, a.offset >> PAGE_SHIFT); in old_mmap()
|
/linux-2.4.37.9/include/asm-arm/proc-armo/ |
D | pgtable.h | 36 static inline pmd_t __mk_pmd(pte_t *ptep, unsigned long prot) in __mk_pmd() argument 41 pmd_val(pmd) = __virt_to_phys(pte_ptr) | prot; in __mk_pmd() 97 #define pgprot_noncached(prot) (prot) argument
|