Home
last modified time | relevance | path

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

/drivers/md/
Ddm-log-userspace-base.c129 int i, str_size; in build_constructor_string() local
137 for (i = 0, str_size = 0; i < argc; i++) in build_constructor_string()
138 str_size += strlen(argv[i]) + 1; /* +1 for space between args */ in build_constructor_string()
140 str_size += 20; /* Max number of chars in a printed u64 number */ in build_constructor_string()
142 str = kzalloc(str_size, GFP_KERNEL); in build_constructor_string()
148 str_size = sprintf(str, "%llu", (unsigned long long)ti->len); in build_constructor_string()
150 str_size += sprintf(str + str_size, " %s", argv[i]); in build_constructor_string()
153 return str_size; in build_constructor_string()
194 int str_size; in userspace_ctr() local
239 str_size = build_constructor_string(ti, argc, argv, &ctr_str); in userspace_ctr()
[all …]
/drivers/net/wireless/ath/wil6210/
Dwmi.c3163 static void resume_triggers2string(u32 triggers, char *string, int str_size) in resume_triggers2string() argument
3168 strlcat(string, " UNKNOWN", str_size); in resume_triggers2string()
3173 strlcat(string, " HOST", str_size); in resume_triggers2string()
3176 strlcat(string, " UCAST_RX", str_size); in resume_triggers2string()
3179 strlcat(string, " BCAST_RX", str_size); in resume_triggers2string()
3182 strlcat(string, " WMI_EVT", str_size); in resume_triggers2string()
3185 strlcat(string, " DISCONNECT", str_size); in resume_triggers2string()
/drivers/gpu/vga/
Dvgaarb.c102 static int vga_str_to_iostate(char *buf, int str_size, int *io_state) in vga_str_to_iostate() argument