Searched refs:arg_type (Results 1 - 17 of 17) sorted by last modified time

/linux-master/kernel/bpf/
H A Dverifier.c640 static enum bpf_dynptr_type arg_to_dynptr_type(enum bpf_arg_type arg_type) argument
642 switch (arg_type & DYNPTR_TYPE_FLAG_MASK) {
706 enum bpf_arg_type arg_type, int insn_idx, int clone_ref_obj_id)
737 type = arg_to_dynptr_type(arg_type);
974 enum bpf_arg_type arg_type)
981 if (arg_type == ARG_PTR_TO_DYNPTR)
984 dynptr_type = arg_to_dynptr_type(arg_type);
7658 enum bpf_arg_type arg_type, int clone_ref_obj_id)
7666 if ((arg_type & (MEM_UNINIT | MEM_RDONLY)) == (MEM_UNINIT | MEM_RDONLY)) {
7686 if (arg_type
705 mark_stack_slots_dynptr(struct bpf_verifier_env *env, struct bpf_reg_state *reg, enum bpf_arg_type arg_type, int insn_idx, int clone_ref_obj_id) argument
973 is_dynptr_type_expected(struct bpf_verifier_env *env, struct bpf_reg_state *reg, enum bpf_arg_type arg_type) argument
7657 process_dynptr_func(struct bpf_verifier_env *env, int regno, int insn_idx, enum bpf_arg_type arg_type, int clone_ref_obj_id) argument
8074 resolve_map_arg_type(struct bpf_verifier_env *env, const struct bpf_call_arg_meta *meta, enum bpf_arg_type *arg_type) argument
8222 check_reg_type(struct bpf_verifier_env *env, u32 regno, enum bpf_arg_type arg_type, const u32 *arg_btf_id, struct bpf_call_arg_meta *meta) argument
8384 check_func_arg_reg_off(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, int regno, enum bpf_arg_type arg_type) argument
8576 enum bpf_arg_type arg_type = fn->arg_type[arg]; local
11628 enum bpf_arg_type arg_type = ARG_DONTCARE; local
[all...]
H A Dbtf.c4924 const struct btf_type *arg_type; local
4928 arg_type = btf_type_by_id(btf, arg_type_id);
4929 if (!arg_type) {
4934 if (btf_type_is_resolve_source_only(arg_type)) {
4947 if (btf_type_needs_resolve(arg_type) &&
4949 err = btf_resolve(env, arg_type, arg_type_id);
7257 sub->args[i].arg_type = ARG_PTR_TO_CTX;
7265 sub->args[i].arg_type = ARG_PTR_TO_DYNPTR | MEM_RDONLY;
7280 sub->args[i].arg_type = ARG_PTR_TO_BTF_ID | PTR_TRUSTED;
7282 sub->args[i].arg_type |
8807 const struct btf_type *reg_type, *arg_type; local
[all...]
/linux-master/include/linux/
H A Dbpf.h584 * arg_type, ret_type and reg_type. For example, a pointer value may be null,
588 * Currently there are no more than 32 base types in arg_type, ret_type and
809 enum bpf_arg_type arg_type[5]; member in union:bpf_func_proto::__anon206
H A Dbpf_verifier.h612 enum bpf_arg_type arg_type; member in struct:bpf_subprog_arg_info
/linux-master/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_ioc.h686 __le16 arg_type; member in struct:mpi3_pel_entry
707 u8 arg_type; member in struct:mpi3_pel_arg_map
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-subdev.c443 #define DEFINE_STATE_WRAPPER(f, arg_type) \
446 arg_type *arg) \
460 #define DEFINE_STATE_WRAPPER(f, arg_type) \
463 arg_type *arg) \
/linux-master/include/kunit/
H A Dresource.h398 * @arg_type: The type of the argument accepted by @orig.
406 #define KUNIT_DEFINE_ACTION_WRAPPER(wrapper, orig, arg_type) \
409 arg_type arg = (arg_type)in; \
/linux-master/tools/mm/
H A Dpage_owner_sort.c513 int arg_type = get_arg_type(args[i]); local
515 if (arg_type == ARG_PID)
517 else if (arg_type == ARG_TGID)
519 else if (arg_type == ARG_COMM)
521 else if (arg_type == ARG_STACKTRACE)
523 else if (arg_type == ARG_ALLOCATOR)
571 int arg_type = get_arg_type(args[i]+offset); local
573 if (arg_type == ARG_PID)
575 else if (arg_type == ARG_TGID)
577 else if (arg_type
[all...]
/linux-master/drivers/scsi/megaraid/
H A Dmegaraid_sas.h2094 u8 arg_type; member in struct:megasas_evt_detail
/linux-master/tools/lib/bpf/
H A Dusdt.c207 enum usdt_arg_type arg_type; member in struct:usdt_arg_spec
1290 arg->arg_type = USDT_ARG_REG_DEREF;
1298 arg->arg_type = USDT_ARG_REG_DEREF;
1306 arg->arg_type = USDT_ARG_REG;
1315 arg->arg_type = USDT_ARG_CONST;
1338 arg->arg_type = USDT_ARG_REG_DEREF;
1347 arg->arg_type = USDT_ARG_REG;
1356 arg->arg_type = USDT_ARG_CONST;
1391 arg->arg_type = USDT_ARG_REG_DEREF;
1399 arg->arg_type
[all...]
H A Dusdt.bpf.h40 /* u64 scalar interpreted depending on arg_type, see below */
43 enum __bpf_usdt_arg_type arg_type; member in struct:__bpf_usdt_arg_spec
140 switch (arg_spec->arg_type) {
/linux-master/drivers/acpi/acpica/
H A Dutdecode.c513 * PARAMETERS: arg_type - an ARGP_* parser argument type
546 const char *acpi_ut_get_argument_type_name(u32 arg_type) argument
549 if (arg_type > ARGP_MAX) {
553 return (acpi_gbl_argument_type[arg_type]);
H A Dpsargs.c352 * arg_type - The argument type (AML_*_ARG)
363 u32 arg_type, union acpi_parse_object *arg)
369 ACPI_FUNCTION_TRACE_U32(ps_get_next_simple_arg, arg_type);
371 switch (arg_type) {
434 ACPI_ERROR((AE_INFO, "Invalid ArgType 0x%X", arg_type));
692 * arg_type - The argument type (AML_*_ARG)
705 u32 arg_type, union acpi_parse_object **return_arg)
717 acpi_ut_get_argument_type_name(arg_type), arg_type));
719 switch (arg_type) {
362 acpi_ps_get_next_simple_arg(struct acpi_parse_state *parser_state, u32 arg_type, union acpi_parse_object *arg) argument
703 acpi_ps_get_next_arg(struct acpi_walk_state *walk_state, struct acpi_parse_state *parser_state, u32 arg_type, union acpi_parse_object **return_arg) argument
[all...]
H A Dnsarguments.c34 u8 arg_type; local
55 arg_type = METHOD_GET_NEXT_TYPE(arg_type_list);
60 if ((user_arg_type != arg_type) && (arg_type != ACPI_TYPE_ANY)) {
68 acpi_ut_get_type_name(arg_type)));
H A Dacutils.h239 const char *acpi_ut_get_argument_type_name(u32 arg_type);
H A Dacparser.h58 u32 arg_type, union acpi_parse_object *arg);
74 u32 arg_type, union acpi_parse_object **return_arg);
H A Ddbtest.c989 u8 arg_type; local
1033 arg_type = METHOD_GET_NEXT_TYPE(arg_type_list);
1034 this_param->type = arg_type;
1036 switch (arg_type) {
1066 pathname, arg_type);

Completed in 290 milliseconds