Searched refs:str_size (Results 1 – 5 of 5) sorted by relevance
/drivers/md/ |
D | dm-log-userspace-base.c | 130 int i, str_size; in build_constructor_string() local 138 for (i = 0, str_size = 0; i < argc; i++) in build_constructor_string() 139 str_size += strlen(argv[i]) + 1; /* +1 for space between args */ in build_constructor_string() 141 str_size += 20; /* Max number of chars in a printed u64 number */ 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() [all …]
|
/drivers/accel/habanalabs/common/ |
D | device.c | 293 int str_size; in hl_engine_data_sprintf() local 299 str_size = vsnprintf(NULL, 0, fmt, args) + 1; in hl_engine_data_sprintf() 302 if ((e->actual_size + str_size) < e->allocated_buf_size) { in hl_engine_data_sprintf() 304 vsnprintf(e->buf + e->actual_size, str_size, fmt, args); in hl_engine_data_sprintf() 311 e->actual_size += str_size; in hl_engine_data_sprintf()
|
/drivers/net/wireless/ath/wil6210/ |
D | wmi.c | 3162 static void resume_triggers2string(u32 triggers, char *string, int str_size) in resume_triggers2string() argument 3167 strlcat(string, " UNKNOWN", str_size); in resume_triggers2string() 3172 strlcat(string, " HOST", str_size); in resume_triggers2string() 3175 strlcat(string, " UCAST_RX", str_size); in resume_triggers2string() 3178 strlcat(string, " BCAST_RX", str_size); in resume_triggers2string() 3181 strlcat(string, " WMI_EVT", str_size); in resume_triggers2string() 3184 strlcat(string, " DISCONNECT", str_size); in resume_triggers2string()
|
/drivers/pci/ |
D | vgaarb.c | 78 static int vga_str_to_iostate(char *buf, int str_size, unsigned int *io_state) in vga_str_to_iostate() argument
|
/drivers/accel/habanalabs/gaudi2/ |
D | gaudi2.c | 8143 u16 str_size = 0; in gaudi2_psoc_razwi_get_engines() local 8152 str_size += scnprintf(eng_name + str_size, in gaudi2_psoc_razwi_get_engines() 8153 PSOC_RAZWI_ENG_STR_SIZE - str_size, "%s", in gaudi2_psoc_razwi_get_engines() 8156 str_size += scnprintf(eng_name + str_size, in gaudi2_psoc_razwi_get_engines() 8157 PSOC_RAZWI_ENG_STR_SIZE - str_size, " or %s", in gaudi2_psoc_razwi_get_engines()
|