Home
last modified time | relevance | path

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

/linux-6.6.21/fs/dlm/
Ddir.c221 if (len == r->res_length && !memcmp(name, r->res_name, len)) { in find_rsb_root()
275 if (offset + sizeof(uint16_t)*2 + r->res_length > outlen) { in dlm_copy_master_names()
284 be_namelen = cpu_to_be16(r->res_length); in dlm_copy_master_names()
287 memcpy(outbuf + offset, r->res_name, r->res_length); in dlm_copy_master_names()
288 offset += r->res_length; in dlm_copy_master_names()
Ddebug_fs.c82 seq_printf(s, "\nResource %p Name (len=%d) \"", res, res->res_length); in print_format1()
84 for (i = 0; i < res->res_length; i++) { in print_format1()
198 r->res_length, in print_format2_lock()
274 r->res_length); in print_format3()
278 for (i = 0; i < r->res_length; i++) { in print_format3()
285 for (i = 0; i < r->res_length; i++) { in print_format3()
350 r->res_length); in print_format4()
352 for (i = 0; i < r->res_length; i++) { in print_format4()
359 for (i = 0; i < r->res_length; i++) { in print_format4()
Drcom.c368 error = create_rcom(ls, dir_nodeid, DLM_RCOM_LOOKUP, r->res_length, in dlm_send_rcom_lookup()
372 memcpy(rc->rc_buf, r->res_name, r->res_length); in dlm_send_rcom_lookup()
438 rl->rl_namelen = cpu_to_le16(r->res_length); in pack_rcom_lock()
439 memcpy(rl->rl_name, r->res_name, r->res_length); in pack_rcom_lock()
Dlock.c416 r->res_length = len; in get_rsb_struct()
476 rc = rsb_cmp(cur, rsb->res_name, rsb->res_length); in rsb_insert()
1623 ls->ls_remove_lens[remote_count] = r->res_length; in shrink_bucket()
3374 mb_len += r->res_length; in create_message()
3430 memcpy(ms->m_extra, r->res_name, r->res_length); in send_args()
3462 error = send_message(mh, ms, r->res_name, r->res_length); in send_common()
3525 error = send_message(mh, ms, r->res_name, r->res_length); in send_grant()
3547 error = send_message(mh, ms, r->res_name, r->res_length); in send_bast()
3571 error = send_message(mh, ms, r->res_name, r->res_length); in send_lookup()
3594 memcpy(ms->m_extra, r->res_name, r->res_length); in send_remove()
[all …]
Ddlm_internal.h295 int res_length; /* length of rsb name */ member
/linux-6.6.21/drivers/virtio/
Dvirtio_pci_modern.c404 u64 res_offset, res_length; in virtio_pci_find_shm_cap() local
439 res_length = tmp32; in virtio_pci_find_shm_cap()
449 res_length |= ((u64)tmp32) << 32; in virtio_pci_find_shm_cap()
453 *len = res_length; in virtio_pci_find_shm_cap()
/linux-6.6.21/include/trace/events/
Ddlm.h106 lkb->lkb_resource ? lkb->lkb_resource->res_length : namelen)
150 lkb->lkb_resource ? lkb->lkb_resource->res_length : namelen)
201 lkb->lkb_resource ? lkb->lkb_resource->res_length : 0)
237 lkb->lkb_resource ? lkb->lkb_resource->res_length : 0)
274 lkb->lkb_resource ? lkb->lkb_resource->res_length : 0)
311 lkb->lkb_resource ? lkb->lkb_resource->res_length : 0)