Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iio/chemical/
Dsps30_serial.c134 const unsigned char *arg, 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.6.21/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.6.21/arch/x86/xen/
Dmulticalls.h67 struct multicall_space xen_mc_extend_args(unsigned long op, size_t arg_size);
/linux-6.6.21/arch/x86/net/
Dbpf_jit_comp.c1959 int arg_size, off; in clean_stack_garbage() local
1989 arg_size = m->arg_size[m->nr_args - 1]; in clean_stack_garbage()
1990 if (arg_size <= 4) { in clean_stack_garbage()
2009 arg_regs = (m->arg_size[i] + 7) / 8; in get_nr_used_regs()
2032 arg_regs = (m->arg_size[i] + 7) / 8; in save_args()
2110 arg_regs = (m->arg_size[i] + 7) / 8; in restore_regs()
2373 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.6.21/security/apparmor/
Dlsm.c694 size_t arg_size; in apparmor_setprocattr() local
721 arg_size = size - (args - (largs ? largs : (char *) value)); in apparmor_setprocattr()
724 error = aa_setprocattr_changehat(args, arg_size, in apparmor_setprocattr()
727 error = aa_setprocattr_changehat(args, arg_size, in apparmor_setprocattr()
/linux-6.6.21/drivers/accel/qaic/
Dqaic_data.c929 unsigned long arg_size; in qaic_attach_slice_bo_ioctl() local
938 arg_size = args->hdr.count * sizeof(*slice_ent); in qaic_attach_slice_bo_ioctl()
939 if (arg_size / args->hdr.count != sizeof(*slice_ent)) in qaic_attach_slice_bo_ioctl()
972 slice_ent = kzalloc(arg_size, GFP_KERNEL); in qaic_attach_slice_bo_ioctl()
978 ret = copy_from_user(slice_ent, user_data, arg_size); in qaic_attach_slice_bo_ioctl()
/linux-6.6.21/arch/s390/net/
Dbpf_jit_comp.c1438 m->arg_size[j], in bpf_jit_insn()
2240 if (m->arg_size[i] <= 8) in __arch_prepare_bpf_trampoline()
2242 else if (m->arg_size[i] <= 16) in __arch_prepare_bpf_trampoline()
2299 if (m->arg_size[i] <= 8) { in __arch_prepare_bpf_trampoline()
/linux-6.6.21/arch/sparc/include/asm/
Dhypervisor.h3428 unsigned long arg_size);
/linux-6.6.21/include/linux/
Dbpf.h815 size_t arg_size[5]; member
1011 u8 arg_size[MAX_BPF_FUNC_ARGS]; member
/linux-6.6.21/arch/riscv/net/
Dbpf_jit_comp64.c847 nregs += round_up(m->arg_size[i], 8) / 8 - 1; in __arch_prepare_bpf_trampoline()
/linux-6.6.21/arch/arm64/net/
Dbpf_jit_comp.c2046 nregs += (m->arg_size[i] + 7) / 8 - 1; in arch_prepare_bpf_trampoline()
/linux-6.6.21/kernel/bpf/
Dbtf.c6564 m->arg_size[i] = 8; in btf_distill_func_proto()
6612 m->arg_size[i] = ret; in btf_distill_func_proto()
Dverifier.c8631 fn->arg_size[arg], false, in check_func_arg()
9036 bool has_size = fn->arg_size[arg] != 0; in check_args_pair_invalid()