Home
last modified time | relevance | path

Searched refs:lpolicy (Results 1 – 7 of 7) sorted by relevance

/drivers/staging/lustre/lustre/ldlm/
Dldlm_inodebits.c62 ldlm_policy_data_t *lpolicy) in ldlm_ibits_policy_wire_to_local() argument
64 memset(lpolicy, 0, sizeof(*lpolicy)); in ldlm_ibits_policy_wire_to_local()
65 lpolicy->l_inodebits.bits = wpolicy->l_inodebits.bits; in ldlm_ibits_policy_wire_to_local()
68 void ldlm_ibits_policy_local_to_wire(const ldlm_policy_data_t *lpolicy, in ldlm_ibits_policy_local_to_wire() argument
72 wpolicy->l_inodebits.bits = lpolicy->l_inodebits.bits; in ldlm_ibits_policy_local_to_wire()
Dldlm_flock.c571 ldlm_policy_data_t *lpolicy) in ldlm_flock_policy_wire18_to_local() argument
573 memset(lpolicy, 0, sizeof(*lpolicy)); in ldlm_flock_policy_wire18_to_local()
574 lpolicy->l_flock.start = wpolicy->l_flock.lfw_start; in ldlm_flock_policy_wire18_to_local()
575 lpolicy->l_flock.end = wpolicy->l_flock.lfw_end; in ldlm_flock_policy_wire18_to_local()
576 lpolicy->l_flock.pid = wpolicy->l_flock.lfw_pid; in ldlm_flock_policy_wire18_to_local()
580 lpolicy->l_flock.owner = wpolicy->l_flock.lfw_pid; in ldlm_flock_policy_wire18_to_local()
584 ldlm_policy_data_t *lpolicy) in ldlm_flock_policy_wire21_to_local() argument
586 memset(lpolicy, 0, sizeof(*lpolicy)); in ldlm_flock_policy_wire21_to_local()
587 lpolicy->l_flock.start = wpolicy->l_flock.lfw_start; in ldlm_flock_policy_wire21_to_local()
588 lpolicy->l_flock.end = wpolicy->l_flock.lfw_end; in ldlm_flock_policy_wire21_to_local()
[all …]
Dldlm_extent.c225 ldlm_policy_data_t *lpolicy) in ldlm_extent_policy_wire_to_local() argument
227 memset(lpolicy, 0, sizeof(*lpolicy)); in ldlm_extent_policy_wire_to_local()
228 lpolicy->l_extent.start = wpolicy->l_extent.start; in ldlm_extent_policy_wire_to_local()
229 lpolicy->l_extent.end = wpolicy->l_extent.end; in ldlm_extent_policy_wire_to_local()
230 lpolicy->l_extent.gid = wpolicy->l_extent.gid; in ldlm_extent_policy_wire_to_local()
233 void ldlm_extent_policy_local_to_wire(const ldlm_policy_data_t *lpolicy, in ldlm_extent_policy_local_to_wire() argument
237 wpolicy->l_extent.start = lpolicy->l_extent.start; in ldlm_extent_policy_local_to_wire()
238 wpolicy->l_extent.end = lpolicy->l_extent.end; in ldlm_extent_policy_local_to_wire()
239 wpolicy->l_extent.gid = lpolicy->l_extent.gid; in ldlm_extent_policy_local_to_wire()
Dldlm_internal.h323 ldlm_policy_data_t *lpolicy);
324 void ldlm_plain_policy_local_to_wire(const ldlm_policy_data_t *lpolicy,
327 ldlm_policy_data_t *lpolicy);
328 void ldlm_ibits_policy_local_to_wire(const ldlm_policy_data_t *lpolicy,
331 ldlm_policy_data_t *lpolicy);
332 void ldlm_extent_policy_local_to_wire(const ldlm_policy_data_t *lpolicy,
335 ldlm_policy_data_t *lpolicy);
337 ldlm_policy_data_t *lpolicy);
339 void ldlm_flock_policy_local_to_wire(const ldlm_policy_data_t *lpolicy,
Dldlm_plain.c62 ldlm_policy_data_t *lpolicy) in ldlm_plain_policy_wire_to_local() argument
67 void ldlm_plain_policy_local_to_wire(const ldlm_policy_data_t *lpolicy, in ldlm_plain_policy_local_to_wire() argument
Dldlm_lock.c95 const ldlm_policy_data_t *lpolicy, in ldlm_convert_policy_to_wire() argument
102 convert(lpolicy, wpolicy); in ldlm_convert_policy_to_wire()
110 ldlm_policy_data_t *lpolicy) in ldlm_convert_policy_to_local() argument
122 convert(wpolicy, lpolicy); in ldlm_convert_policy_to_local()
/drivers/staging/lustre/lustre/include/
Dlustre_dlm.h564 ldlm_policy_data_t *lpolicy);