Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 12 of 12) sorted by relevance

/mm/kfence/
A Dreport.c34 static void seq_con_printf(struct seq_file *seq, const char *fmt, ...) in seq_con_printf() argument
39 if (seq) in seq_con_printf()
40 seq_vprintf(seq, fmt, args); in seq_con_printf()
117 seq_con_printf(seq, "%s by task %d on cpu %d at %lu.%06lus (%lu.%06lus ago):\n", in kfence_print_stack()
129 seq_con_printf(seq, " %pS\n", (void *)track->stack_entries[i]); in kfence_print_stack()
135 void kfence_print_object(struct seq_file *seq, const struct kfence_metadata *meta) in kfence_print_object() argument
144 seq_con_printf(seq, "kfence-#%td unused\n", meta - kfence_metadata); in kfence_print_object()
148 seq_con_printf(seq, "kfence-#%td: 0x%p-0x%p, size=%d, cache=%s\n\n", in kfence_print_object()
152 kfence_print_stack(seq, meta, true); in kfence_print_object()
155 seq_con_printf(seq, "\n"); in kfence_print_object()
[all …]
A Dcore.c719 static int stats_show(struct seq_file *seq, void *v) in stats_show() argument
723 seq_printf(seq, "enabled: %i\n", READ_ONCE(kfence_enabled)); in stats_show()
725 seq_printf(seq, "%s: %ld\n", counter_names[i], atomic_long_read(&counters[i])); in stats_show()
736 static void *start_object(struct seq_file *seq, loff_t *pos) in start_object() argument
743 static void stop_object(struct seq_file *seq, void *v) in stop_object() argument
747 static void *next_object(struct seq_file *seq, void *v, loff_t *pos) in next_object() argument
755 static int show_object(struct seq_file *seq, void *v) in show_object() argument
761 kfence_print_object(seq, meta); in show_object()
763 seq_puts(seq, "---------------------------------\n"); in show_object()
A Dkfence.h144 void kfence_print_object(struct seq_file *seq, const struct kfence_metadata *meta);
/mm/
A Dhugetlb_cgroup.c467 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_numa_stat()
483 seq_printf(seq, " N%d=%lu", nid, in hugetlb_cgroup_read_numa_stat()
486 seq_putc(seq, '\n'); in hugetlb_cgroup_read_numa_stat()
512 seq_putc(seq, '\n'); in hugetlb_cgroup_read_numa_stat()
553 struct cftype *cft = seq_cft(seq); in hugetlb_cgroup_read_u64_max()
570 seq_printf(seq, "%llu\n", val * PAGE_SIZE); in hugetlb_cgroup_read_u64_max()
578 seq_puts(seq, "max\n"); in hugetlb_cgroup_read_u64_max()
686 struct cftype *cft = seq_cft(seq); in __hugetlb_events_show()
696 seq_printf(seq, "max %lu\n", max); in __hugetlb_events_show()
703 return __hugetlb_events_show(seq, false); in hugetlb_events_show()
[all …]
A Dvmscan.c3093 VM_WARN_ON_ONCE(mm_state->seq + 1 < walk->seq); in iterate_mm_list()
3095 if (walk->seq <= mm_state->seq) in iterate_mm_list()
3107 WRITE_ONCE(mm_state->seq, mm_state->seq + 1); in iterate_mm_list()
3144 VM_WARN_ON_ONCE(mm_state->seq + 1 < seq); in iterate_mm_list_nowalk()
3146 if (seq > mm_state->seq) { in iterate_mm_list_nowalk()
3149 WRITE_ONCE(mm_state->seq, mm_state->seq + 1); in iterate_mm_list_nowalk()
4063 if (seq <= READ_ONCE(mm_state->seq)) in try_to_inc_max_seq()
4084 walk->seq = seq; in try_to_inc_max_seq()
4145 for (seq = min_seq[type]; seq <= max_seq; seq++) { in lruvec_is_sizable()
4819 for (seq = min_seq[type]; seq <= max_seq; seq++) { in should_run_aging()
[all …]
A Dmmu_notifier.c98 unsigned long *seq) in mn_itree_inv_start_range() argument
113 *seq = subscriptions->invalidate_seq; in mn_itree_inv_start_range()
192 unsigned long seq; in mmu_interval_read_begin() local
236 seq = READ_ONCE(interval_sub->invalidate_seq); in mmu_interval_read_begin()
251 READ_ONCE(subscriptions->invalidate_seq) != seq); in mmu_interval_read_begin()
259 return seq; in mmu_interval_read_begin()
1018 unsigned long seq) in mmu_interval_seq_released() argument
1023 ret = subscriptions->invalidate_seq != seq; in mmu_interval_seq_released()
1043 unsigned long seq = 0; in mmu_interval_notifier_remove() local
1058 seq = subscriptions->invalidate_seq; in mmu_interval_notifier_remove()
[all …]
A Dkmemleak.c267 #define warn_or_seq_printf(seq, fmt, ...) do { \ argument
268 if (seq) \
269 seq_printf(seq, fmt, ##__VA_ARGS__); \
278 if (seq) in warn_or_seq_hex_dump()
292 static void hex_dump_object(struct seq_file *seq, in hex_dump_object() argument
313 warn_or_seq_hex_dump(seq, DUMP_PREFIX_NONE, HEX_ROW_SIZE, in hex_dump_object()
363 static void print_unreferenced(struct seq_file *seq, in print_unreferenced() argument
376 hex_dump_object(seq, object); in print_unreferenced()
381 warn_or_seq_printf(seq, " %pS\n", ptr); in print_unreferenced()
1999 static int kmemleak_seq_show(struct seq_file *seq, void *v) in kmemleak_seq_show() argument
[all …]
A Dshmem.c1728 seq_printf(seq, ",mpol=%s", buffer); in shmem_show_mpol()
4962 seq_printf(seq, ",mode=%03ho", sbinfo->mode); in shmem_show_options()
4964 seq_printf(seq, ",uid=%u", in shmem_show_options()
4967 seq_printf(seq, ",gid=%u", in shmem_show_options()
4998 shmem_show_mpol(seq, mpol); in shmem_show_options()
5001 seq_printf(seq, ",noswap"); in shmem_show_options()
5004 seq_printf(seq, ",usrquota"); in shmem_show_options()
5006 seq_printf(seq, ",grpquota"); in shmem_show_options()
5008 seq_printf(seq, ",usrquota_block_hardlimit=%lld", in shmem_show_options()
5011 seq_printf(seq, ",grpquota_block_hardlimit=%lld", in shmem_show_options()
[all …]
A Dslub.c7635 struct loc_track *t = seq->private; in slab_debugfs_show()
7648 seq_puts(seq, "<not-available>"); in slab_debugfs_show()
7651 seq_printf(seq, " waste=%lu/%lu", in slab_debugfs_show()
7664 seq_printf(seq, " pid=%ld", in slab_debugfs_show()
7668 seq_printf(seq, " cpus=%*pbl", in slab_debugfs_show()
7672 seq_printf(seq, " nodes=%*pbl", in slab_debugfs_show()
7684 seq_puts(seq, "\n"); in slab_debugfs_show()
7690 seq_puts(seq, "\n"); in slab_debugfs_show()
7694 seq_puts(seq, "No data\n"); in slab_debugfs_show()
7705 struct loc_track *t = seq->private; in slab_debugfs_next()
[all …]
A Dswapfile.c2837 struct seq_file *seq = file->private_data; in swaps_poll() local
2841 if (seq->poll_event != atomic_read(&proc_poll_event)) { in swaps_poll()
2842 seq->poll_event = atomic_read(&proc_poll_event); in swaps_poll()
2932 struct seq_file *seq; in swaps_open() local
2939 seq = file->private_data; in swaps_open()
2940 seq->poll_event = atomic_read(&proc_poll_event); in swaps_open()
A Dgup.c3157 unsigned seq; in gup_fast() local
3164 if (!raw_seqcount_try_begin(&current->mm->write_protect_seq, seq)) in gup_fast()
3188 if (read_seqcount_retry(&current->mm->write_protect_seq, seq)) { in gup_fast()
A Dpage_alloc.c581 unsigned seq; in page_outside_zone_boundaries() local
586 seq = zone_span_seqbegin(zone); in page_outside_zone_boundaries()
590 } while (zone_span_seqretry(zone, seq)); in page_outside_zone_boundaries()
4287 static unsigned int check_retry_zonelist(unsigned int seq) in check_retry_zonelist() argument
4290 return read_seqretry(&zonelist_update_seq, seq); in check_retry_zonelist()
4292 return seq; in check_retry_zonelist()

Completed in 79 milliseconds