Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/dlm/
Ddir.c219 if (len == r->res_length && !memcmp(name, r->res_name, len)) { in find_rsb_root()
274 if (offset + sizeof(uint16_t)*2 + r->res_length > outlen) { in dlm_copy_master_names()
283 be_namelen = cpu_to_be16(r->res_length); in dlm_copy_master_names()
286 memcpy(outbuf + offset, r->res_name, r->res_length); in dlm_copy_master_names()
287 offset += r->res_length; in dlm_copy_master_names()
Ddebug_fs.c79 seq_printf(s, "\nResource %p Name (len=%d) \"", res, res->res_length); in print_format1()
81 for (i = 0; i < res->res_length; i++) { in print_format1()
195 r->res_length, in print_format2_lock()
271 r->res_length); in print_format3()
275 for (i = 0; i < r->res_length; i++) { in print_format3()
282 for (i = 0; i < r->res_length; i++) { in print_format3()
347 r->res_length); in print_format4()
349 for (i = 0; i < r->res_length; i++) { in print_format4()
356 for (i = 0; i < r->res_length; i++) { in print_format4()
Dnetlink.c109 data->resource_namelen = r->res_length; in fill_data()
110 memcpy(data->resource_name, r->res_name, r->res_length); in fill_data()
Drcom.c327 error = create_rcom(ls, dir_nodeid, DLM_RCOM_LOOKUP, r->res_length, in dlm_send_rcom_lookup()
331 memcpy(rc->rc_buf, r->res_name, r->res_length); in dlm_send_rcom_lookup()
393 rl->rl_namelen = cpu_to_le16(r->res_length); in pack_rcom_lock()
394 memcpy(rl->rl_name, r->res_name, r->res_length); in pack_rcom_lock()
Ddlm_internal.h296 int res_length; /* length of rsb name */ member
Dlock.c421 r->res_length = len; in get_rsb_struct()
481 rc = rsb_cmp(cur, rsb->res_name, rsb->res_length); in rsb_insert()
1697 ls->ls_remove_lens[remote_count] = r->res_length; in shrink_bucket()
3572 mb_len += r->res_length; in create_message()
3628 memcpy(ms->m_extra, r->res_name, r->res_length); in send_args()
3789 memcpy(ms->m_extra, r->res_name, r->res_length); in send_remove()
5917 if (lkb->lkb_resource->res_length != namelen) in dlm_user_adopt_orphan()
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_pci_modern.c456 u64 res_offset, res_length; in virtio_pci_find_shm_cap() local
486 res_length = tmp32; in virtio_pci_find_shm_cap()
496 res_length |= ((u64)tmp32) << 32; in virtio_pci_find_shm_cap()
499 *len = res_length; in virtio_pci_find_shm_cap()