Searched refs:ia_valid (Results 1 – 11 of 11) sorted by relevance
138 attr->ia_valid = 0; in iattr_from_obdo()141 attr->ia_valid |= ATTR_ATIME; in iattr_from_obdo()145 attr->ia_valid |= ATTR_MTIME; in iattr_from_obdo()149 attr->ia_valid |= ATTR_CTIME; in iattr_from_obdo()153 attr->ia_valid |= ATTR_SIZE; in iattr_from_obdo()158 attr->ia_valid |= ATTR_MODE; in iattr_from_obdo()163 attr->ia_valid |= ATTR_MODE; in iattr_from_obdo()170 attr->ia_valid |= ATTR_UID; in iattr_from_obdo()174 attr->ia_valid |= ATTR_GID; in iattr_from_obdo()183 op_data->op_attr.ia_valid |= ATTR_BLOCKS; in md_from_obdo()[all …]
224 static inline __u64 attr_pack(unsigned int ia_valid) in attr_pack() argument228 if (ia_valid & ATTR_MODE) in attr_pack()230 if (ia_valid & ATTR_UID) in attr_pack()232 if (ia_valid & ATTR_GID) in attr_pack()234 if (ia_valid & ATTR_SIZE) in attr_pack()236 if (ia_valid & ATTR_ATIME) in attr_pack()238 if (ia_valid & ATTR_MTIME) in attr_pack()240 if (ia_valid & ATTR_CTIME) in attr_pack()242 if (ia_valid & ATTR_ATIME_SET) in attr_pack()244 if (ia_valid & ATTR_MTIME_SET) in attr_pack()[all …]
117 if (op_data->op_attr.ia_valid & (ATTR_MODE|ATTR_UID|ATTR_GID)) in mdc_setattr()145 if (op_data->op_attr.ia_valid & (ATTR_MTIME | ATTR_CTIME)) in mdc_setattr()
1104 int rc, ia_valid; in ll_md_setattr() local1121 ia_valid = op_data->op_attr.ia_valid; in ll_md_setattr()1122 op_data->op_attr.ia_valid &= ~TIMES_SET_FLAGS; in ll_md_setattr()1124 op_data->op_attr.ia_valid = ia_valid; in ll_md_setattr()1139 ia_valid = op_data->op_attr.ia_valid; in ll_md_setattr()1142 op_data->op_attr.ia_valid &= ~(TIMES_SET_FLAGS | ATTR_SIZE); in ll_md_setattr()1144 op_data->op_attr.ia_valid = ia_valid; in ll_md_setattr()1215 attr->ia_valid, hsm_import); in ll_setattr_raw()1217 if (attr->ia_valid & ATTR_SIZE) { in ll_setattr_raw()1233 attr->ia_valid |= ATTR_MTIME | ATTR_CTIME; in ll_setattr_raw()[all …]
107 op_data->op_attr.ia_valid = ATTR_MODE | ATTR_ATIME | ATTR_ATIME_SET | in ll_prepare_close()115 op_data->op_attr.ia_valid |= ATTR_SIZE | ATTR_BLOCKS; in ll_prepare_close()161 op_data->op_attr.ia_valid |= ATTR_SIZE | ATTR_BLOCKS; in ll_close_inode_openhandle()2015 llss->ia1.ia_valid = ATTR_MTIME | ATTR_ATIME; in ll_swap_layouts()2018 llss->ia2.ia_valid = ATTR_MTIME | ATTR_ATIME; in ll_swap_layouts()2073 llss->ia1.ia_valid &= ~ATTR_MTIME; in ll_swap_layouts()2074 llss->ia2.ia_valid &= ~ATTR_MTIME; in ll_swap_layouts()2078 llss->ia1.ia_valid &= ~ATTR_ATIME; in ll_swap_layouts()2079 llss->ia2.ia_valid &= ~ATTR_ATIME; in ll_swap_layouts()2084 if (llss->ia2.ia_valid != 0) { in ll_swap_layouts()[all …]
132 op_data->op_attr.ia_valid |= ATTR_MTIME_SET | ATTR_CTIME_SET | in ll_done_writing_attr()
1282 LASSERT(attr->ia_valid & ATTR_FILE); in cl_iattr2fd()
402 unsigned int ia_valid = io->u.ci_setattr.sa_valid; in osc_io_setattr_start() local417 if (ia_valid & ATTR_SIZE) { in osc_io_setattr_start()421 if (ia_valid & ATTR_MTIME_SET) { in osc_io_setattr_start()425 if (ia_valid & ATTR_ATIME_SET) { in osc_io_setattr_start()429 if (ia_valid & ATTR_CTIME_SET) { in osc_io_setattr_start()445 if (ia_valid & ATTR_SIZE) { in osc_io_setattr_start()461 if (ia_valid & ATTR_SIZE) in osc_io_setattr_start()
217 newattrs.ia_valid = ATTR_MODE|ATTR_UID|ATTR_GID; in handle_create()322 newattrs.ia_valid = in handle_remove()
879 io->u.ci_setattr.sa_valid = attr->ia_valid; in cl_setattr_ost()885 if (attr->ia_valid & ATTR_FILE) in cl_setattr_ost()
2002 PFID(&op_data->op_fid1), op_data->op_attr.ia_valid); in lmv_setattr()