Home
last modified time | relevance | path

Searched full:body (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/linux/drivers/net/wireless/silabs/wfx/
H A Dhif_tx.c43 return (*hif)->body; in wfx_alloc_hif()
163 struct wfx_hif_req_configuration *body = wfx_alloc_hif(buf_len, &hif); in wfx_hif_configuration() local
167 body->length = cpu_to_le16(len); in wfx_hif_configuration()
168 memcpy(body->pds_data, conf, len); in wfx_hif_configuration()
179 struct wfx_hif_req_reset *body = wfx_alloc_hif(sizeof(*body), &hif); in wfx_hif_reset() local
183 body->reset_stat = reset_stat; in wfx_hif_reset()
184 wfx_fill_header(hif, wvif->id, HIF_REQ_ID_RESET, sizeof(*body)); in wfx_hif_reset()
195 struct wfx_hif_req_read_mib *body = wfx_alloc_hif(sizeof(*body), &hif); in wfx_hif_read_mib() local
198 if (!body || !reply) { in wfx_hif_read_mib()
202 body->mib_id = cpu_to_le16(mib_id); in wfx_hif_read_mib()
[all …]
H A Dhif_rx.c55 const struct wfx_hif_cnf_tx *body = buf; in wfx_hif_tx_confirm() local
57 wfx_tx_confirm_cb(wdev, body); in wfx_hif_tx_confirm()
64 const struct wfx_hif_cnf_multi_transmit *body = buf; in wfx_hif_multi_tx_confirm() local
67 WARN(body->num_tx_confs <= 0, "corrupted message"); in wfx_hif_multi_tx_confirm()
68 for (i = 0; i < body->num_tx_confs; i++) in wfx_hif_multi_tx_confirm()
69 wfx_tx_confirm_cb(wdev, &body->tx_conf_payload[i]); in wfx_hif_multi_tx_confirm()
76 const struct wfx_hif_ind_startup *body = buf; in wfx_hif_startup_indication() local
78 if (body->status || body->firmware_type > 4) { in wfx_hif_startup_indication()
82 memcpy(&wdev->hw_caps, body, sizeof(struct wfx_hif_ind_startup)); in wfx_hif_startup_indication()
101 const struct wfx_hif_ind_rx *body = buf; in wfx_hif_receive_indication() local
[all …]
/linux/tools/testing/selftests/bpf/
H A Duprobe_multi.c32 #define F(body, name, idx) body(name, idx) argument
34 #define F10(body, name, idx) \ argument
35 F(body, PASTE(name, idx), 0) F(body, PASTE(name, idx), 1) F(body, PASTE(name, idx), 2) \
36 F(body, PASTE(name, idx), 3) F(body, PASTE(name, idx), 4) F(body, PASTE(name, idx), 5) \
37 F(body, PASTE(name, idx), 6) F(body, PASTE(name, idx), 7) F(body, PASTE(name, idx), 8) \
38 F(body, PASTE(name, idx), 9)
40 #define F100(body, name, idx) \ argument
41 F10(body, PASTE(name, idx), 0) F10(body, PASTE(name, idx), 1) F10(body, PASTE(name, idx), 2) \
42 F10(body, PASTE(name, idx), 3) F10(body, PASTE(name, idx), 4) F10(body, PASTE(name, idx), 5) \
43 F10(body, PASTE(name, idx), 6) F10(body, PASTE(name, idx), 7) F10(body, PASTE(name, idx), 8) \
[all …]
/linux/drivers/media/usb/as102/
H A Das10x_cmd.c28 sizeof(pcmd->body.turn_on.req)); in as10x_cmd_turn_on()
31 pcmd->body.turn_on.req.proc_id = cpu_to_le16(CONTROL_PROC_TURNON); in as10x_cmd_turn_on()
36 sizeof(pcmd->body.turn_on.req) + in as10x_cmd_turn_on()
39 sizeof(prsp->body.turn_on.rsp) + in as10x_cmd_turn_on()
69 sizeof(pcmd->body.turn_off.req)); in as10x_cmd_turn_off()
72 pcmd->body.turn_off.req.proc_id = cpu_to_le16(CONTROL_PROC_TURNOFF); in as10x_cmd_turn_off()
78 sizeof(pcmd->body.turn_off.req) + HEADER_SIZE, in as10x_cmd_turn_off()
80 sizeof(prsp->body.turn_off.rsp) + HEADER_SIZE); in as10x_cmd_turn_off()
111 sizeof(preq->body.set_tune.req)); in as10x_cmd_set_tune()
114 preq->body.set_tune.req.proc_id = cpu_to_le16(CONTROL_PROC_SETTUNE); in as10x_cmd_set_tune()
[all …]
H A Das10x_cmd_stream.c29 sizeof(pcmd->body.add_pid_filter.req)); in as10x_cmd_add_PID_filter()
32 pcmd->body.add_pid_filter.req.proc_id = in as10x_cmd_add_PID_filter()
34 pcmd->body.add_pid_filter.req.pid = cpu_to_le16(filter->pid); in as10x_cmd_add_PID_filter()
35 pcmd->body.add_pid_filter.req.stream_type = filter->type; in as10x_cmd_add_PID_filter()
38 pcmd->body.add_pid_filter.req.idx = filter->idx; in as10x_cmd_add_PID_filter()
40 pcmd->body.add_pid_filter.req.idx = 0xFF; in as10x_cmd_add_PID_filter()
45 sizeof(pcmd->body.add_pid_filter.req) in as10x_cmd_add_PID_filter()
47 sizeof(prsp->body.add_pid_filter.rsp) in as10x_cmd_add_PID_filter()
61 filter->idx = prsp->body.add_pid_filter.rsp.filter_id; in as10x_cmd_add_PID_filter()
86 sizeof(pcmd->body.del_pid_filter.req)); in as10x_cmd_del_PID_filter()
[all …]
H A Das10x_cmd_cfg.c34 sizeof(pcmd->body.context.req)); in as10x_cmd_get_context()
37 pcmd->body.context.req.proc_id = cpu_to_le16(CONTROL_PROC_CONTEXT); in as10x_cmd_get_context()
38 pcmd->body.context.req.tag = cpu_to_le16(tag); in as10x_cmd_get_context()
39 pcmd->body.context.req.type = cpu_to_le16(GET_CONTEXT_DATA); in as10x_cmd_get_context()
45 sizeof(pcmd->body.context.req) in as10x_cmd_get_context()
48 sizeof(prsp->body.context.rsp) in as10x_cmd_get_context()
63 *pvalue = le32_to_cpu((__force __le32)prsp->body.context.rsp.reg_val.u.value32); in as10x_cmd_get_context()
90 sizeof(pcmd->body.context.req)); in as10x_cmd_set_context()
93 pcmd->body.context.req.proc_id = cpu_to_le16(CONTROL_PROC_CONTEXT); in as10x_cmd_set_context()
94 /* pcmd->body.context.req.reg_val.mode initialization is not required */ in as10x_cmd_set_context()
[all …]
/linux/drivers/hv/
H A Dhv_kvp.c140 version = kvp_msg->body.kvp_register.version; in kvp_register()
228 data = &message->body.kvp_enum_data; in kvp_on_msg()
272 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.ip_addr, in process_ob_ipinfo()
273 strlen((char *)in->body.kvp_ip_val.ip_addr), in process_ob_ipinfo()
280 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.sub_net, in process_ob_ipinfo()
281 strlen((char *)in->body.kvp_ip_val.sub_net), in process_ob_ipinfo()
288 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.gate_way, in process_ob_ipinfo()
289 strlen((char *)in->body.kvp_ip_val.gate_way), in process_ob_ipinfo()
296 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.dns_addr, in process_ob_ipinfo()
297 strlen((char *)in->body.kvp_ip_val.dns_addr), in process_ob_ipinfo()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_context.c147 SVGA3dCmdDestroyContext body; in vmw_hw_context_destroy() member
173 cmd->header.size = sizeof(cmd->body); in vmw_hw_context_destroy()
174 cmd->body.cid = res->id; in vmw_hw_context_destroy()
250 SVGA3dCmdDefineContext body; in vmw_context_init() member
277 cmd->header.size = sizeof(cmd->body); in vmw_context_init()
278 cmd->body.cid = res->id; in vmw_context_init()
304 SVGA3dCmdDefineGBContext body; in vmw_gb_context_create() member
328 cmd->header.size = sizeof(cmd->body); in vmw_gb_context_create()
329 cmd->body.cid = res->id; in vmw_gb_context_create()
347 SVGA3dCmdBindGBContext body; in vmw_gb_context_bind() member
[all …]
H A Dvmwgfx_shader.c206 SVGA3dCmdDefineGBShader body; in vmw_gb_shader_create() member
230 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_create()
231 cmd->body.shid = res->id; in vmw_gb_shader_create()
232 cmd->body.type = shader->type; in vmw_gb_shader_create()
233 cmd->body.sizeInBytes = shader->size; in vmw_gb_shader_create()
251 SVGA3dCmdBindGBShader body; in vmw_gb_shader_bind() member
262 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_bind()
263 cmd->body.shid = res->id; in vmw_gb_shader_bind()
264 cmd->body.mobid = bo->resource->start; in vmw_gb_shader_bind()
265 cmd->body.offsetInBytes = res->guest_memory_offset; in vmw_gb_shader_bind()
[all …]
H A Dvmwgfx_streamoutput.c96 SVGA3dCmdDXBindStreamOutput body; in vmw_dx_streamoutput_unscrub() member
107 cmd->header.size = sizeof(cmd->body); in vmw_dx_streamoutput_unscrub()
108 cmd->body.soid = so->id; in vmw_dx_streamoutput_unscrub()
109 cmd->body.mobid = res->guest_memory_bo->tbo.resource->start; in vmw_dx_streamoutput_unscrub()
110 cmd->body.offsetInBytes = res->guest_memory_offset; in vmw_dx_streamoutput_unscrub()
111 cmd->body.sizeInBytes = so->size; in vmw_dx_streamoutput_unscrub()
167 SVGA3dCmdDXBindStreamOutput body; in vmw_dx_streamoutput_scrub() member
180 cmd->header.size = sizeof(cmd->body); in vmw_dx_streamoutput_scrub()
181 cmd->body.soid = res->id; in vmw_dx_streamoutput_scrub()
182 cmd->body.mobid = SVGA3D_INVALID_ID; in vmw_dx_streamoutput_scrub()
[all …]
H A Dvmwgfx_overlay.c58 SVGAFifoCmdEscape body; member
70 header->body.nsid = SVGA_ESCAPE_NSID_VMWARE; in fill_escape()
71 header->body.size = size; in fill_escape()
183 SVGAEscapeVideoSetRegs body; in vmw_overlay_send_stop() member
201 fill_escape(&cmds->escape, sizeof(cmds->body)); in vmw_overlay_send_stop()
202 cmds->body.header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS; in vmw_overlay_send_stop()
203 cmds->body.header.streamId = stream_id; in vmw_overlay_send_stop()
204 cmds->body.items[0].registerId = SVGA_VIDEO_ENABLED; in vmw_overlay_send_stop()
205 cmds->body.items[0].value = false; in vmw_overlay_send_stop()
/linux/scripts/gcc-plugins/
H A Dstackleak_plugin.c284 rtx body; in remove_stack_tracking_gcall() local
293 * Check the expression code of the insn body, which is an RTL in remove_stack_tracking_gcall()
297 body = PATTERN(insn); in remove_stack_tracking_gcall()
299 if (GET_CODE(body) == PARALLEL) in remove_stack_tracking_gcall()
300 body = XVECEXP(body, 0, 0); in remove_stack_tracking_gcall()
302 if (GET_CODE(body) != CALL) in remove_stack_tracking_gcall()
310 body = XEXP(body, 0); in remove_stack_tracking_gcall()
311 if (GET_CODE(body) != MEM) in remove_stack_tracking_gcall()
314 body = XEXP(body, 0); in remove_stack_tracking_gcall()
315 if (GET_CODE(body) != SYMBOL_REF) in remove_stack_tracking_gcall()
[all …]
H A Darm_ssp_per_task_plugin.c
/linux/scripts/
H A Drustdoc_test_builder.rs22 let mut body = String::new(); in main() localVariable
23 stdin.read_to_string(&mut body).unwrap(); in main()
35 let rustdoc_function_name = body in main()
51 let body = body.replace( in main() localVariable
63 let body = body.replace( in main() localVariable
73 std::fs::write(path, body.as_bytes()).unwrap(); in main()
/linux/rust/macros/
H A Dvtable.rs23 // Retrieve the main body. The main body should be the last token tree. in vtable()
24 let body = match tokens.pop() { in vtable() localVariable
26 _ => panic!("cannot locate main body of trait or impl block"), in vtable()
29 let mut body_it = body.stream().into_iter(); in vtable()
91 let new_body = vec![const_items.parse().unwrap(), body.stream()] in vtable()
H A Dkunit.rs35 // Retrieve the main body. The main body should be the last token tree. in kunit_tests()
36 let body = match tokens.pop() { in kunit_tests() localVariable
38 _ => panic!("Cannot locate main body of module"), in kunit_tests()
42 let mut body_it = body.stream().into_iter(); in kunit_tests()
155 let mut body_it = body.stream().into_iter(); in kunit_tests()
/linux/drivers/media/rc/
H A Dir-rc6-decoder.c15 * RC6-6A-32 (MCE version with toggle bit in body)
32 #define RC6_6A_MCE_TOGGLE_MASK 0x8000 /* for the body bits */
167 data->body = 0; in ir_rc6_decode()
184 /* Discard LSB's that won't fit in data->body */ in ir_rc6_decode()
185 if (data->count++ < CHAR_BIT * sizeof data->body) { in ir_rc6_decode()
186 data->body <<= 1; in ir_rc6_decode()
188 data->body |= 1; in ir_rc6_decode()
214 scancode = data->body; in ir_rc6_decode()
222 if (data->count > CHAR_BIT * sizeof data->body) { in ir_rc6_decode()
228 scancode = data->body; in ir_rc6_decode()
/linux/fs/configfs/
H A Dsymlink.c82 char *body; in create_link() local
88 body = kzalloc(PAGE_SIZE, GFP_KERNEL); in create_link()
89 if (!body) in create_link()
97 kfree(body); in create_link()
102 ret = configfs_get_target_path(parent_item, item, body); in create_link()
105 dentry, body); in create_link()
111 kfree(body); in create_link()
/linux/drivers/misc/ocxl/
H A Dfile.c349 * buf: The buffer to write the body into (should be at least
357 struct ocxl_kernel_event_xsl_fault_error body; in append_xsl_error() local
359 memset(&body, 0, sizeof(body)); in append_xsl_error()
367 body.addr = ctx->xsl_error.addr; in append_xsl_error()
368 body.dsisr = ctx->xsl_error.dsisr; in append_xsl_error()
369 body.count = ctx->xsl_error.count; in append_xsl_error()
379 if (copy_to_user(buf, &body, sizeof(body))) in append_xsl_error()
382 return sizeof(body); in append_xsl_error()
391 * Body (struct ocxl_kernel_event_*)
/linux/Documentation/sphinx-static/
H A Dcustom.css7 div.body h1 { font-size: 180%; }
8 div.body h2 { font-size: 150%; }
9 div.body h3 { font-size: 130%; }
10 div.body h4 { font-size: 110%; }
16 div.body { padding: 0 15px 0 10px; }
/linux/drivers/xen/xenbus/
H A Dxenbus_comms.c209 char *body; in process_msg() member
269 state.body = state.watch->body; in process_msg()
271 state.body = state.alloc; in process_msg()
276 err = xb_read(state.body + state.read, state.msg.len - state.read); in process_msg()
284 state.body[state.msg.len] = '\0'; in process_msg()
307 req->body = state.body; in process_msg()
308 /* write body, then update state */ in process_msg()
H A Dxenbus_dev_frontend.c382 rc = kstrtou32(req->body, 10, &trans->handle.id); in xenbus_dev_queue_reply()
399 rc = queue_reply(&staging_q, req->body, req->msg.len); in xenbus_dev_queue_reply()
408 kfree(req->body); in xenbus_dev_queue_reply()
424 char body[16]; in xenbus_command_reply() member
431 if (msg.hdr.len > sizeof(msg.body)) in xenbus_command_reply()
433 memcpy(&msg.body, reply, msg.hdr.len); in xenbus_command_reply()
453 char body[]; in xenbus_write_transaction() member
469 (!strcmp(msg->body, "T") || !strcmp(msg->body, "F")))) in xenbus_write_transaction()
476 if (!strcmp(msg->body, "T")) in xenbus_write_transaction()
/linux/tools/testing/selftests/sgx/
H A Dsigstruct.c129 struct sgx_sigstruct_body body;
333 sigstruct->body.attributes = SGX_ATTR_MODE64BIT; in encl_measure()
334 sigstruct->body.xfrm = 3; in encl_measure()
362 if (!mrenclave_commit(ctx, sigstruct->body.mrenclave)) in encl_measure()
366 memcpy(&payload.body, &sigstruct->body, sizeof(sigstruct->body)); in encl_measure()
128 struct sgx_sigstruct_body body; global() member
/linux/drivers/acpi/acpica/
H A Dpsloop.c142 * Save the length and address of the body in acpi_ps_get_arguments()
149 /* Skip body of method */ in acpi_ps_get_arguments()
179 /* Skip body */ in acpi_ps_get_arguments()
343 * If the scope/device op fails to parse, skip the body of in acpi_ps_parse_loop()
416 * the body of the op. in acpi_ps_parse_loop()
486 * Skip parsing of control method or opregion body, in acpi_ps_parse_loop()
503 * body_length is unknown until we parse the body in acpi_ps_parse_loop()
513 * body_length is unknown until we parse the body in acpi_ps_parse_loop()
/linux/tools/testing/selftests/drivers/net/
H A Dstats.py180 def __run_inf_loop(body): argument
181 body = body.strip()
182 if body[-1] != ';':
183 body += ';'
185 return subprocess.Popen(f"while true; do {body} done", shell=True,

12345678910>>...13