Searched refs:lvb_len (Results 1 – 8 of 8) sorted by relevance
/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lockd.c | 162 int lvb_len; in ldlm_handle_cp_callback() local 180 lvb_len = req_capsule_get_size(&req->rq_pill, &RMF_DLM_LVB, RCL_CLIENT); in ldlm_handle_cp_callback() 181 if (lvb_len < 0) { in ldlm_handle_cp_callback() 182 LDLM_ERROR(lock, "Fail to get lvb_len, rc = %d", lvb_len); in ldlm_handle_cp_callback() 183 rc = lvb_len; in ldlm_handle_cp_callback() 185 } else if (lvb_len > 0) { in ldlm_handle_cp_callback() 190 if (unlikely(lock->l_lvb_len < lvb_len)) { in ldlm_handle_cp_callback() 192 lock->l_lvb_len, lvb_len); in ldlm_handle_cp_callback() 200 lvb_data = kzalloc(lvb_len, GFP_NOFS); in ldlm_handle_cp_callback() 202 LDLM_ERROR(lock, "No memory: %d.\n", lvb_len); in ldlm_handle_cp_callback() [all …]
|
D | ldlm_request.c | 335 __u64 *flags, void *lvb, __u32 lvb_len, in ldlm_cli_enqueue_fini() argument 352 LASSERTF(ergo(lvb_len != 0, lvb_len == lock->l_lvb_len), in ldlm_cli_enqueue_fini() 353 "lvb_len = %d, l_lvb_len = %d\n", lvb_len, lock->l_lvb_len); in ldlm_cli_enqueue_fini() 371 if (lvb_len != 0) { in ldlm_cli_enqueue_fini() 380 } else if (unlikely(size > lvb_len)) { in ldlm_cli_enqueue_fini() 382 lvb_len, size); in ldlm_cli_enqueue_fini() 389 if (lvb_len != 0) in ldlm_cli_enqueue_fini() 480 if (lvb_len != 0) { in ldlm_cli_enqueue_fini() 508 if (lvb_len && lvb != NULL) { in ldlm_cli_enqueue_fini() 511 memcpy(lvb, lock->l_lvb_data, lvb_len); in ldlm_cli_enqueue_fini() [all …]
|
D | ldlm_lock.c | 1466 void *data, __u32 lvb_len, in ldlm_lock_create() argument 1497 if (lvb_len) { in ldlm_lock_create() 1498 lock->l_lvb_len = lvb_len; in ldlm_lock_create() 1499 lock->l_lvb_data = kzalloc(lvb_len, GFP_NOFS); in ldlm_lock_create()
|
D | ldlm_internal.h | 138 void *data, __u32 lvb_len, enum lvb_type lvb_type);
|
/drivers/staging/lustre/lustre/mdc/ |
D | mdc_locks.c | 527 mdc_enqueue_pack(struct obd_export *exp, int lvb_len) in mdc_enqueue_pack() argument 542 req_capsule_set_size(&req->rq_pill, &RMF_DLM_LVB, RCL_SERVER, lvb_len); in mdc_enqueue_pack() 560 int lvb_len = 0; in mdc_finish_enqueue() local 654 lvb_len = body->eadatasize; in mdc_finish_enqueue() 699 lvb_len = req_capsule_get_size(pill, &RMF_DLM_LVB, RCL_SERVER); in mdc_finish_enqueue() 700 if (lvb_len > 0) { in mdc_finish_enqueue() 702 &RMF_DLM_LVB, lvb_len); in mdc_finish_enqueue() 714 ldlm_it2str(it->it_op), lvb_len); in mdc_finish_enqueue() 716 lmm = libcfs_kvzalloc(lvb_len, GFP_NOFS); in mdc_finish_enqueue() 721 memcpy(lmm, lvb_data, lvb_len); in mdc_finish_enqueue() [all …]
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_dlm.h | 1237 void *lvb, __u32 lvb_len, enum lvb_type lvb_type, 1250 __u64 *flags, void *lvb, __u32 lvb_len,
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 2125 __u32 lvb_len; in osc_enqueue_interpret() local 2148 lvb_len = 0; in osc_enqueue_interpret() 2151 lvb_len = sizeof(*aa->oa_lvb); in osc_enqueue_interpret() 2156 mode, flags, lvb, lvb_len, &handle, rc); in osc_enqueue_interpret()
|
/drivers/staging/lustre/lustre/mgc/ |
D | mgc_request.c | 864 void *data, __u32 lvb_len, void *lvb_swabber, in mgc_enqueue() argument
|