Lines Matching refs:str_buf
179 char *str_buf;
184 str_buf = kzalloc(buf_size, GFP_KERNEL);
185 if (!str_buf) {
192 if (log_get_filter_str(str_buf, buf_size) < 0) {
197 ret = sprintf(buf, "%s", str_buf);
200 kfree(str_buf);
209 char *token, *str_buf = NULL;
217 str_buf = kzalloc(count, GFP_KERNEL);
218 if (!str_buf) {
225 memcpy(str_buf, buf, count);
227 while ((token = strsep(&str_buf, ",")) != NULL) {
244 kfree(str_buf);
252 char *str_buf;
258 str_buf = kzalloc(buf_size, GFP_KERNEL);
259 if (!str_buf) {
266 if (log_get_fw_filter_str(str_buf, buf_size) < 0) {
271 ret = sprintf(buf, "%s", str_buf);
274 kfree(str_buf);
284 char *token, *str_buf = NULL;
294 str_buf = kzalloc(count, GFP_KERNEL);
295 if (!str_buf) {
302 memcpy(str_buf, buf, count);
308 for (i = 0; ((token = strsep(&str_buf, ",")) != NULL) &&
345 kfree(str_buf);