Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/sym53c8xx_2/
Dsym_glue.c1050 if ((arg_len = sym_skip_spaces(ptr, len)) < 1) \
1052 ptr += arg_len; len -= arg_len;
1055 if (!(arg_len = get_int_arg(ptr, len, &(v)))) \
1057 ptr += arg_len; len -= arg_len;
1070 int arg_len; in sym_user_command() local
1078 if ((arg_len = is_keyword(ptr, len, "setsync")) != 0) in sym_user_command()
1080 else if ((arg_len = is_keyword(ptr, len, "settags")) != 0) in sym_user_command()
1082 else if ((arg_len = is_keyword(ptr, len, "setverbose")) != 0) in sym_user_command()
1084 else if ((arg_len = is_keyword(ptr, len, "setwide")) != 0) in sym_user_command()
1087 else if ((arg_len = is_keyword(ptr, len, "setdebug")) != 0) in sym_user_command()
[all …]
/linux-6.12.1/security/tomoyo/
Ddomain.c620 int arg_len = 0; in tomoyo_environ() local
652 if (c && arg_len < TOMOYO_EXEC_TMPSIZE - 10) { in tomoyo_environ()
654 arg_ptr[arg_len++] = '\0'; in tomoyo_environ()
656 arg_ptr[arg_len++] = '\\'; in tomoyo_environ()
657 arg_ptr[arg_len++] = '\\'; in tomoyo_environ()
659 arg_ptr[arg_len++] = c; in tomoyo_environ()
661 arg_ptr[arg_len++] = '\\'; in tomoyo_environ()
662 arg_ptr[arg_len++] = (c >> 6) + '0'; in tomoyo_environ()
663 arg_ptr[arg_len++] in tomoyo_environ()
665 arg_ptr[arg_len++] = (c & 7) + '0'; in tomoyo_environ()
[all …]
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-6.12.1/tools/perf/util/bpf_skel/
Daugmented_raw_syscalls.bpf.c166 …augmented_arg__read_str(struct augmented_arg *augmented_arg, const void *arg, unsigned int arg_len) in augmented_arg__read_str() argument
169 int string_len = bpf_probe_read_user_str(&augmented_arg->value, arg_len, arg); in augmented_arg__read_str()
/linux-6.12.1/kernel/trace/
Dtrace_probe.c1759 size_t arg_len; in traceprobe_expand_dentry_args() local
1777 arg_len = strlen(argv[i]); in traceprobe_expand_dentry_args()
1778 tmp[arg_len - 4] = '\0'; in traceprobe_expand_dentry_args()
1779 if (argv[i][arg_len - 1] == 'd') in traceprobe_expand_dentry_args()
/linux-6.12.1/kernel/bpf/
Dbtf.c9080 int reg_len, arg_len, cmp_len; in btf_type_ids_nocast_alias() local
9095 arg_len = strlen(arg_name); in btf_type_ids_nocast_alias()
9103 if (reg_len == arg_len) in btf_type_ids_nocast_alias()
9107 if ((reg_len != arg_len + pattern_len) && in btf_type_ids_nocast_alias()
9108 (arg_len != reg_len + pattern_len)) in btf_type_ids_nocast_alias()
9111 if (reg_len < arg_len) { in btf_type_ids_nocast_alias()
9116 cmp_len = arg_len; in btf_type_ids_nocast_alias()
/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Dwmi.c7326 int buf_len, arg_len; in ath12k_wmi_send_unit_test_cmd() local
7330 arg_len = sizeof(u32) * le32_to_cpu(ut_cmd.num_args); in ath12k_wmi_send_unit_test_cmd()
7331 buf_len = sizeof(ut_cmd) + arg_len + TLV_HDR_SIZE; in ath12k_wmi_send_unit_test_cmd()
7349 tlv->header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_UINT32, arg_len); in ath12k_wmi_send_unit_test_cmd()
/linux-6.12.1/drivers/net/wireless/ath/ath11k/
Dwmi.c8895 int buf_len, arg_len; in ath11k_wmi_send_unit_test_cmd() local
8899 arg_len = sizeof(u32) * ut_cmd.num_args; in ath11k_wmi_send_unit_test_cmd()
8900 buf_len = sizeof(ut_cmd) + arg_len + TLV_HDR_SIZE; in ath11k_wmi_send_unit_test_cmd()
8919 FIELD_PREP(WMI_TLV_LEN, arg_len); in ath11k_wmi_send_unit_test_cmd()