Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 7 of 7) sorted by relevance

/fs/affs/
Damigaffs.c390 prot_to_mode(u32 prot) in prot_to_mode() argument
394 if (!(prot & FIBF_NOWRITE)) in prot_to_mode()
396 if (!(prot & FIBF_NOREAD)) in prot_to_mode()
398 if (!(prot & FIBF_NOEXECUTE)) in prot_to_mode()
400 if (prot & FIBF_GRP_WRITE) in prot_to_mode()
402 if (prot & FIBF_GRP_READ) in prot_to_mode()
404 if (prot & FIBF_GRP_EXECUTE) in prot_to_mode()
406 if (prot & FIBF_OTR_WRITE) in prot_to_mode()
408 if (prot & FIBF_OTR_READ) in prot_to_mode()
410 if (prot & FIBF_OTR_EXECUTE) in prot_to_mode()
[all …]
Dinode.c27 u32 prot; in affs_iget() local
53 prot = be32_to_cpu(tail->protect); in affs_iget()
60 AFFS_I(inode)->i_protect = prot; in affs_iget()
76 inode->i_mode = prot_to_mode(prot); in affs_iget()
Daffs.h139 extern mode_t prot_to_mode(u32 prot);
/fs/
Dbinfmt_som.c140 int prot = PROT_READ | PROT_EXEC; in map_som_binary() local
151 retval = do_mmap(file, code_start, code_size, prot, in map_som_binary()
163 prot | PROT_WRITE, flags, in map_som_binary()
173 prot | PROT_WRITE, MAP_FIXED | MAP_PRIVATE, 0); in map_som_binary()
Dbinfmt_elf_fdpic.c1029 int prot = 0, flags; in elf_fdpic_map_file_by_direct_mmap() local
1041 if (phdr->p_flags & PF_R) prot |= PROT_READ; in elf_fdpic_map_file_by_direct_mmap()
1042 if (phdr->p_flags & PF_W) prot |= PROT_WRITE; in elf_fdpic_map_file_by_direct_mmap()
1043 if (phdr->p_flags & PF_X) prot |= PROT_EXEC; in elf_fdpic_map_file_by_direct_mmap()
1090 maddr = do_mmap(file, maddr, phdr->p_memsz + disp, prot, flags, in elf_fdpic_map_file_by_direct_mmap()
1095 loop, phdr->p_memsz + disp, prot, flags, in elf_fdpic_map_file_by_direct_mmap()
1115 if (prot & PROT_WRITE && disp > 0) { in elf_fdpic_map_file_by_direct_mmap()
1137 prot, flags, 0); in elf_fdpic_map_file_by_direct_mmap()
1142 loop, xaddr, excess - excess1, prot, flags, in elf_fdpic_map_file_by_direct_mmap()
1149 if (prot & PROT_WRITE && excess1 > 0) { in elf_fdpic_map_file_by_direct_mmap()
Dbinfmt_elf.c328 struct elf_phdr *eppnt, int prot, int type, in elf_map() argument
353 map_addr = do_mmap(filep, addr, total_size, prot, type, off); in elf_map()
357 map_addr = do_mmap(filep, addr, size, prot, type, off); in elf_map()
/fs/nfs/
Dclient.c1289 parent_server->client->cl_xprt->prot, in nfs4_create_referral_server()