Home
last modified time | relevance | path

Searched refs:res_length (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/fs/dlm/
Ddir.c221 if (len == r->res_length && !memcmp(name, r->res_name, len)) { in find_rsb_root()
276 if (offset + sizeof(uint16_t)*2 + r->res_length > outlen) { in dlm_copy_master_names()
285 be_namelen = cpu_to_be16(r->res_length); in dlm_copy_master_names()
288 memcpy(outbuf + offset, r->res_name, r->res_length); in dlm_copy_master_names()
289 offset += r->res_length; in dlm_copy_master_names()
Ddebug_fs.c81 seq_printf(s, "\nResource %p Name (len=%d) \"", res, res->res_length); in print_format1()
83 for (i = 0; i < res->res_length; i++) { in print_format1()
197 r->res_length, in print_format2_lock()
273 r->res_length); in print_format3()
277 for (i = 0; i < r->res_length; i++) { in print_format3()
284 for (i = 0; i < r->res_length; i++) { in print_format3()
349 r->res_length); in print_format4()
351 for (i = 0; i < r->res_length; i++) { in print_format4()
358 for (i = 0; i < r->res_length; i++) { in print_format4()
Dnetlink.c111 data->resource_namelen = r->res_length; in fill_data()
112 memcpy(data->resource_name, r->res_name, r->res_length); in fill_data()
Drcom.c329 error = create_rcom(ls, dir_nodeid, DLM_RCOM_LOOKUP, r->res_length, in dlm_send_rcom_lookup()
333 memcpy(rc->rc_buf, r->res_name, r->res_length); in dlm_send_rcom_lookup()
395 rl->rl_namelen = cpu_to_le16(r->res_length); in pack_rcom_lock()
396 memcpy(rl->rl_name, r->res_name, r->res_length); in pack_rcom_lock()
Ddlm_internal.h298 int res_length; /* length of rsb name */ member
Dlock.c423 r->res_length = len; in get_rsb_struct()
483 rc = rsb_cmp(cur, rsb->res_name, rsb->res_length); in rsb_insert()
1701 ls->ls_remove_lens[remote_count] = r->res_length; in shrink_bucket()
3577 mb_len += r->res_length; in create_message()
3633 memcpy(ms->m_extra, r->res_name, r->res_length); in send_args()
3794 memcpy(ms->m_extra, r->res_name, r->res_length); in send_remove()
5924 if (iter->lkb_resource->res_length != namelen) in dlm_user_adopt_orphan()