Searched refs:str_size (Results 1 - 12 of 12) sorted by relevance

/linux-master/net/tipc/
H A Dib_media.c49 int str_size)
51 if (str_size < 60) /* 60 = 19 * strlen("xx:") + strlen("xx\0") */
48 tipc_ib_addr2str(struct tipc_media_addr *a, char *str_buf, int str_size) argument
/linux-master/drivers/md/
H A Ddm-log-userspace-base.c130 int i, str_size; local
138 for (i = 0, str_size = 0; i < argc; i++)
139 str_size += strlen(argv[i]) + 1; /* +1 for space between args */
141 str_size += 20; /* Max number of chars in a printed u64 number */
143 str = kzalloc(str_size, GFP_KERNEL);
149 str_size = sprintf(str, "%llu", (unsigned long long)ti->len);
151 str_size += sprintf(str + str_size, " %s", argv[i]);
154 return str_size;
195 int str_size; local
[all...]
/linux-master/tools/perf/bench/
H A Devlist-open-close.c195 int i, str_size = strlen(evstr), local
196 final_size = str_size * n + n,
205 err = strbuf_add(&buf, evstr, str_size);
/linux-master/security/apparmor/
H A Dlib.c220 * @str_size: size of the @str buffer
224 void aa_perm_mask_to_str(char *str, size_t str_size, const char *chrs, u32 mask) argument
232 if (WARN_ON_ONCE(str_size <= 1))
236 str_size--;
/linux-master/tools/perf/util/
H A Dutil.c384 size_t str_size)
397 if (str && str_size) {
398 strncpy(str, utsname.release, str_size);
399 str[str_size - 1] = '\0';
383 fetch_kernel_version(unsigned int *puint, char *str, size_t str_size) argument
/linux-master/security/apparmor/include/
H A Dperms.h203 void aa_perm_mask_to_str(char *str, size_t str_size, const char *chrs,
/linux-master/drivers/accel/habanalabs/common/
H A Ddevice.c349 int str_size; local
355 str_size = vsnprintf(NULL, 0, fmt, args) + 1;
358 if ((e->actual_size + str_size) < e->allocated_buf_size) {
360 vsnprintf(e->buf + e->actual_size, str_size, fmt, args);
367 e->actual_size += str_size;
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dwmi.c3162 static void resume_triggers2string(u32 triggers, char *string, int str_size) argument
3167 strlcat(string, " UNKNOWN", str_size);
3172 strlcat(string, " HOST", str_size);
3175 strlcat(string, " UCAST_RX", str_size);
3178 strlcat(string, " BCAST_RX", str_size);
3181 strlcat(string, " WMI_EVT", str_size);
3184 strlcat(string, " DISCONNECT", str_size);
/linux-master/drivers/pci/
H A Dvgaarb.c78 static int vga_str_to_iostate(char *buf, int str_size, unsigned int *io_state) argument
89 /* XXX We're not checking the str_size! */
/linux-master/kernel/bpf/
H A Dhelpers.c1044 BPF_CALL_5(bpf_snprintf, char *, str, u32, str_size, char *, fmt,
1064 err = bstr_printf(str, str_size, fmt, data.bin_args);
/linux-master/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c8356 u16 str_size = 0; local
8365 str_size += scnprintf(eng_name + str_size,
8366 PSOC_RAZWI_ENG_STR_SIZE - str_size, "%s",
8369 str_size += scnprintf(eng_name + str_size,
8370 PSOC_RAZWI_ENG_STR_SIZE - str_size, " or %s",
/linux-master/kernel/trace/
H A Dbpf_trace.c1012 BPF_CALL_5(bpf_snprintf_btf, char *, str, u32, str_size, struct btf_ptr *, ptr,
1023 return btf_type_snprintf_show(btf, btf_id, ptr->ptr, str, str_size,

Completed in 191 milliseconds