Home
last modified time | relevance | path

Searched refs:arg_len (Results 1 – 7 of 7) sorted by relevance

/linux/security/tomoyo/
H A Ddomain.c621 int arg_len = 0; in tomoyo_environ() local
653 if (c && arg_len < TOMOYO_EXEC_TMPSIZE - 10) { in tomoyo_environ()
655 arg_ptr[arg_len++] = '\0'; in tomoyo_environ()
657 arg_ptr[arg_len++] = '\\'; in tomoyo_environ()
658 arg_ptr[arg_len++] = '\\'; in tomoyo_environ()
660 arg_ptr[arg_len++] = c; in tomoyo_environ()
662 arg_ptr[arg_len++] = '\\'; in tomoyo_environ()
663 arg_ptr[arg_len++] = (c >> 6) + '0'; in tomoyo_environ()
664 arg_ptr[arg_len++] in tomoyo_environ()
666 arg_ptr[arg_len++] = (c & 7) + '0'; in tomoyo_environ()
[all …]
H A Dcondition.c112 int arg_len = 0; in tomoyo_scan_bprm() local
140 if (c && arg_len < TOMOYO_EXEC_TMPSIZE - 10) { in tomoyo_scan_bprm()
142 arg_ptr[arg_len++] = '\\'; in tomoyo_scan_bprm()
143 arg_ptr[arg_len++] = '\\'; in tomoyo_scan_bprm()
145 arg_ptr[arg_len++] = c; in tomoyo_scan_bprm()
147 arg_ptr[arg_len++] = '\\'; in tomoyo_scan_bprm()
148 arg_ptr[arg_len++] = (c >> 6) + '0'; in tomoyo_scan_bprm()
149 arg_ptr[arg_len++] = in tomoyo_scan_bprm()
151 arg_ptr[arg_len++] = (c & 7) + '0'; in tomoyo_scan_bprm()
154 arg_ptr[arg_len] = '\0'; in tomoyo_scan_bprm()
[all …]
/linux/tools/perf/util/bpf_skel/
H A Daugmented_raw_syscalls.bpf.c167 …augmented_arg__read_str(struct augmented_arg *augmented_arg, const void *arg, unsigned int arg_len) in augmented_arg__read_str() argument
170 int string_len = bpf_probe_read_user_str(&augmented_arg->value, arg_len, arg); in augmented_arg__read_str()
/linux/kernel/trace/
H A Dtrace_probe.c1929 size_t arg_len; in __set_print_fmt()
1947 arg_len = strlen(argv[i]); in __set_print_fmt()
1948 tmp[arg_len - 4] = '\0'; in __set_print_fmt()
1949 if (argv[i][arg_len - 1] == 'd') in __set_print_fmt()
1815 size_t arg_len; traceprobe_expand_dentry_args() local
/linux/kernel/bpf/
H A Dbtf.c9747 int reg_len, arg_len, cmp_len; in bpf_struct_ops_find()
9762 arg_len = strlen(arg_name);
9770 if (reg_len == arg_len) in __register_bpf_struct_ops()
9774 if ((reg_len != arg_len + pattern_len) && in __register_bpf_struct_ops()
9775 (arg_len != reg_len + pattern_len)) in __register_bpf_struct_ops()
9778 if (reg_len < arg_len) { in __register_bpf_struct_ops()
9783 cmp_len = arg_len; in __register_bpf_struct_ops()
9627 int reg_len, arg_len, cmp_len; btf_type_ids_nocast_alias() local
/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c10465 int buf_len, arg_len; in ath12k_wmi_wow_add_pattern()
10473 arg_len = sizeof(*ut_cmd_args) * ut->num_args;
10474 buf_len = sizeof(*cmd) + arg_len + TLV_HDR_SIZE; in ath12k_wmi_wow_del_pattern()
10491 tlv->header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_UINT32, arg_len); in ath12k_wmi_wow_del_pattern()
11410 int i, ret, buf_len, arg_len;
11416 arg_len = num_links * sizeof(u32);
11417 buf_len = sizeof(*cmd) + TLV_HDR_SIZE + arg_len;
11431 tlv->header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_UINT32, arg_len);
10024 int buf_len, arg_len; ath12k_wmi_send_unit_test_cmd() local
10933 int i, ret, buf_len, arg_len; ath12k_wmi_mlo_setup() local
/linux/drivers/net/wireless/ath/ath11k/
H A Dwmi.c9083 int buf_len, arg_len; in ath11k_wmi_send_unit_test_cmd() local
9087 arg_len = sizeof(u32) * ut_cmd.num_args; in ath11k_wmi_send_unit_test_cmd()
9088 buf_len = sizeof(ut_cmd) + arg_len + TLV_HDR_SIZE; in ath11k_wmi_send_unit_test_cmd()
9107 FIELD_PREP(WMI_TLV_LEN, arg_len); in ath11k_wmi_send_unit_test_cmd()