Home
last modified time | relevance | path

Searched refs:all_buf (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/hungtask/
Dhungtask_base.c833 char all_buf[WHITELIST_STORE_LEN - 20]; /* exclude extra header len 20*/ in htbase_monitorlist_show() local
836 memset(all_buf, 0, sizeof(all_buf)); in htbase_monitorlist_show()
839 len += snprintf(all_buf + len, sizeof(all_buf) - len, in htbase_monitorlist_show()
841 if (!(len < sizeof(all_buf))) { in htbase_monitorlist_show()
842 len = sizeof(all_buf) - 1; in htbase_monitorlist_show()
848 all_buf[len] = 0; in htbase_monitorlist_show()
850 buf += snprintf(buf, WHITELIST_STORE_LEN, "whitelist:[%s]\n", all_buf); in htbase_monitorlist_show()
852 buf += snprintf(buf, WHITELIST_STORE_LEN, "blacklist:[%s]\n", all_buf); in htbase_monitorlist_show()
891 char all_buf[WHITELIST_STORE_LEN]; in htbase_monitorlist_store() local
892 char *cur = all_buf; in htbase_monitorlist_store()
[all …]
/kernel/linux/linux-5.10/kernel/events/
Dring_buffer.c906 void *all_buf; in rb_alloc() local
917 all_buf = vmalloc_user((nr_pages + 1) * PAGE_SIZE); in rb_alloc()
918 if (!all_buf) in rb_alloc()
921 rb->user_page = all_buf; in rb_alloc()
922 rb->data_pages[0] = all_buf + PAGE_SIZE; in rb_alloc()