Searched refs:arg_len (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/scsi/sym53c8xx_2/ |
| H A D | sym_glue.c | 1051 if ((arg_len = sym_skip_spaces(ptr, len)) < 1) \ 1053 ptr += arg_len; len -= arg_len; 1056 if (!(arg_len = get_int_arg(ptr, len, &(v)))) \ 1058 ptr += arg_len; len -= arg_len; 1071 int arg_len; in sym_user_command() local 1079 if ((arg_len = is_keyword(ptr, len, "setsync")) != 0) in sym_user_command() 1081 else if ((arg_len = is_keyword(ptr, len, "settags")) != 0) in sym_user_command() 1083 else if ((arg_len = is_keyword(ptr, len, "setverbose")) != 0) in sym_user_command() 1085 else if ((arg_len = is_keyword(ptr, len, "setwide")) != 0) in sym_user_command() 1088 else if ((arg_len = is_keyword(ptr, len, "setdebug")) != 0) in sym_user_command() [all …]
|
| /linux/security/tomoyo/ |
| H A D | domain.c | 621 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 D | condition.c | 112 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 D | augmented_raw_syscalls.bpf.c | 167 …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 D | trace_probe.c | 1811 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 D | btf.c | 9577 int reg_len, arg_len, cmp_len; in btf_type_ids_nocast_alias() local 9592 arg_len = strlen(arg_name); in btf_type_ids_nocast_alias() 9600 if (reg_len == arg_len) in btf_type_ids_nocast_alias() 9604 if ((reg_len != arg_len + pattern_len) && in btf_type_ids_nocast_alias() 9605 (arg_len != reg_len + pattern_len)) in btf_type_ids_nocast_alias() 9608 if (reg_len < arg_len) { in btf_type_ids_nocast_alias() 9613 cmp_len = arg_len; in btf_type_ids_nocast_alias()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | wmi.c | 10034 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 D | wmi.c | 9083 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()
|