Home
last modified time | relevance | path

Searched refs:body_len (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/init/
Dinitramfs.c152 static __initdata unsigned long body_len, name_len; variable
174 body_len = parsed[6]; in parse_header()
256 next_header = this_header + N_ALIGN(name_len) + body_len; in do_header()
262 if (body_len > PATH_MAX) in do_header()
265 remains = N_ALIGN(name_len) + body_len; in do_header()
270 if (S_ISREG(mode) || !body_len) in do_header()
346 if (body_len) in do_name()
347 vfs_truncate(&wfile->f_path, body_len); in do_name()
369 if (byte_count >= body_len) { in do_copy()
371 if (xwrite(wfile, victim, body_len, &wfile_pos) != body_len) in do_copy()
[all …]
/kernel/linux/linux-5.10/drivers/net/
Dnetconsole.c775 int header_len, body_len; in send_ext_msg_udp() local
789 body_len = msg_len - header_len - 1; in send_ext_msg_udp()
798 while (offset < body_len) { in send_ext_msg_udp()
804 ",ncfrag=%d/%d;", offset, body_len); in send_ext_msg_udp()
806 this_chunk = min(body_len - offset, in send_ext_msg_udp()
/kernel/linux/linux-5.10/drivers/xen/xenbus/
Dxenbus_dev_frontend.c273 int path_len, tok_len, body_len; in watch_fired() local
283 body_len = path_len + tok_len; in watch_fired()
286 hdr.len = body_len; in watch_fired()
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dhif_tx.c40 static void *wfx_alloc_hif(size_t body_len, struct hif_msg **hif) in wfx_alloc_hif() argument
42 *hif = kzalloc(sizeof(struct hif_msg) + body_len, GFP_KERNEL); in wfx_alloc_hif()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_ap.c65 int body_len, u8 *addr, u16 tx_cb_idx);
925 int body_len, u8 *addr, u16 tx_cb_idx) in prism2_send_mgmt() argument
946 skb = dev_alloc_skb(sizeof(*hdr) + body_len); in prism2_send_mgmt()
957 skb_put_data(skb, body, body_len); in prism2_send_mgmt()
/kernel/linux/linux-5.10/drivers/net/wireless/atmel/
Datmel.c596 u8 *body, int body_len);
877 u8 *body, int body_len) in atmel_transmit_management_frame() argument
880 int len = MGMT_FRAME_BODY_OFFSET + body_len; in atmel_transmit_management_frame()
886 atmel_copy_to_card(priv->dev, buff + MGMT_FRAME_BODY_OFFSET, body, body_len); in atmel_transmit_management_frame()