Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/arch/x86/xen/
Dmulticalls.h67 struct multicall_space xen_mc_extend_args(unsigned long op, size_t arg_size);
/linux-6.1.9/arch/x86/net/
Dbpf_jit_comp.c1756 int i, j, arg_size, nr_regs; in save_regs() local
1764 nr_regs = (m->arg_size[i] + 7) / 8; in save_regs()
1765 arg_size = 8; in save_regs()
1768 arg_size = m->arg_size[i]; in save_regs()
1772 emit_stx(prog, bytes_to_bpf_size(arg_size), in save_regs()
1785 int i, j, arg_size, nr_regs; in restore_regs() local
1794 nr_regs = (m->arg_size[i] + 7) / 8; in restore_regs()
1795 arg_size = 8; in restore_regs()
1798 arg_size = m->arg_size[i]; in restore_regs()
1802 emit_ldx(prog, bytes_to_bpf_size(arg_size), in restore_regs()
[all …]
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.1.9/tools/perf/util/
Dbpf-prologue.c70 int arg_size = type ? atoi(&type[1]) : 64; in argtype_to_ldx_size() local
72 switch (arg_size) { in argtype_to_ldx_size()
/linux-6.1.9/security/apparmor/
Dlsm.c648 size_t arg_size; in apparmor_setprocattr() local
674 arg_size = size - (args - (largs ? largs : (char *) value)); in apparmor_setprocattr()
677 error = aa_setprocattr_changehat(args, arg_size, in apparmor_setprocattr()
680 error = aa_setprocattr_changehat(args, arg_size, in apparmor_setprocattr()
/linux-6.1.9/arch/sparc/include/asm/
Dhypervisor.h3428 unsigned long arg_size);
/linux-6.1.9/include/linux/
Dbpf.h598 size_t arg_size[5]; member
787 u8 arg_size[MAX_BPF_FUNC_ARGS]; member
/linux-6.1.9/kernel/bpf/
Dbtf.c5938 m->arg_size[i] = 8; in btf_distill_func_proto()
5984 m->arg_size[i] = ret; in btf_distill_func_proto()
Dverifier.c6100 fn->arg_size[arg], false, in check_func_arg()
6533 bool has_size = fn->arg_size[arg] != 0; in check_args_pair_invalid()