Searched refs:l_extent (Results 1 – 13 of 13) sorted by relevance
85 if (lck->l_policy_data.l_extent.end >= old_kms) in ldlm_extent_shift_kms()90 if (lck->l_policy_data.l_extent.end + 1 > kms) in ldlm_extent_shift_kms()91 kms = lck->l_policy_data.l_extent.end + 1; in ldlm_extent_shift_kms()179 extent = &lock->l_policy_data.l_extent; in ldlm_extent_add_lock()226 lpolicy->l_extent.start = wpolicy->l_extent.start; in ldlm_extent_policy_wire_to_local()227 lpolicy->l_extent.end = wpolicy->l_extent.end; in ldlm_extent_policy_wire_to_local()228 lpolicy->l_extent.gid = wpolicy->l_extent.gid; in ldlm_extent_policy_wire_to_local()235 wpolicy->l_extent.start = lpolicy->l_extent.start; in ldlm_extent_policy_local_to_wire()236 wpolicy->l_extent.end = lpolicy->l_extent.end; in ldlm_extent_policy_local_to_wire()237 wpolicy->l_extent.gid = lpolicy->l_extent.gid; in ldlm_extent_policy_local_to_wire()
1123 (lock->l_policy_data.l_extent.start > in search_queue()1124 policy->l_extent.start || in search_queue()1125 lock->l_policy_data.l_extent.end < policy->l_extent.end)) in search_queue()1130 lock->l_policy_data.l_extent.gid != policy->l_extent.gid) in search_queue()1332 res_id->name[2] : policy->l_extent.start, in ldlm_lock_match()1334 res_id->name[3] : policy->l_extent.end); in ldlm_lock_match()1352 res_id->name[2] :policy->l_extent.start, in ldlm_lock_match()1354 res_id->name[3] : policy->l_extent.end); in ldlm_lock_match()2270 lock->l_policy_data.l_extent.start, in _ldlm_lock_debug()2271 lock->l_policy_data.l_extent.end, in _ldlm_lock_debug()
221 return &lock->l_policy_data.l_extent; in ldlm_interval_extent()
445 lock->l_req_extent = policy->l_extent; in ldlm_cli_enqueue_local()894 lock->l_req_extent = policy->l_extent; in ldlm_cli_enqueue()951 policy->l_extent.end == OBD_OBJECT_EOF)); in ldlm_cli_enqueue()
79 params->lrp_policy.l_extent.start = pos; in lustre_build_lock_params()80 params->lrp_policy.l_extent.end = pos + len - 1; in lustre_build_lock_params()85 params->lrp_policy.l_extent.start = 0; in lustre_build_lock_params()86 params->lrp_policy.l_extent.end = OBD_OBJECT_EOF; in lustre_build_lock_params()
625 struct ldlm_extent l_extent; member
60 policy->l_extent.start = ((addr - vma->vm_start) & CFS_PAGE_MASK) + in policy_from_vma()62 policy->l_extent.end = (policy->l_extent.start + count - 1) | in policy_from_vma()
262 policy.l_extent.start); in vvp_mmap_locks()264 policy.l_extent.end); in vvp_mmap_locks()
264 policy->l_extent.gid = d->cld_gid; in osc_lock_build_policy()369 if (size > dlmlock->l_policy_data.l_extent.end) in osc_lock_lvb_update()370 size = dlmlock->l_policy_data.l_extent.end + 1; in osc_lock_lvb_update()379 dlmlock->l_policy_data.l_extent.end); in osc_lock_lvb_update()412 ext = &dlmlock->l_policy_data.l_extent; in osc_lock_granted()
2266 policy->l_extent.start -= policy->l_extent.start & ~CFS_PAGE_MASK; in osc_enqueue_base()2267 policy->l_extent.end |= ~CFS_PAGE_MASK; in osc_enqueue_base()2407 policy->l_extent.start -= policy->l_extent.start & ~CFS_PAGE_MASK; in osc_match_base()2408 policy->l_extent.end |= ~CFS_PAGE_MASK; in osc_match_base()2805 policy.l_extent.start = fm_key->fiemap.fm_start & in osc_get_info()2810 policy.l_extent.end = OBD_OBJECT_EOF; in osc_get_info()2812 policy.l_extent.end = (fm_key->fiemap.fm_start + in osc_get_info()
249 policy->l_extent.start = cl_offset(obj, start); in osc_index2policy()250 policy->l_extent.end = cl_offset(obj, end + 1) - 1; in osc_index2policy()
2222 __swab64s(&d->l_extent.start); in lustre_swab_ldlm_policy_data()2223 __swab64s(&d->l_extent.end); in lustre_swab_ldlm_policy_data()2224 __swab64s(&d->l_extent.gid); in lustre_swab_ldlm_policy_data()
2766 struct ldlm_extent l_extent; member