Home
last modified time | relevance | path

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

/linux-3.4.99/fs/dlm/
Ddir.c372 if (len == r->res_length && !memcmp(name, r->res_name, len)) { in find_rsb_root()
427 if (offset + sizeof(uint16_t)*2 + r->res_length > outlen) { in dlm_copy_master_names()
435 be_namelen = cpu_to_be16(r->res_length); in dlm_copy_master_names()
438 memcpy(outbuf + offset, r->res_name, r->res_length); in dlm_copy_master_names()
439 offset += r->res_length; in dlm_copy_master_names()
Dnetlink.c110 data->resource_namelen = r->res_length; in fill_data()
111 memcpy(data->resource_name, r->res_name, r->res_length); in fill_data()
Ddebug_fs.c83 res, res->res_length); in print_format1()
87 for (i = 0; i < res->res_length; i++) { in print_format1()
204 r->res_length, in print_format2_lock()
286 r->res_length); in print_format3()
290 for (i = 0; i < r->res_length; i++) { in print_format3()
297 for (i = 0; i < r->res_length; i++) { in print_format3()
Drcom.c335 error = create_rcom(ls, dir_nodeid, DLM_RCOM_LOOKUP, r->res_length, in dlm_send_rcom_lookup()
339 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.h282 int res_length; /* length of rsb name */ member
Dlock.c390 r->res_length = len; in get_rsb_struct()
453 rc = rsb_cmp(cur, rsb->res_name, rsb->res_length); in rsb_insert()
1133 r->res_name, r->res_length); in dir_remove()
2094 r->res_length, &ret_nodeid); in set_master()
2933 mb_len += r->res_length; in create_message()
2989 memcpy(ms->m_extra, r->res_name, r->res_length); in send_args()
3150 memcpy(ms->m_extra, r->res_name, r->res_length); in send_remove()
Drecover.c385 r->res_length, &ret_nodeid); in recover_master()
/linux-3.4.99/drivers/net/tokenring/
Dolympic.h229 __le32 res_length; member
Dolympic.c621 olympic_priv->olympic_rx_ring[i].res_length = cpu_to_le32(olympic_priv->pkt_buf_sz); in olympic_open()
828 olympic_priv->olympic_rx_ring[rx_ring_last_received].res_length = in olympic_rx()
854 cpy_length = (i == 1 ? frag_len : le32_to_cpu(rx_desc->res_length)); in olympic_rx()