Home
last modified time | relevance | path

Searched refs:str_size (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/drivers/md/
A Ddm-log-userspace-base.c130 int i, str_size; in build_constructor_string() local
138 for (i = 0, str_size = 0; i < argc; i++) in build_constructor_string()
143 str = kzalloc(str_size, GFP_KERNEL); in build_constructor_string()
149 str_size = sprintf(str, "%llu", (unsigned long long)ti->len); in build_constructor_string()
151 str_size += sprintf(str + str_size, " %s", argv[i]); in build_constructor_string()
154 return str_size; in build_constructor_string()
195 int str_size; in userspace_ctr() local
240 str_size = build_constructor_string(ti, argc, argv, &ctr_str); in userspace_ctr()
241 if (str_size < 0) { in userspace_ctr()
243 return str_size; in userspace_ctr()
[all …]
/linux-6.3-rc2/net/tipc/
A Dib_media.c49 int str_size) in tipc_ib_addr2str() argument
51 if (str_size < 60) /* 60 = 19 * strlen("xx:") + strlen("xx\0") */ in tipc_ib_addr2str()
/linux-6.3-rc2/tools/perf/util/
A Dutil.c382 size_t str_size) in fetch_kernel_version() argument
395 if (str && str_size) { in fetch_kernel_version()
396 strncpy(str, utsname.release, str_size); in fetch_kernel_version()
397 str[str_size - 1] = '\0'; in fetch_kernel_version()
/linux-6.3-rc2/tools/perf/bench/
A Devlist-open-close.c195 int i, str_size = strlen(evstr), in bench__repeat_event_string() local
196 final_size = str_size * n + n, in bench__repeat_event_string()
205 err = strbuf_add(&buf, evstr, str_size); in bench__repeat_event_string()
/linux-6.3-rc2/security/apparmor/
A Dlib.c222 void aa_perm_mask_to_str(char *str, size_t str_size, const char *chrs, u32 mask) in aa_perm_mask_to_str() argument
230 if (WARN_ON_ONCE(str_size <= 1)) in aa_perm_mask_to_str()
234 str_size--; in aa_perm_mask_to_str()
/linux-6.3-rc2/security/apparmor/include/
A Dperms.h200 void aa_perm_mask_to_str(char *str, size_t str_size, const char *chrs,
/linux-6.3-rc2/drivers/accel/habanalabs/common/
A Ddevice.c302 int str_size; in hl_engine_data_sprintf() local
308 str_size = vsnprintf(NULL, 0, fmt, args) + 1; in hl_engine_data_sprintf()
311 if ((e->actual_size + str_size) < e->allocated_buf_size) { in hl_engine_data_sprintf()
313 vsnprintf(e->buf + e->actual_size, str_size, fmt, args); in hl_engine_data_sprintf()
320 e->actual_size += str_size; in hl_engine_data_sprintf()
/linux-6.3-rc2/drivers/net/wireless/ath/wil6210/
A Dwmi.c3164 static void resume_triggers2string(u32 triggers, char *string, int str_size) in resume_triggers2string() argument
3169 strlcat(string, " UNKNOWN", str_size); in resume_triggers2string()
3174 strlcat(string, " HOST", str_size); in resume_triggers2string()
3177 strlcat(string, " UCAST_RX", str_size); in resume_triggers2string()
3180 strlcat(string, " BCAST_RX", str_size); in resume_triggers2string()
3183 strlcat(string, " WMI_EVT", str_size); in resume_triggers2string()
3186 strlcat(string, " DISCONNECT", str_size); in resume_triggers2string()
/linux-6.3-rc2/kernel/bpf/
A Dhelpers.c1037 BPF_CALL_5(bpf_snprintf, char *, str, u32, str_size, char *, fmt, in BPF_CALL_5() argument
1057 err = bstr_printf(str, str_size, fmt, data.bin_args); in BPF_CALL_5()
/linux-6.3-rc2/drivers/pci/
A Dvgaarb.c80 static int vga_str_to_iostate(char *buf, int str_size, int *io_state) in vga_str_to_iostate() argument
/linux-6.3-rc2/kernel/trace/
A Dbpf_trace.c995 BPF_CALL_5(bpf_snprintf_btf, char *, str, u32, str_size, struct btf_ptr *, ptr, in BPF_CALL_5() argument
1006 return btf_type_snprintf_show(btf, btf_id, ptr->ptr, str, str_size, in BPF_CALL_5()

Completed in 47 milliseconds