/fs/nfs/ |
D | inode.c | 343 if ((fattr->valid & NFS_ATTR_FATTR_V4_SECURITY_LABEL) && inode->i_security) { in nfs_setsecurity() 400 if (!(fattr->valid & NFS_ATTR_FATTR_FILEID) || in nfs_ilookup() 401 !(fattr->valid & NFS_ATTR_FATTR_TYPE)) in nfs_ilookup() 429 else if ((fattr->valid & NFS_ATTR_FATTR_FILEID) == 0) in nfs_fhget() 431 if ((fattr->valid & NFS_ATTR_FATTR_TYPE) == 0) in nfs_fhget() 453 if ((fattr->valid & NFS_ATTR_FATTR_MODE) == 0 in nfs_fhget() 468 if (fattr->valid & NFS_ATTR_FATTR_MOUNTPOINT || in nfs_fhget() 469 fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) { in nfs_fhget() 470 if (fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) in nfs_fhget() 498 if (fattr->valid & NFS_ATTR_FATTR_ATIME) in nfs_fhget() [all …]
|
D | nfs4idmap.c | 90 fattr->valid &= ~NFS_ATTR_FATTR_OWNER_NAME; in nfs_fattr_free_owner_name() 96 fattr->valid &= ~NFS_ATTR_FATTR_GROUP_NAME; in nfs_fattr_free_group_name() 105 if (!(fattr->valid & NFS_ATTR_FATTR_OWNER_NAME)) in nfs_fattr_map_owner_name() 109 fattr->valid |= NFS_ATTR_FATTR_OWNER; in nfs_fattr_map_owner_name() 119 if (!(fattr->valid & NFS_ATTR_FATTR_GROUP_NAME)) in nfs_fattr_map_group_name() 123 fattr->valid |= NFS_ATTR_FATTR_GROUP; in nfs_fattr_map_group_name() 134 if (fattr->valid & NFS_ATTR_FATTR_OWNER_NAME) in nfs_fattr_free_names() 136 if (fattr->valid & NFS_ATTR_FATTR_GROUP_NAME) in nfs_fattr_free_names()
|
D | internal.h | 30 fattr->valid |= NFS_ATTR_FATTR_MOUNTPOINT; in nfs_attr_check_mountpoint() 35 if (((fattr->valid & NFS_ATTR_FATTR_MOUNTED_ON_FILEID) == 0) || in nfs_attr_use_mounted_on_fileid() 36 (((fattr->valid & NFS_ATTR_FATTR_MOUNTPOINT) == 0) && in nfs_attr_use_mounted_on_fileid() 37 ((fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) == 0))) in nfs_attr_use_mounted_on_fileid()
|
D | nfs4getroot.c | 29 if (!(fsinfo.fattr->valid & NFS_ATTR_FATTR_TYPE) in nfs4_get_rootfh()
|
D | nfs4trace.h | 178 #define show_nfs_fattr_flags(valid) \ argument 179 __print_flags((unsigned long)valid, "|", \ 1080 __field(unsigned int, valid) 1086 __entry->valid = fattr->valid; 1088 __entry->fileid = (fattr->valid & NFS_ATTR_FATTR_FILEID) ? fattr->fileid : 0; 1100 show_nfs_fattr_flags(__entry->valid)
|
D | nfs3xdr.c | 681 fattr->valid |= NFS_ATTR_FATTR_V3; in decode_fattr3() 735 fattr->valid |= NFS_ATTR_FATTR_PRESIZE in decode_wcc_attr() 1801 result->fattr->valid = 0; in decode_create3resok() 2030 entry->fattr->valid = 0; in nfs3_decode_dirent() 2034 if (entry->fattr->valid & NFS_ATTR_FATTR_V3) in nfs3_decode_dirent() 2039 entry->fattr->valid |= NFS_ATTR_FATTR_MOUNTED_ON_FILEID; in nfs3_decode_dirent()
|
D | export.c | 95 fattr->valid |= NFS_ATTR_FATTR_FILEID | NFS_ATTR_FATTR_TYPE; in nfs_fh_to_dentry()
|
D | nfs4xdr.c | 4664 fattr->valid |= status; in decode_getfattr_attrs() 4670 fattr->valid |= status; in decode_getfattr_attrs() 4675 fattr->valid |= status; in decode_getfattr_attrs() 4680 fattr->valid |= status; in decode_getfattr_attrs() 4694 fattr->valid |= status; in decode_getfattr_attrs() 4699 fattr->valid |= status; in decode_getfattr_attrs() 4710 fattr->valid |= status; in decode_getfattr_attrs() 4716 fattr->valid |= status; in decode_getfattr_attrs() 4721 fattr->valid |= status; in decode_getfattr_attrs() 4726 fattr->valid |= status; in decode_getfattr_attrs() [all …]
|
D | nfs4namespace.c | 406 if (fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) { in nfs4_submount()
|
/fs/coda/ |
D | coda_linux.c | 126 unsigned int valid; in coda_iattr_to_vattr() local 164 valid = iattr->ia_valid; in coda_iattr_to_vattr() 165 if ( valid & ATTR_MODE ) { in coda_iattr_to_vattr() 168 if ( valid & ATTR_UID ) { in coda_iattr_to_vattr() 171 if ( valid & ATTR_GID ) { in coda_iattr_to_vattr() 174 if ( valid & ATTR_SIZE ) { in coda_iattr_to_vattr() 177 if ( valid & ATTR_ATIME ) { in coda_iattr_to_vattr() 180 if ( valid & ATTR_MTIME ) { in coda_iattr_to_vattr() 183 if ( valid & ATTR_CTIME ) { in coda_iattr_to_vattr()
|
/fs/ceph/ |
D | dir.c | 1144 int valid = 0; in dentry_lease_is_valid() local 1162 valid = 1; in dentry_lease_is_valid() 1171 valid = -ECHILD; in dentry_lease_is_valid() 1188 dout("dentry_lease_is_valid - dentry %p = %d\n", dentry, valid); in dentry_lease_is_valid() 1189 return valid; in dentry_lease_is_valid() 1199 int valid = 0; in dir_lease_is_valid() local 1203 valid = __ceph_caps_issued_mask(ci, CEPH_CAP_FILE_SHARED, 1); in dir_lease_is_valid() 1207 (unsigned)di->lease_shared_gen, valid); in dir_lease_is_valid() 1208 return valid; in dir_lease_is_valid() 1216 int valid = 0; in ceph_d_revalidate() local [all …]
|
/fs/nilfs2/ |
D | the_nilfs.c | 507 int valid[2], swp = 0; in nilfs_load_super_block() local 531 valid[0] = nilfs_valid_sb(sbp[0]); in nilfs_load_super_block() 532 valid[1] = nilfs_valid_sb(sbp[1]); in nilfs_load_super_block() 533 swp = valid[1] && (!valid[0] || in nilfs_load_super_block() 537 if (valid[swp] && nilfs_sb2_bad_offset(sbp[swp], sb2off)) { in nilfs_load_super_block() 541 valid[1] = 0; in nilfs_load_super_block() 544 if (!valid[swp]) { in nilfs_load_super_block() 550 if (!valid[!swp]) in nilfs_load_super_block() 559 nilfs->ns_prot_seq = le64_to_cpu(sbp[valid[1] & !swp]->s_last_seq); in nilfs_load_super_block()
|
/fs/afs/ |
D | security.c | 223 bool valid; in afs_check_permit() local 242 valid = true; in afs_check_permit() 244 valid = false; in afs_check_permit() 253 valid = true; in afs_check_permit() 262 if (!valid) { in afs_check_permit()
|
D | inode.c | 337 goto valid; in afs_validate() 342 goto valid; in afs_validate() 372 valid: in afs_validate()
|
D | cache.c | 196 if (!vlocation->valid || vlocation->vldb.rtime == cvldb->rtime) { in afs_vlocation_cache_check_aux() 198 vlocation->valid = 1; in afs_vlocation_cache_check_aux()
|
D | vlocation.c | 157 vl->valid = 0; in afs_vlocation_access_vl_by_id() 303 ASSERTCMP(vl->valid, ==, 0); in afs_vlocation_fill_in_record() 314 if (vl->valid) { in afs_vlocation_fill_in_record()
|
/fs/gfs2/ |
D | dentry.c | 62 goto valid; in gfs2_drevalidate() 88 valid: in gfs2_drevalidate()
|
/fs/xfs/ |
D | xfs_log_priv.h | 581 bool valid = true; in xlog_valid_lsn() local 613 valid = false; in xlog_valid_lsn() 616 return valid; in xlog_valid_lsn()
|
/fs/fat/ |
D | namei_vfat.c | 268 valid:1; member 273 (x)->valid = 1; \ 283 info->valid = 0; in to_shortname_char() 287 info->valid = 0; in to_shortname_char() 294 info->valid = 0; in to_shortname_char() 446 if (is_shortname && base_info.valid && ext_info.valid) { in vfat_create_shortname()
|
/fs/fuse/ |
D | dir.c | 1542 arg->valid |= FATTR_MODE, arg->mode = iattr->ia_mode; in iattr_to_fattr() 1544 arg->valid |= FATTR_UID, arg->uid = from_kuid(&init_user_ns, iattr->ia_uid); in iattr_to_fattr() 1546 arg->valid |= FATTR_GID, arg->gid = from_kgid(&init_user_ns, iattr->ia_gid); in iattr_to_fattr() 1548 arg->valid |= FATTR_SIZE, arg->size = iattr->ia_size; in iattr_to_fattr() 1550 arg->valid |= FATTR_ATIME; in iattr_to_fattr() 1554 arg->valid |= FATTR_ATIME_NOW; in iattr_to_fattr() 1557 arg->valid |= FATTR_MTIME; in iattr_to_fattr() 1561 arg->valid |= FATTR_MTIME_NOW; in iattr_to_fattr() 1564 arg->valid |= FATTR_CTIME; in iattr_to_fattr() 1642 inarg.valid = FATTR_MTIME; in fuse_flush_times() [all …]
|
/fs/ocfs2/cluster/ |
D | tcp.c | 505 unsigned valid, int err) in o2net_set_nn_state() argument 521 mlog_bug_on_msg(err && valid, "err %d valid %u\n", err, valid); in o2net_set_nn_state() 522 mlog_bug_on_msg(valid && !sc, "valid %u sc %p\n", valid, sc); in o2net_set_nn_state() 524 if (was_valid && !valid && err == 0) in o2net_set_nn_state() 528 o2net_num_from_nn(nn), nn->nn_sc, sc, nn->nn_sc_valid, valid, in o2net_set_nn_state() 532 nn->nn_sc_valid = valid ? 1 : 0; in o2net_set_nn_state() 545 if (was_valid && !valid) { in o2net_set_nn_state() 552 if (!was_valid && valid) { in o2net_set_nn_state() 565 if (!valid && o2net_wq) { in o2net_set_nn_state()
|
/fs/ncpfs/ |
D | dir.c | 540 ctl.valid = 1; in ncp_readdir() 551 ctl.head.eof = ctl.valid; in ncp_readdir() 586 int valid = 0; in ncp_fill_cache() local 668 valid = 1; in ncp_fill_cache() 672 if (!valid) in ncp_fill_cache() 673 ctl.valid = 0; in ncp_fill_cache() 685 return (ctl.valid || !ctl.filled); in ncp_fill_cache()
|
D | ncplib_kernel.h | 212 int filled, valid, idx; member
|
/fs/ocfs2/ |
D | dcache.c | 81 goto valid; in ocfs2_dentry_revalidate() 120 valid: in ocfs2_dentry_revalidate()
|
/fs/autofs4/ |
D | waitq.c | 325 int valid = 1; in validate_request() local 347 valid = 0; in validate_request() 351 return valid; in validate_request()
|