Searched refs:res_length (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/fs/dlm/ |
D | dir.c | 220 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()
|
D | debug_fs.c | 81 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()
|
D | netlink.c | 110 data->resource_namelen = r->res_length; in fill_data() 111 memcpy(data->resource_name, r->res_name, r->res_length); in fill_data()
|
D | rcom.c | 363 error = create_rcom(ls, dir_nodeid, DLM_RCOM_LOOKUP, r->res_length, in dlm_send_rcom_lookup() 367 memcpy(rc->rc_buf, r->res_name, r->res_length); in dlm_send_rcom_lookup() 430 rl->rl_namelen = cpu_to_le16(r->res_length); in pack_rcom_lock() 431 memcpy(rl->rl_name, r->res_name, r->res_length); in pack_rcom_lock()
|
D | dlm_internal.h | 307 int res_length; /* length of rsb name */ member
|
D | lock.c | 428 r->res_length = len; in get_rsb_struct() 488 rc = rsb_cmp(cur, rsb->res_name, rsb->res_length); in rsb_insert() 1670 ls->ls_remove_lens[remote_count] = r->res_length; in shrink_bucket() 3595 mb_len += r->res_length; in create_message() 3650 memcpy(ms->m_extra, r->res_name, r->res_length); in send_args() 3811 memcpy(ms->m_extra, r->res_name, r->res_length); in send_remove() 5991 if (iter->lkb_resource->res_length != namelen) in dlm_user_adopt_orphan()
|
/linux-6.1.9/include/trace/events/ |
D | dlm.h | 63 lkb->lkb_resource ? lkb->lkb_resource->res_length : namelen) 107 lkb->lkb_resource ? lkb->lkb_resource->res_length : namelen) 158 lkb->lkb_resource ? lkb->lkb_resource->res_length : 0) 194 lkb->lkb_resource ? lkb->lkb_resource->res_length : 0) 231 lkb->lkb_resource ? lkb->lkb_resource->res_length : 0) 268 lkb->lkb_resource ? lkb->lkb_resource->res_length : 0)
|
/linux-6.1.9/drivers/virtio/ |
D | virtio_pci_modern.c | 394 u64 res_offset, res_length; in virtio_pci_find_shm_cap() local 429 res_length = tmp32; in virtio_pci_find_shm_cap() 439 res_length |= ((u64)tmp32) << 32; in virtio_pci_find_shm_cap() 443 *len = res_length; in virtio_pci_find_shm_cap()
|