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.c1811 size_t arg_len; in traceprobe_expand_dentry_args() local
1829 arg_len = strlen(argv[i]); in traceprobe_expand_dentry_args()
1830 tmp[arg_len - 4] = '\0'; in traceprobe_expand_dentry_args()
1831 if (argv[i][arg_len - 1] == 'd') in traceprobe_expand_dentry_args()
/linux/kernel/bpf/
H A Dbtf.c9561 int reg_len, arg_len, cmp_len; in btf_type_ids_nocast_alias() local
9576 arg_len = strlen(arg_name); in btf_type_ids_nocast_alias()
9584 if (reg_len == arg_len) in btf_type_ids_nocast_alias()
9588 if ((reg_len != arg_len + pattern_len) && in btf_type_ids_nocast_alias()
9589 (arg_len != reg_len + pattern_len)) in btf_type_ids_nocast_alias()
9592 if (reg_len < arg_len) { in btf_type_ids_nocast_alias()
9597 cmp_len = arg_len; in btf_type_ids_nocast_alias()
/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c10034 int buf_len, arg_len; in ath12k_wmi_send_unit_test_cmd() local
10038 arg_len = sizeof(u32) * le32_to_cpu(ut_cmd.num_args); in ath12k_wmi_send_unit_test_cmd()
10039 buf_len = sizeof(ut_cmd) + arg_len + TLV_HDR_SIZE; in ath12k_wmi_send_unit_test_cmd()
10057 tlv->header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_UINT32, arg_len); in ath12k_wmi_send_unit_test_cmd()
10869 int i, ret, buf_len, arg_len; in ath12k_wmi_mlo_setup() local
10875 arg_len = num_links * sizeof(u32); in ath12k_wmi_mlo_setup()
10876 buf_len = sizeof(*cmd) + TLV_HDR_SIZE + arg_len; in ath12k_wmi_mlo_setup()
10890 tlv->header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_UINT32, arg_len); in ath12k_wmi_mlo_setup()
/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()