Home
last modified time | relevance | path

Searched refs:arg_size (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/drivers/iio/chemical/
Dsps30_serial.c134 size_t arg_size) in sps30_serial_prep_frame() argument
143 num += sps30_serial_put_byte(buf + num, arg_size); in sps30_serial_prep_frame()
145 for (i = 0; i < arg_size; i++) in sps30_serial_prep_frame()
191 const void *arg, size_t arg_size, void *rsp, size_t rsp_size) in sps30_serial_command() argument
197 size = sps30_serial_prep_frame(buf, cmd, arg, arg_size); in sps30_serial_command()
Dsps30_i2c.c65 static int sps30_i2c_command(struct sps30_state *state, u16 cmd, void *arg, size_t arg_size, in sps30_i2c_command() argument
94 while (arg_size) { in sps30_i2c_command()
98 arg_size -= 2; in sps30_i2c_command()
/linux-6.12.1/tools/testing/selftests/drivers/s390x/uvdevice/
Dtest_uvdevice.c30 uint32_t arg_size; in FIXTURE_VARIANT() local
35 .arg_size = sizeof(struct uvio_attest), in FIXTURE_VARIANT_ADD()
43 self->uvio_ioctl.argument_len = variant->arg_size; in FIXTURE_SETUP()
106 self->uvio_ioctl.argument_len = variant->arg_size; in TEST_F()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_pat_arg.c396 u32 arg_size) in mlx5hws_arg_is_valid_arg_request_size() argument
398 if (arg_size < ctx->caps->log_header_modify_argument_granularity || in mlx5hws_arg_is_valid_arg_request_size()
399 arg_size > ctx->caps->log_header_modify_argument_max_alloc) { in mlx5hws_arg_is_valid_arg_request_size()
Dmlx5hws_pat_arg.h79 u32 arg_size);
/linux-6.12.1/arch/x86/xen/
Dxen-ops.h262 struct multicall_space xen_mc_extend_args(unsigned long op, size_t arg_size);
/linux-6.12.1/arch/x86/net/
Dbpf_jit_comp.c2466 int arg_size, off; in clean_stack_garbage() local
2496 arg_size = m->arg_size[m->nr_args - 1]; in clean_stack_garbage()
2497 if (arg_size <= 4) { in clean_stack_garbage()
2516 arg_regs = (m->arg_size[i] + 7) / 8; in get_nr_used_regs()
2539 arg_regs = (m->arg_size[i] + 7) / 8; in save_args()
2617 arg_regs = (m->arg_size[i] + 7) / 8; in restore_regs()
2897 nr_regs += (m->arg_size[i] + 7) / 8 - 1; in __arch_prepare_bpf_trampoline()
Dbpf_jit_comp32.c1587 int regs_needed = fm->arg_size[i] > sizeof(u32) ? 2 : 1; in emit_kfunc_call()
1599 if (fm->arg_size[i - 1] > sizeof(u32)) { in emit_kfunc_call()
1613 if (fm->arg_size[i - 1] > sizeof(u32)) in emit_kfunc_call()
/linux-6.12.1/drivers/accel/qaic/
Dqaic_data.c943 unsigned long arg_size; in qaic_attach_slice_bo_ioctl() local
952 arg_size = args->hdr.count * sizeof(*slice_ent); in qaic_attach_slice_bo_ioctl()
953 if (arg_size / args->hdr.count != sizeof(*slice_ent)) in qaic_attach_slice_bo_ioctl()
983 slice_ent = kzalloc(arg_size, GFP_KERNEL); in qaic_attach_slice_bo_ioctl()
989 ret = copy_from_user(slice_ent, user_data, arg_size); in qaic_attach_slice_bo_ioctl()
/linux-6.12.1/security/apparmor/
Dlsm.c852 size_t arg_size; in do_setattr() local
879 arg_size = size - (args - (largs ? largs : (char *) value)); in do_setattr()
882 error = aa_setprocattr_changehat(args, arg_size, in do_setattr()
885 error = aa_setprocattr_changehat(args, arg_size, in do_setattr()
/linux-6.12.1/arch/sparc/include/asm/
Dhypervisor.h3428 unsigned long arg_size);
/linux-6.12.1/arch/s390/net/
Dbpf_jit_comp.c1792 m->arg_size[j], in bpf_jit_insn()
2604 if (m->arg_size[i] <= 8) in __arch_prepare_bpf_trampoline()
2606 else if (m->arg_size[i] <= 16) in __arch_prepare_bpf_trampoline()
2663 if (m->arg_size[i] <= 8) { in __arch_prepare_bpf_trampoline()
/linux-6.12.1/arch/riscv/net/
Dbpf_jit_comp64.c870 nr_arg_slots += round_up(m->arg_size[i], 8) / 8; in __arch_prepare_bpf_trampoline()
1582 if (fm->arg_size[idx] == sizeof(int)) in bpf_jit_emit_insn()
/linux-6.12.1/include/linux/
Dbpf.h855 size_t arg_size[5]; member
1056 u8 arg_size[MAX_BPF_FUNC_ARGS]; member
/linux-6.12.1/arch/arm64/net/
Dbpf_jit_comp.c2321 nregs += (m->arg_size[i] + 7) / 8 - 1; in btf_func_model_nregs()
/linux-6.12.1/kernel/bpf/
Dbtf.c7063 m->arg_size[i] = 8; in btf_distill_func_proto()
7111 m->arg_size[i] = ret; in btf_distill_func_proto()
Dverifier.c8991 err = check_helper_mem_access(env, regno, fn->arg_size[arg], in check_func_arg()
8997 err = check_ptr_alignment(env, reg, 0, fn->arg_size[arg], true); in check_func_arg()
9365 bool has_size = fn->arg_size[arg] != 0; in check_args_pair_invalid()