Home
last modified time | relevance | path

Searched refs:arg_len (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c1002 if ((arg_len = sym_skip_spaces(ptr, len)) < 1) \
1004 ptr += arg_len; len -= arg_len;
1007 if (!(arg_len = get_int_arg(ptr, len, &(v)))) \
1009 ptr += arg_len; len -= arg_len;
1022 int arg_len; in sym_user_command() local
1030 if ((arg_len = is_keyword(ptr, len, "setsync")) != 0) in sym_user_command()
1032 else if ((arg_len = is_keyword(ptr, len, "settags")) != 0) in sym_user_command()
1034 else if ((arg_len in sym_user_command()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c997 if ((arg_len = sym_skip_spaces(ptr, len)) < 1) \
999 ptr += arg_len; len -= arg_len;
1002 if (!(arg_len = get_int_arg(ptr, len, &(v)))) \
1004 ptr += arg_len; len -= arg_len;
1017 int arg_len; in sym_user_command() local
1025 if ((arg_len = is_keyword(ptr, len, "setsync")) != 0) in sym_user_command()
1027 else if ((arg_len = is_keyword(ptr, len, "settags")) != 0) in sym_user_command()
1029 else if ((arg_len in sym_user_command()
[all...]
/kernel/linux/linux-5.10/security/tomoyo/
H A Ddomain.c622 int arg_len = 0; in tomoyo_environ() local
654 if (c && arg_len < TOMOYO_EXEC_TMPSIZE - 10) { in tomoyo_environ()
656 arg_ptr[arg_len++] = '\0'; in tomoyo_environ()
658 arg_ptr[arg_len++] = '\\'; in tomoyo_environ()
659 arg_ptr[arg_len++] = '\\'; in tomoyo_environ()
661 arg_ptr[arg_len++] = c; in tomoyo_environ()
663 arg_ptr[arg_len++] = '\\'; in tomoyo_environ()
664 arg_ptr[arg_len++] = (c >> 6) + '0'; in tomoyo_environ()
665 arg_ptr[arg_len++] in tomoyo_environ()
667 arg_ptr[arg_len 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] in tomoyo_scan_bprm()
[all...]
/kernel/linux/linux-6.6/security/tomoyo/
H A 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 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] in tomoyo_scan_bprm()
[all...]
/kernel/linux/linux-5.10/tools/perf/examples/bpf/
H A Daugmented_raw_syscalls.c97 unsigned int augmented_arg__read_str(struct augmented_arg *augmented_arg, const void *arg, unsigned int arg_len) in augmented_arg__read_str() argument
100 int string_len = probe_read_str(&augmented_arg->value, arg_len, arg); in augmented_arg__read_str()
/kernel/linux/linux-6.6/tools/perf/util/bpf_skel/
H A Daugmented_raw_syscalls.bpf.c153 unsigned int augmented_arg__read_str(struct augmented_arg *augmented_arg, const void *arg, unsigned int arg_len) in augmented_arg__read_str() argument
156 int string_len = bpf_probe_read_user_str(&augmented_arg->value, arg_len, arg); in augmented_arg__read_str()
/kernel/linux/common_modules/tzdriver/tlogger/
H A Dtlogger.c665 static int check_user_arg(unsigned long arg, size_t arg_len) in check_user_arg() argument
670 (void __user *)(uintptr_t)arg, arg_len); in check_user_arg()
672 return (int)access_ok((void __user *)(uintptr_t)arg, arg_len); in check_user_arg()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dbtf.c8539 int reg_len, arg_len, cmp_len; in btf_type_ids_nocast_alias() local
8554 arg_len = strlen(arg_name); in btf_type_ids_nocast_alias()
8562 if (reg_len == arg_len) in btf_type_ids_nocast_alias()
8566 if ((reg_len != arg_len + pattern_len) && in btf_type_ids_nocast_alias()
8567 (arg_len != reg_len + pattern_len)) in btf_type_ids_nocast_alias()
8570 if (reg_len < arg_len) { in btf_type_ids_nocast_alias()
8575 cmp_len = arg_len; in btf_type_ids_nocast_alias()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Dwmi.c6580 int buf_len, arg_len; in ath11k_wmi_send_unit_test_cmd() local
6584 arg_len = sizeof(u32) * ut_cmd.num_args; in ath11k_wmi_send_unit_test_cmd()
6585 buf_len = sizeof(ut_cmd) + arg_len + TLV_HDR_SIZE; in ath11k_wmi_send_unit_test_cmd()
6604 FIELD_PREP(WMI_TLV_LEN, arg_len); in ath11k_wmi_send_unit_test_cmd()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
H A Dwmi.c6758 int buf_len, arg_len; in ath12k_wmi_send_unit_test_cmd() local
6762 arg_len = sizeof(u32) * le32_to_cpu(ut_cmd.num_args); in ath12k_wmi_send_unit_test_cmd()
6763 buf_len = sizeof(ut_cmd) + arg_len + TLV_HDR_SIZE; in ath12k_wmi_send_unit_test_cmd()
6781 tlv->header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_UINT32, arg_len); in ath12k_wmi_send_unit_test_cmd()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dwmi.c8835 int buf_len, arg_len; in ath11k_wmi_send_unit_test_cmd() local
8839 arg_len = sizeof(u32) * ut_cmd.num_args; in ath11k_wmi_send_unit_test_cmd()
8840 buf_len = sizeof(ut_cmd) + arg_len + TLV_HDR_SIZE; in ath11k_wmi_send_unit_test_cmd()
8859 FIELD_PREP(WMI_TLV_LEN, arg_len); in ath11k_wmi_send_unit_test_cmd()

Completed in 47 milliseconds