/fs/nfs/ |
D | inode.c | 358 if ((fattr->valid & NFS_ATTR_FATTR_V4_SECURITY_LABEL) && inode->i_security) { in nfs_setsecurity() 410 if (!(fattr->valid & NFS_ATTR_FATTR_FILEID) || in nfs_ilookup() 411 !(fattr->valid & NFS_ATTR_FATTR_TYPE)) in nfs_ilookup() 457 else if ((fattr->valid & NFS_ATTR_FATTR_FILEID) == 0) in nfs_fhget() 459 if ((fattr->valid & NFS_ATTR_FATTR_TYPE) == 0) in nfs_fhget() 482 if ((fattr->valid & NFS_ATTR_FATTR_MODE) == 0 in nfs_fhget() 499 if (fattr->valid & NFS_ATTR_FATTR_MOUNTPOINT || in nfs_fhget() 500 fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) { in nfs_fhget() 501 if (fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) in nfs_fhget() 528 if (fattr->valid & NFS_ATTR_FATTR_ATIME) in nfs_fhget() [all …]
|
D | nfs4idmap.c | 99 fattr->valid &= ~NFS_ATTR_FATTR_OWNER_NAME; in nfs_fattr_free_owner_name() 105 fattr->valid &= ~NFS_ATTR_FATTR_GROUP_NAME; in nfs_fattr_free_group_name() 114 if (!(fattr->valid & NFS_ATTR_FATTR_OWNER_NAME)) in nfs_fattr_map_owner_name() 118 fattr->valid |= NFS_ATTR_FATTR_OWNER; in nfs_fattr_map_owner_name() 128 if (!(fattr->valid & NFS_ATTR_FATTR_GROUP_NAME)) in nfs_fattr_map_group_name() 132 fattr->valid |= NFS_ATTR_FATTR_GROUP; in nfs_fattr_map_group_name() 143 if (fattr->valid & NFS_ATTR_FATTR_OWNER_NAME) in nfs_fattr_free_names() 145 if (fattr->valid & NFS_ATTR_FATTR_GROUP_NAME) in nfs_fattr_free_names()
|
D | nfs4getroot.c | 29 if (!(fsinfo.fattr->valid & NFS_ATTR_FATTR_TYPE) in nfs4_get_rootfh()
|
D | internal.h | 24 fattr->valid |= NFS_ATTR_FATTR_MOUNTPOINT; in nfs_attr_check_mountpoint() 29 if (((fattr->valid & NFS_ATTR_FATTR_MOUNTED_ON_FILEID) == 0) || in nfs_attr_use_mounted_on_fileid() 30 (((fattr->valid & NFS_ATTR_FATTR_MOUNTPOINT) == 0) && in nfs_attr_use_mounted_on_fileid() 31 ((fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) == 0))) in nfs_attr_use_mounted_on_fileid()
|
D | nfs3xdr.c | 657 fattr->valid |= NFS_ATTR_FATTR_V3; in decode_fattr3() 706 fattr->valid |= NFS_ATTR_FATTR_PRESIZE in decode_wcc_attr() 1771 result->fattr->valid = 0; in decode_create3resok() 2003 entry->fattr->valid = 0; in nfs3_decode_dirent() 2007 if (entry->fattr->valid & NFS_ATTR_FATTR_V3) in nfs3_decode_dirent() 2012 entry->fattr->valid |= NFS_ATTR_FATTR_MOUNTED_ON_FILEID; in nfs3_decode_dirent()
|
D | export.c | 89 fattr->valid |= NFS_ATTR_FATTR_FILEID | NFS_ATTR_FATTR_TYPE; in nfs_fh_to_dentry()
|
/fs/coda/ |
D | coda_linux.c | 144 unsigned int valid; in coda_iattr_to_vattr() local 182 valid = iattr->ia_valid; in coda_iattr_to_vattr() 183 if ( valid & ATTR_MODE ) { in coda_iattr_to_vattr() 186 if ( valid & ATTR_UID ) { in coda_iattr_to_vattr() 189 if ( valid & ATTR_GID ) { in coda_iattr_to_vattr() 192 if ( valid & ATTR_SIZE ) { in coda_iattr_to_vattr() 195 if ( valid & ATTR_ATIME ) { in coda_iattr_to_vattr() 198 if ( valid & ATTR_MTIME ) { in coda_iattr_to_vattr() 201 if ( valid & ATTR_CTIME ) { in coda_iattr_to_vattr()
|
/fs/ceph/ |
D | dir.c | 1646 int valid = 0; in dentry_lease_is_valid() local 1651 valid = 1; in dentry_lease_is_valid() 1661 valid = -ECHILD; in dentry_lease_is_valid() 1677 dout("dentry_lease_is_valid - dentry %p = %d\n", dentry, valid); in dentry_lease_is_valid() 1678 return valid; in dentry_lease_is_valid() 1689 int valid = 0; in __dir_lease_try_check() local 1702 valid = 1; in __dir_lease_try_check() 1705 valid = -EBUSY; in __dir_lease_try_check() 1708 if (!valid) in __dir_lease_try_check() 1710 return valid; in __dir_lease_try_check() [all …]
|
/fs/gfs2/ |
D | dentry.c | 41 int error, valid = 0; in gfs2_drevalidate() local 59 valid = 1; in gfs2_drevalidate() 71 valid = inode ? !error : (error == -ENOENT); in gfs2_drevalidate() 77 return valid; in gfs2_drevalidate()
|
/fs/ntfs3/ |
D | inode.c | 554 u64 bytes, lbo, valid; in ntfs_get_block_vbo() local 620 valid = ni->i_valid; in ntfs_get_block_vbo() 624 if (vbo >= valid) in ntfs_get_block_vbo() 631 if (vbo >= valid) in ntfs_get_block_vbo() 634 if (vbo + bytes > valid) { in ntfs_get_block_vbo() 638 } else if (vbo >= valid) { in ntfs_get_block_vbo() 642 } else if (vbo + bytes <= valid) { in ntfs_get_block_vbo() 644 } else if (vbo + block_size <= valid) { in ntfs_get_block_vbo() 654 u32 voff = valid - vbo; in ntfs_get_block_vbo() 737 u64 valid; in ntfs_readahead() local [all …]
|
D | file.c | 98 const loff_t valid, in ntfs_extend_initialized_size() argument 104 loff_t pos = valid; in ntfs_extend_initialized_size() 113 WARN_ON(valid >= new_valid); in ntfs_extend_initialized_size() 182 ni->i_valid = valid; in ntfs_extend_initialized_size() 906 u64 valid = ni->i_valid; in ntfs_compress_write() local 942 while (valid < pos) { in ntfs_compress_write() 945 frame = valid >> frame_bits; in ntfs_compress_write() 946 frame_vbo = valid & ~(frame_size - 1); in ntfs_compress_write() 947 off = valid & (frame_size - 1); in ntfs_compress_write() 955 ni->i_valid = valid = in ntfs_compress_write() [all …]
|
/fs/nilfs2/ |
D | the_nilfs.c | 595 int valid[2], swp = 0; in nilfs_load_super_block() local 625 valid[0] = nilfs_valid_sb(sbp[0]); in nilfs_load_super_block() 626 valid[1] = nilfs_valid_sb(sbp[1]); in nilfs_load_super_block() 627 swp = valid[1] && (!valid[0] || in nilfs_load_super_block() 631 if (valid[swp] && nilfs_sb2_bad_offset(sbp[swp], sb2off)) { in nilfs_load_super_block() 635 valid[1] = 0; in nilfs_load_super_block() 638 if (!valid[swp]) { in nilfs_load_super_block() 644 if (!valid[!swp]) in nilfs_load_super_block() 653 nilfs->ns_prot_seq = le64_to_cpu(sbp[valid[1] & !swp]->s_last_seq); in nilfs_load_super_block()
|
/fs/afs/ |
D | security.c | 346 bool valid = false; in afs_check_permit() local 356 valid = true; in afs_check_permit() 368 valid = !permits->invalidated; in afs_check_permit() 375 if (!valid) { in afs_check_permit()
|
D | xdr_fs.h | 52 u8 valid; member
|
D | dir_edit.c | 153 if (de->u.valid != 1) in afs_dir_scan_block() 319 de->u.valid = 1; in afs_edit_dir_add()
|
/fs/verity/ |
D | verify.c | 310 bool valid; in fsverity_verify_blocks() local 315 valid = verify_data_blocks(inode, vi, req, folio, len, offset, 0); in fsverity_verify_blocks() 319 return valid; in fsverity_verify_blocks()
|
/fs/xfs/ |
D | xfs_log_priv.h | 636 bool valid = true; in xlog_valid_lsn() local 668 valid = false; in xlog_valid_lsn() 671 return valid; in xlog_valid_lsn()
|
/fs/fat/ |
D | namei_vfat.c | 269 valid:1; member 274 (x)->valid = 1; \ 284 info->valid = 0; in to_shortname_char() 288 info->valid = 0; in to_shortname_char() 295 info->valid = 0; in to_shortname_char() 447 if (is_shortname && base_info.valid && ext_info.valid) { in vfat_create_shortname()
|
/fs/ocfs2/cluster/ |
D | tcp.c | 488 unsigned valid, int err) in o2net_set_nn_state() argument 504 mlog_bug_on_msg(err && valid, "err %d valid %u\n", err, valid); in o2net_set_nn_state() 505 mlog_bug_on_msg(valid && !sc, "valid %u sc %p\n", valid, sc); in o2net_set_nn_state() 507 if (was_valid && !valid && err == 0) in o2net_set_nn_state() 511 o2net_num_from_nn(nn), nn->nn_sc, sc, nn->nn_sc_valid, valid, in o2net_set_nn_state() 515 nn->nn_sc_valid = valid ? 1 : 0; in o2net_set_nn_state() 528 if (was_valid && !valid) { in o2net_set_nn_state() 535 if (!was_valid && valid) { in o2net_set_nn_state() 548 if (!valid && o2net_wq) { in o2net_set_nn_state()
|
/fs/fuse/ |
D | fuse_i.h | 1859 arg->valid |= FATTR_MODE, arg->mode = iattr->ia_mode; in iattr_to_fattr() 1861 arg->valid |= FATTR_UID, arg->uid = from_kuid(fc->user_ns, iattr->ia_uid); in iattr_to_fattr() 1863 arg->valid |= FATTR_GID, arg->gid = from_kgid(fc->user_ns, iattr->ia_gid); in iattr_to_fattr() 1865 arg->valid |= FATTR_SIZE, arg->size = iattr->ia_size; in iattr_to_fattr() 1867 arg->valid |= FATTR_ATIME; in iattr_to_fattr() 1871 arg->valid |= FATTR_ATIME_NOW; in iattr_to_fattr() 1874 arg->valid |= FATTR_MTIME; in iattr_to_fattr() 1878 arg->valid |= FATTR_MTIME_NOW; in iattr_to_fattr() 1881 arg->valid |= FATTR_CTIME; in iattr_to_fattr()
|
D | dir.c | 1941 inarg.valid = FATTR_MTIME; in fuse_flush_times() 1945 inarg.valid |= FATTR_CTIME; in fuse_flush_times() 1950 inarg.valid |= FATTR_FH; in fuse_flush_times() 2059 inarg.valid |= FATTR_FH; in fuse_do_setattr() 2066 inarg.valid |= FATTR_KILL_SUIDGID; in fuse_do_setattr() 2070 inarg.valid |= FATTR_LOCKOWNER; in fuse_do_setattr() 2075 inarg.valid |= FATTR_KILL_SUIDGID; in fuse_do_setattr()
|
/fs/crypto/ |
D | fname.c | 587 int valid; in fscrypt_d_revalidate() local 618 valid = !fscrypt_has_encryption_key(d_inode(dir)); in fscrypt_d_revalidate() 624 return valid; in fscrypt_d_revalidate()
|
/fs/autofs/ |
D | waitq.c | 271 int valid = 1; in validate_request() local 293 valid = 0; in validate_request() 297 return valid; in validate_request()
|
/fs/ocfs2/ |
D | dcache.c | 65 goto valid; in ocfs2_dentry_revalidate() 104 valid: in ocfs2_dentry_revalidate()
|
/fs/f2fs/ |
D | node.c | 2919 unsigned int valid) in __update_nat_bits() argument 2921 if (valid == 0) { in __update_nat_bits() 2928 if (valid == NAT_ENTRY_PER_BLOCK) in __update_nat_bits() 2940 int valid = 0; in update_nat_bits() local 2947 valid = 1; in update_nat_bits() 2952 valid++; in update_nat_bits() 2955 __update_nat_bits(nm_i, nat_index, valid); in update_nat_bits() 2966 unsigned int valid = 0, nid_ofs = 0; in f2fs_enable_nat_bits() local 2970 valid = 1; in f2fs_enable_nat_bits() 2977 valid++; in f2fs_enable_nat_bits() [all …]
|