/drivers/staging/lustre/lustre/osc/ |
H A D | osc_object.c | 129 lu_printer_t p, const struct ost_lvb *lvb) 132 lvb->lvb_size, lvb->lvb_mtime, lvb->lvb_atime, 133 lvb->lvb_ctime, lvb->lvb_blocks); 167 struct ost_lvb *lvb = &oinfo->loi_lvb; local 170 lvb->lvb_size = attr->cat_size; 172 lvb->lvb_mtime = attr->cat_mtime; 174 lvb 128 osc_lvb_print(const struct lu_env *env, void *cookie, lu_printer_t p, const struct ost_lvb *lvb) argument 187 osc_object_glimpse(const struct lu_env *env, const struct cl_object *obj, struct ost_lvb *lvb) argument [all...] |
H A D | osc_lock.c | 328 * Updates object attributes from a lock value block (lvb) received together 340 struct ost_lvb *lvb; local 349 lvb = &olck->ols_lvb; 354 cl_lvb2attr(attr, lvb); 365 *lvb = *(struct ost_lvb *)dlmlock->l_lvb_data; 366 size = lvb->lvb_size; 373 lvb->lvb_size, size); 378 lvb->lvb_size, oinfo->loi_kms, 384 lvb->lvb_size, oinfo->loi_kms); 839 struct ost_lvb *lvb; local [all...] |
H A D | osc_io.c | 415 struct ost_lvb *lvb = &io->u.ci_setattr.sa_attr; local 423 attr->cat_mtime = lvb->lvb_mtime; 427 attr->cat_atime = lvb->lvb_atime; 431 attr->cat_ctime = lvb->lvb_ctime; 726 struct ost_lvb *lvb; local 729 lvb = &oinfo->loi_lvb; 733 oa->o_mtime = lvb->lvb_mtime; 737 oa->o_atime = lvb->lvb_atime; 741 oa->o_ctime = lvb->lvb_ctime;
|
H A D | osc_internal.h | 106 struct ost_lvb *lvb, int kms_valid,
|
H A D | osc_request.c | 2145 static int osc_enqueue_fini(struct ptlrpc_request *req, struct ost_lvb *lvb, argument 2170 lvb->lvb_size, lvb->lvb_blocks, lvb->lvb_mtime); 2185 struct ost_lvb *lvb; local 2208 lvb = NULL; 2211 lvb = aa->oa_lvb; 2217 mode, flags, lvb, lvb_len, &handle, rc); 2251 struct ost_lvb *lvb, int kms_valid, 2351 sizeof(*lvb)); 2249 osc_enqueue_base(struct obd_export *exp, struct ldlm_res_id *res_id, __u64 *flags, ldlm_policy_data_t *policy, struct ost_lvb *lvb, int kms_valid, obd_enqueue_update_f upcall, void *cookie, struct ldlm_enqueue_info *einfo, struct lustre_handle *lockh, struct ptlrpc_request_set *rqset, int async, int agl) argument [all...] |
H A D | osc_cl_internal.h | 431 lu_printer_t p, const struct ost_lvb *lvb);
|
/drivers/staging/lustre/lustre/lov/ |
H A D | lov_merge.c | 44 /** Merge the lock value block(&lvb) attributes and KMS from each of the 45 * stripes in a file into a single lvb. It is expected that the caller 50 struct ost_lvb *lvb, __u64 *kms_place) 55 s64 current_mtime = lvb->lvb_mtime; 56 s64 current_atime = lvb->lvb_atime; 57 s64 current_ctime = lvb->lvb_ctime; 65 POSTID(&lsm->lsm_oi), lvb->lvb_size, lvb->lvb_mtime, 66 lvb->lvb_atime, lvb 49 lov_merge_lvb_kms(struct lov_stripe_md *lsm, struct ost_lvb *lvb, __u64 *kms_place) argument [all...] |
H A D | lovsub_object.c | 116 struct ost_lvb *lvb) 120 return cl_object_glimpse(env, &los->lso_super->lo_cl, lvb); 114 lovsub_object_glimpse(const struct lu_env *env, const struct cl_object *obj, struct ost_lvb *lvb) argument
|
H A D | lov_object.c | 469 struct ost_lvb *lvb = &lov_env_info(env)->lti_lvb; local 472 memset(lvb, 0, sizeof(*lvb)); 475 lvb->lvb_atime = LLONG_MIN; 476 lvb->lvb_ctime = LLONG_MIN; 477 lvb->lvb_mtime = LLONG_MIN; 492 result = lov_merge_lvb_kms(lsm, lvb, &kms); 495 cl_lvb2attr(lov_attr, lvb);
|
H A D | lov_internal.h | 174 struct ost_lvb *lvb, __u64 *kms_place);
|
/drivers/staging/lustre/lustre/obdclass/ |
H A D | cl_object.c | 276 * Layers have to fill \a lvb fields with information that will be shipped 282 struct ost_lvb *lvb) 292 result = obj->co_ops->coo_glimpse(env, obj, lvb); 299 lvb->lvb_size, lvb->lvb_mtime, lvb->lvb_atime, 300 lvb->lvb_ctime, lvb->lvb_blocks); 934 void cl_attr2lvb(struct ost_lvb *lvb, const struct cl_attr *attr) argument 936 lvb 281 cl_object_glimpse(const struct lu_env *env, struct cl_object *obj, struct ost_lvb *lvb) argument 949 cl_lvb2attr(struct cl_attr *attr, const struct ost_lvb *lvb) argument [all...] |
/drivers/staging/lustre/lustre/ldlm/ |
H A D | ldlm_lock.c | 1391 void *lvb; local 1400 lvb = req_capsule_client_swab_get(pill, 1404 lvb = req_capsule_server_swab_get(pill, 1407 if (unlikely(lvb == NULL)) { 1412 memcpy(data, lvb, size); 1417 lvb = req_capsule_client_swab_get(pill, 1421 lvb = req_capsule_server_sized_swab_get(pill, 1424 if (unlikely(lvb == NULL)) { 1429 memcpy(data, lvb, size); 1442 lvb [all...] |
H A D | ldlm_request.c | 212 * gets correct lvb; 514 __u64 *flags, void *lvb, __u32 lvb_len, 551 LASSERT(lvb != NULL); 571 lvb, size); 660 /* We must lock or a racing completion might update lvb without 686 if (lvb_len && lvb != NULL) { 689 memcpy(lvb, lock->l_lvb_data, lvb_len); 854 void *lvb, __u32 lvb_len, enum lvb_type lvb_type, 963 einfo->ei_mode, flags, lvb, lvb_len, 512 ldlm_cli_enqueue_fini(struct obd_export *exp, struct ptlrpc_request *req, ldlm_type_t type, __u8 with_policy, ldlm_mode_t mode, __u64 *flags, void *lvb, __u32 lvb_len, struct lustre_handle *lockh, int rc) argument 850 ldlm_cli_enqueue(struct obd_export *exp, struct ptlrpc_request **reqp, struct ldlm_enqueue_info *einfo, const struct ldlm_res_id *res_id, ldlm_policy_data_t const *policy, __u64 *flags, void *lvb, __u32 lvb_len, enum lvb_type lvb_type, struct lustre_handle *lockh, int async) argument
|
/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | pack_generic.c | 1823 void lustre_swab_ost_lvb_v1(struct ost_lvb_v1 *lvb) argument 1825 __swab64s(&lvb->lvb_size); 1826 __swab64s(&lvb->lvb_mtime); 1827 __swab64s(&lvb->lvb_atime); 1828 __swab64s(&lvb->lvb_ctime); 1829 __swab64s(&lvb->lvb_blocks); 1833 void lustre_swab_ost_lvb(struct ost_lvb *lvb) argument 1835 __swab64s(&lvb->lvb_size); 1836 __swab64s(&lvb->lvb_mtime); 1837 __swab64s(&lvb 1847 lustre_swab_lquota_lvb(struct lquota_lvb *lvb) argument [all...] |
/drivers/staging/lustre/lustre/lclient/ |
H A D | lcommon_cl.c | 416 const struct cl_object *obj, struct ost_lvb *lvb) 420 lvb->lvb_mtime = cl_inode_mtime(inode); 421 lvb->lvb_atime = cl_inode_atime(inode); 422 lvb->lvb_ctime = cl_inode_ctime(inode); 428 if (lvb->lvb_size > 0 && lvb->lvb_blocks == 0) 429 lvb->lvb_blocks = dirty_cnt(inode); 415 ccc_object_glimpse(const struct lu_env *env, const struct cl_object *obj, struct ost_lvb *lvb) argument
|
/drivers/staging/lustre/lustre/llite/ |
H A D | file.c | 1005 struct ost_lvb lvb; local 1015 lvb.lvb_size = i_size_read(inode); 1016 lvb.lvb_blocks = inode->i_blocks; 1017 lvb.lvb_mtime = LTIME_S(inode->i_mtime); 1018 lvb.lvb_atime = LTIME_S(inode->i_atime); 1019 lvb.lvb_ctime = LTIME_S(inode->i_ctime); 1026 if (lvb.lvb_atime < attr->cat_atime) 1027 lvb.lvb_atime = attr->cat_atime; 1028 if (lvb.lvb_ctime < attr->cat_ctime) 1029 lvb [all...] |
/drivers/staging/lustre/lustre/include/ |
H A D | cl_object.h | 381 * object. Layers are supposed to fill parts of \a lvb that will be 388 const struct cl_object *obj, struct ost_lvb *lvb); 2750 struct ost_lvb *lvb); 3276 void cl_attr2lvb(struct ost_lvb *lvb, const struct cl_attr *attr); 3277 void cl_lvb2attr(struct cl_attr *attr, const struct ost_lvb *lvb);
|
H A D | lclient.h | 293 const struct cl_object *obj, struct ost_lvb *lvb);
|
H A D | lustre_dlm.h | 290 /* Return size of lvb data appropriate RPC size can be reserved */ 292 /* Called to fill in lvb data to RPC buffer @buf */ 1343 void *lvb, __u32 lvb_len, enum lvb_type lvb_type, 1360 __u64 *flags, void *lvb, __u32 lvb_len,
|
/drivers/staging/lustre/lustre/include/lustre/ |
H A D | lustre_idl.h | 1808 extern void lustre_swab_ost_lvb_v1(struct ost_lvb_v1 *lvb); 1822 extern void lustre_swab_ost_lvb(struct ost_lvb *lvb); 1990 extern void lustre_swab_lquota_lvb(struct lquota_lvb *lvb);
|