Lines Matching refs:s
1590 struct seq_buf s; in memory_stat_format() local
1593 seq_buf_init(&s, kmalloc(PAGE_SIZE, GFP_KERNEL), PAGE_SIZE); in memory_stat_format()
1594 if (!s.buffer) in memory_stat_format()
1613 seq_buf_printf(&s, "%s %llu\n", memory_stats[i].name, size); in memory_stat_format()
1618 seq_buf_printf(&s, "slab %llu\n", size); in memory_stat_format()
1624 seq_buf_printf(&s, "%s %lu\n", vm_event_name(PGFAULT), in memory_stat_format()
1626 seq_buf_printf(&s, "%s %lu\n", vm_event_name(PGMAJFAULT), in memory_stat_format()
1628 seq_buf_printf(&s, "%s %lu\n", vm_event_name(PGREFILL), in memory_stat_format()
1630 seq_buf_printf(&s, "pgscan %lu\n", in memory_stat_format()
1633 seq_buf_printf(&s, "pgsteal %lu\n", in memory_stat_format()
1636 seq_buf_printf(&s, "%s %lu\n", vm_event_name(PGACTIVATE), in memory_stat_format()
1638 seq_buf_printf(&s, "%s %lu\n", vm_event_name(PGDEACTIVATE), in memory_stat_format()
1640 seq_buf_printf(&s, "%s %lu\n", vm_event_name(PGLAZYFREE), in memory_stat_format()
1642 seq_buf_printf(&s, "%s %lu\n", vm_event_name(PGLAZYFREED), in memory_stat_format()
1646 seq_buf_printf(&s, "%s %lu\n", vm_event_name(THP_FAULT_ALLOC), in memory_stat_format()
1648 seq_buf_printf(&s, "%s %lu\n", vm_event_name(THP_COLLAPSE_ALLOC), in memory_stat_format()
1653 WARN_ON_ONCE(seq_buf_has_overflowed(&s)); in memory_stat_format()
1655 return s.buffer; in memory_stat_format()
2934 int memcg_alloc_page_obj_cgroups(struct page *page, struct kmem_cache *s, in memcg_alloc_page_obj_cgroups() argument
2937 unsigned int objects = objs_per_slab_page(s, page); in memcg_alloc_page_obj_cgroups()
7165 static int __init cgroup_memory(char *s) in cgroup_memory() argument
7169 while ((token = strsep(&s, ",")) != NULL) { in cgroup_memory()
7417 static int __init setup_swap_account(char *s) in setup_swap_account() argument
7419 if (!strcmp(s, "1")) in setup_swap_account()
7421 else if (!strcmp(s, "0")) in setup_swap_account()