Home
last modified time | relevance | path

Searched refs:mb_len (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/dlm/
Drcom.c31 struct dlm_rcom **rc_ret, char *mb, int mb_len) in _create_rcom() argument
40 rc->rc_header.h_length = cpu_to_le16(mb_len); in _create_rcom()
55 int mb_len = sizeof(struct dlm_rcom) + len; in create_rcom() local
59 mh = dlm_midcomms_get_mhandle(to_nodeid, mb_len, GFP_NOFS, &mb); in create_rcom()
66 _create_rcom(ls, to_nodeid, type, len, rc_ret, mb, mb_len); in create_rcom()
75 int mb_len = sizeof(struct dlm_rcom) + len; in create_rcom_stateless() local
79 msg = dlm_lowcomms_new_msg(to_nodeid, mb_len, GFP_NOFS, &mb, in create_rcom_stateless()
87 _create_rcom(ls, to_nodeid, type, len, rc_ret, mb, mb_len); in create_rcom_stateless()
497 int mb_len = sizeof(struct dlm_rcom) + sizeof(struct rcom_config); in dlm_send_ls_not_ready() local
499 mh = dlm_midcomms_get_mhandle(nodeid, mb_len, GFP_NOFS, &mb); in dlm_send_ls_not_ready()
[all …]
Dmidcomms.c372 int mb_len = sizeof(struct dlm_header); in dlm_send_ack() local
377 msg = dlm_lowcomms_new_msg(nodeid, mb_len, GFP_NOFS, &ppc, in dlm_send_ack()
386 m_header->h_length = cpu_to_le16(mb_len); in dlm_send_ack()
399 int mb_len = sizeof(struct dlm_header); in dlm_send_fin() local
404 mh = dlm_midcomms_get_mhandle(node->nodeid, mb_len, GFP_NOFS, &ppc); in dlm_send_fin()
414 m_header->h_length = cpu_to_le16(mb_len); in dlm_send_fin()
Dlock.c3552 static int _create_message(struct dlm_ls *ls, int mb_len, in _create_message() argument
3565 mh = dlm_midcomms_get_mhandle(to_nodeid, mb_len, GFP_NOFS, &mb); in _create_message()
3574 ms->m_header.h_length = cpu_to_le16(mb_len); in _create_message()
3589 int mb_len = sizeof(struct dlm_message); in create_message() local
3595 mb_len += r->res_length; in create_message()
3603 mb_len += r->res_ls->ls_lvblen; in create_message()
3607 return _create_message(r->res_ls, mb_len, to_nodeid, mstype, in create_message()
/linux-6.1.9/drivers/media/usb/go7007/
Dgo7007-fw.c419 int i, j, mb_code, mb_len; in mpeg1_frame_header() local
426 mb_len = 3; in mpeg1_frame_header()
430 mb_len = 4; in mpeg1_frame_header()
434 mb_len = 3; in mpeg1_frame_header()
438 mb_len = 2; in mpeg1_frame_header()
441 mb_code = mb_len = 0; in mpeg1_frame_header()
484 CODE_ADD(c, mb_code, mb_len); in mpeg1_frame_header()
498 CODE_ADD(c, mb_code, mb_len); in mpeg1_frame_header()