Lines Matching refs:prot
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()
422 u32 prot = AFFS_INODE->i_protect; in mode_to_prot() local
426 prot |= FIBF_NOEXECUTE; in mode_to_prot()
428 prot |= FIBF_NOREAD; in mode_to_prot()
430 prot |= FIBF_NOWRITE; in mode_to_prot()
432 prot |= FIBF_GRP_EXECUTE; in mode_to_prot()
434 prot |= FIBF_GRP_READ; in mode_to_prot()
436 prot |= FIBF_GRP_WRITE; in mode_to_prot()
438 prot |= FIBF_OTR_EXECUTE; in mode_to_prot()
440 prot |= FIBF_OTR_READ; in mode_to_prot()
442 prot |= FIBF_OTR_WRITE; in mode_to_prot()
444 AFFS_INODE->i_protect = prot; in mode_to_prot()