Searched refs:res_length (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/fs/dlm/ |
H A D | dir.c | 221 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()
|
H A D | debug_fs.c | 82 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()
|
H A D | rcom.c | 368 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()
|
H A D | lock.c | 416 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 …]
|
H A D | dlm_internal.h | 296 int res_length; /* length of rsb name */ member
|
/openbmc/linux/drivers/virtio/ |
H A D | virtio_pci_modern.c | 404 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()
|
/openbmc/linux/include/trace/events/ |
H A D | dlm.h | 106 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)
|