/fs/nfsd/ |
D | stats.c | 36 static int nfsd_proc_show(struct seq_file *seq, void *v) in nfsd_proc_show() argument 40 seq_printf(seq, "rc %u %u %u\nfh %u %u %u %u %u\nio %u %u\n", in nfsd_proc_show() 52 seq_printf(seq, "th %u %u", nfsdstats.th_cnt, nfsdstats.th_fullcnt); in nfsd_proc_show() 56 seq_printf(seq, " %u.%03u", sec, msec); in nfsd_proc_show() 60 seq_printf(seq, "\nra %u", nfsdstats.ra_size); in nfsd_proc_show() 62 seq_printf(seq, " %u", nfsdstats.ra_depth[i]); in nfsd_proc_show() 63 seq_putc(seq, '\n'); in nfsd_proc_show() 66 svc_seq_show(seq, &nfsd_svcstats); in nfsd_proc_show() 71 seq_printf(seq,"proc4ops %u", LAST_NFS4_OP + 1); in nfsd_proc_show() 73 seq_printf(seq, " %u", nfsdstats.nfs4_opcount[i]); in nfsd_proc_show() [all …]
|
/fs/ocfs2/cluster/ |
D | netdebug.c | 104 static void *nst_seq_start(struct seq_file *seq, loff_t *pos) in nst_seq_start() argument 106 struct o2net_send_tracking *nst, *dummy_nst = seq->private; in nst_seq_start() 115 static void *nst_seq_next(struct seq_file *seq, void *v, loff_t *pos) in nst_seq_next() argument 117 struct o2net_send_tracking *nst, *dummy_nst = seq->private; in nst_seq_next() 130 static int nst_seq_show(struct seq_file *seq, void *v) in nst_seq_show() argument 132 struct o2net_send_tracking *nst, *dummy_nst = seq->private; in nst_seq_show() 147 seq_printf(seq, "%p:\n" in nst_seq_show() 174 static void nst_seq_stop(struct seq_file *seq, void *v) in nst_seq_stop() argument 199 struct seq_file *seq = file->private_data; in nst_fop_release() local 200 struct o2net_send_tracking *dummy_nst = seq->private; in nst_fop_release() [all …]
|
/fs/dlm/ |
D | ast.c | 28 (unsigned long long)lkb->lkb_last_bast.seq, in dlm_dump_lkb_callbacks() 36 (unsigned long long)lkb->lkb_last_cast.seq, in dlm_dump_lkb_callbacks() 45 (unsigned long long)lkb->lkb_callbacks[i].seq, in dlm_dump_lkb_callbacks() 54 int status, uint32_t sbflags, uint64_t seq) in dlm_add_lkb_callback() argument 62 if (lkb->lkb_callbacks[i].seq) in dlm_add_lkb_callback() 75 prev_seq = lkb->lkb_callbacks[i-1].seq; in dlm_add_lkb_callback() 84 (unsigned long long)seq, in dlm_add_lkb_callback() 93 lkb->lkb_callbacks[i].seq = seq; in dlm_add_lkb_callback() 104 lkb->lkb_id, (unsigned long long)seq, in dlm_add_lkb_callback() 121 if (!lkb->lkb_callbacks[0].seq) { in dlm_rem_lkb_callback() [all …]
|
D | debug_fs.c | 383 static int table_seq_show(struct seq_file *seq, void *iter_ptr) in table_seq_show() argument 389 print_format1(ri->rsb, seq); in table_seq_show() 393 …seq_puts(seq, "id nodeid remid pid xid exflags flags sts grmode rqmode time_ms r_nodeid r_len r_na… in table_seq_show() 396 print_format2(ri->rsb, seq); in table_seq_show() 400 seq_puts(seq, "version rsb 1.1 lvb 1.1 lkb 1.1\n"); in table_seq_show() 403 print_format3(ri->rsb, seq); in table_seq_show() 407 seq_puts(seq, "version 4 rsb 2\n"); in table_seq_show() 410 print_format4(ri->rsb, seq); in table_seq_show() 422 static void *table_seq_start(struct seq_file *seq, loff_t *pos) in table_seq_start() argument 426 struct dlm_ls *ls = seq->private; in table_seq_start() [all …]
|
D | recoverd.c | 33 static int enable_locking(struct dlm_ls *ls, uint64_t seq) in enable_locking() argument 40 if (ls->ls_recover_seq == seq) { in enable_locking() 58 log_rinfo(ls, "dlm_recover %llu", (unsigned long long)rv->seq); in ls_recover() 218 error = enable_locking(ls, rv->seq); in ls_recover() 239 (unsigned long long)rv->seq, ls->ls_generation, in ls_recover() 249 (unsigned long long)rv->seq, error); in ls_recover() 265 if (rv && ls->ls_recover_seq == rv->seq) in do_ls_recovery()
|
/fs/f2fs/ |
D | sysfs.c | 485 static int segment_info_seq_show(struct seq_file *seq, void *offset) in segment_info_seq_show() argument 487 struct super_block *sb = seq->private; in segment_info_seq_show() 493 seq_puts(seq, "format: segment_type|valid_blocks\n" in segment_info_seq_show() 500 seq_printf(seq, "%-10d", i); in segment_info_seq_show() 501 seq_printf(seq, "%d|%-3u", se->type, in segment_info_seq_show() 504 seq_putc(seq, '\n'); in segment_info_seq_show() 506 seq_putc(seq, ' '); in segment_info_seq_show() 512 static int segment_bits_seq_show(struct seq_file *seq, void *offset) in segment_bits_seq_show() argument 514 struct super_block *sb = seq->private; in segment_bits_seq_show() 520 seq_puts(seq, "format: segment_type|valid_blocks|bitmaps\n" in segment_bits_seq_show() [all …]
|
D | super.c | 1200 static inline void f2fs_show_quota_options(struct seq_file *seq, in f2fs_show_quota_options() argument 1220 seq_printf(seq, ",jqfmt=%s", fmtname); in f2fs_show_quota_options() 1224 seq_show_option(seq, "usrjquota", in f2fs_show_quota_options() 1228 seq_show_option(seq, "grpjquota", in f2fs_show_quota_options() 1232 seq_show_option(seq, "prjjquota", in f2fs_show_quota_options() 1237 static int f2fs_show_options(struct seq_file *seq, struct dentry *root) in f2fs_show_options() argument 1243 seq_printf(seq, ",background_gc=%s", "sync"); in f2fs_show_options() 1245 seq_printf(seq, ",background_gc=%s", "on"); in f2fs_show_options() 1247 seq_printf(seq, ",background_gc=%s", "off"); in f2fs_show_options() 1250 seq_puts(seq, ",disable_roll_forward"); in f2fs_show_options() [all …]
|
/fs/btrfs/ |
D | delayed-ref.c | 202 u64 seq) in merge_ref() argument 218 if (seq && next->seq >= seq) in merge_ref() 271 u64 seq = 0; in btrfs_merge_delayed_refs() local 288 seq = elem->seq; in btrfs_merge_delayed_refs() 295 if (seq && ref->seq >= seq) in btrfs_merge_delayed_refs() 298 if (merge_ref(trans, delayed_refs, head, ref, seq)) { in btrfs_merge_delayed_refs() 313 u64 seq) in btrfs_check_delayed_seq() argument 322 if (seq >= elem->seq) { in btrfs_check_delayed_seq() 324 (u32)(seq >> 32), (u32)seq, in btrfs_check_delayed_seq() 325 (u32)(elem->seq >> 32), (u32)elem->seq, in btrfs_check_delayed_seq() [all …]
|
D | super.c | 1118 static int btrfs_show_options(struct seq_file *seq, struct dentry *dentry) in btrfs_show_options() argument 1126 seq_puts(seq, ",degraded"); in btrfs_show_options() 1128 seq_puts(seq, ",nodatasum"); in btrfs_show_options() 1130 seq_puts(seq, ",nodatacow"); in btrfs_show_options() 1132 seq_puts(seq, ",nobarrier"); in btrfs_show_options() 1134 seq_printf(seq, ",max_inline=%llu", info->max_inline); in btrfs_show_options() 1136 seq_printf(seq, ",alloc_start=%llu", info->alloc_start); in btrfs_show_options() 1139 seq_printf(seq, ",thread_pool=%d", info->thread_pool_size); in btrfs_show_options() 1146 seq_printf(seq, ",compress-force=%s", compress_type); in btrfs_show_options() 1148 seq_printf(seq, ",compress=%s", compress_type); in btrfs_show_options() [all …]
|
/fs/ceph/ |
D | snap.c | 330 realm->cached_context->seq == realm->seq && in build_snap_context() 332 realm->cached_context->seq >= parent->cached_context->seq)) { in build_snap_context() 336 realm->cached_context->seq, in build_snap_context() 351 snapc->seq = realm->seq; in build_snap_context() 362 if (parent->cached_context->seq > snapc->seq) in build_snap_context() 363 snapc->seq = parent->cached_context->seq; in build_snap_context() 375 realm->ino, realm, snapc, snapc->seq, in build_snap_context() 438 return n->snaps[0] > o->seq; in has_new_snaps() 529 capsnap->follows = old_snapc->seq; in ceph_queue_cap_snap() 561 capsnap, old_snapc, old_snapc->seq); in ceph_queue_cap_snap() [all …]
|
D | caps.c | 514 unsigned seq, unsigned mseq, u64 realmino, int flags, in ceph_add_cap() argument 524 session->s_mds, cap_id, ceph_cap_string(issued), seq); in ceph_add_cap() 563 if (ceph_seq_cmp(seq, cap->seq) <= 0) { in ceph_add_cap() 566 seq = cap->seq; in ceph_add_cap() 620 ceph_cap_string(issued|cap->issued), seq, mds); in ceph_add_cap() 628 cap->seq = seq; in ceph_add_cap() 629 cap->issue_seq = seq; in ceph_add_cap() 998 u32 seq, u64 flush_tid, u64 oldest_flush_tid, in send_cap_msg() argument 1017 seq, issue_seq, flush_tid, oldest_flush_tid, in send_cap_msg() 1037 fc->seq = cpu_to_le32(seq); in send_cap_msg() [all …]
|
/fs/reiserfs/ |
D | bitmap.c | 683 static void print_sep(struct seq_file *seq, int *first) in print_sep() argument 686 seq_puts(seq, ":"); in print_sep() 691 void show_alloc_options(struct seq_file *seq, struct super_block *s) in show_alloc_options() argument 699 seq_puts(seq, ",alloc="); in show_alloc_options() 702 print_sep(seq, &first); in show_alloc_options() 704 seq_printf(seq, "concentrating_formatted_nodes=%d", in show_alloc_options() 707 seq_puts(seq, "concentrating_formatted_nodes"); in show_alloc_options() 710 print_sep(seq, &first); in show_alloc_options() 712 seq_printf(seq, "displacing_large_files=%lu", in show_alloc_options() 715 seq_puts(seq, "displacing_large_files"); in show_alloc_options() [all …]
|
D | super.c | 696 static int reiserfs_show_options(struct seq_file *seq, struct dentry *root) in reiserfs_show_options() argument 703 seq_puts(seq, ",tails=on"); in reiserfs_show_options() 705 seq_puts(seq, ",notail"); in reiserfs_show_options() 709 seq_puts(seq, ",barrier=none"); in reiserfs_show_options() 713 seq_puts(seq, ",errors=continue"); in reiserfs_show_options() 715 seq_puts(seq, ",errors=panic"); in reiserfs_show_options() 719 seq_puts(seq, ",data=journal"); in reiserfs_show_options() 721 seq_puts(seq, ",data=writeback"); in reiserfs_show_options() 725 seq_puts(seq, ",attrs"); in reiserfs_show_options() 728 seq_puts(seq, ",user_xattr"); in reiserfs_show_options() [all …]
|
/fs/ |
D | fs_struct.c | 19 write_seqcount_begin(&fs->seq); in set_fs_root() 22 write_seqcount_end(&fs->seq); in set_fs_root() 38 write_seqcount_begin(&fs->seq); in set_fs_pwd() 41 write_seqcount_end(&fs->seq); in set_fs_pwd() 70 write_seqcount_begin(&fs->seq); in chroot_fs_refs() 73 write_seqcount_end(&fs->seq); in chroot_fs_refs() 120 seqcount_init(&fs->seq); in copy_fs_struct() 167 .seq = SEQCNT_ZERO(init_fs.seq),
|
D | dcache.c | 1198 unsigned seq = 0; in d_walk() local 1203 read_seqbegin_or_lock(&rename_lock, &seq); in d_walk() 1265 if (need_seqretry(&rename_lock, seq)) in d_walk() 1277 if (need_seqretry(&rename_lock, seq)) in d_walk() 1285 done_seqretry(&rename_lock, seq); in d_walk() 1291 BUG_ON(seq & 1); in d_walk() 1294 seq = 1; in d_walk() 2160 unsigned int seq, in slow_dentry_cmp() argument 2166 if (read_seqcount_retry(&dentry->d_seq, seq)) { in slow_dentry_cmp() 2235 unsigned seq; in __d_lookup_rcu() local [all …]
|
D | namei.c | 518 unsigned seq, m_seq; member 527 unsigned seq; member 643 struct path *path, unsigned seq) in legitimize_path() argument 656 return !read_seqcount_retry(&path->dentry->d_seq, seq); in legitimize_path() 664 if (unlikely(!legitimize_path(nd, &last->link, last->seq))) { in legitimize_links() 697 static int unlazy_walk(struct nameidata *nd, struct dentry *dentry, unsigned seq) in unlazy_walk() argument 723 if (read_seqcount_retry(&parent->d_seq, nd->seq)) in unlazy_walk() 729 if (read_seqcount_retry(&dentry->d_seq, seq)) in unlazy_walk() 764 static int unlazy_link(struct nameidata *nd, struct path *link, unsigned seq) in unlazy_link() argument 766 if (unlikely(!legitimize_path(nd, link, seq))) { in unlazy_link() [all …]
|
D | seq_file.c | 620 struct seq_file *seq = file->private_data; in seq_release_private() local 622 kfree(seq->private); in seq_release_private() 623 seq->private = NULL; in seq_release_private() 633 struct seq_file *seq; in __seq_open_private() local 643 seq = f->private_data; in __seq_open_private() 644 seq->private = private; in __seq_open_private() 741 int seq_write(struct seq_file *seq, const void *data, size_t len) in seq_write() argument 743 if (seq->count + len < seq->size) { in seq_write() 744 memcpy(seq->buf + seq->count, data, len); in seq_write() 745 seq->count += len; in seq_write() [all …]
|
/fs/hfsplus/ |
D | options.c | 216 int hfsplus_show_options(struct seq_file *seq, struct dentry *root) in hfsplus_show_options() argument 221 seq_show_option_n(seq, "creator", (char *)&sbi->creator, 4); in hfsplus_show_options() 223 seq_show_option_n(seq, "type", (char *)&sbi->type, 4); in hfsplus_show_options() 224 seq_printf(seq, ",umask=%o,uid=%u,gid=%u", sbi->umask, in hfsplus_show_options() 228 seq_printf(seq, ",part=%u", sbi->part); in hfsplus_show_options() 230 seq_printf(seq, ",session=%u", sbi->session); in hfsplus_show_options() 232 seq_printf(seq, ",nls=%s", sbi->nls->charset); in hfsplus_show_options() 234 seq_puts(seq, ",nodecompose"); in hfsplus_show_options() 236 seq_puts(seq, ",nobarrier"); in hfsplus_show_options()
|
/fs/ext4/ |
D | mmp.c | 137 u32 seq = 0; in kmmpd() local 161 if (++seq > EXT4_MMP_SEQ_MAX) in kmmpd() 162 seq = 1; in kmmpd() 164 mmp->mmp_seq = cpu_to_le32(seq); in kmmpd() 281 u32 seq; in ext4_multi_mount_protect() local 308 seq = le32_to_cpu(mmp->mmp_seq); in ext4_multi_mount_protect() 309 if (seq == EXT4_MMP_SEQ_CLEAN) in ext4_multi_mount_protect() 312 if (seq == EXT4_MMP_SEQ_FSCK) { in ext4_multi_mount_protect() 334 if (seq != le32_to_cpu(mmp->mmp_seq)) { in ext4_multi_mount_protect() 344 seq = mmp_new_seq(); in ext4_multi_mount_protect() [all …]
|
/fs/gfs2/ |
D | glock.c | 866 void gfs2_print_dbg(struct seq_file *seq, const char *fmt, ...) in gfs2_print_dbg() argument 873 if (seq) { in gfs2_print_dbg() 874 seq_vprintf(seq, fmt, args); in gfs2_print_dbg() 1500 static void dump_glock(struct seq_file *seq, struct gfs2_glock *gl) in dump_glock() argument 1503 gfs2_dump_glock(seq, gl); in dump_glock() 1595 static void dump_holder(struct seq_file *seq, const struct gfs2_holder *gh) in dump_holder() argument 1603 gfs2_print_dbg(seq, " H: s:%s f:%s e:%d p:%ld [%s] %pS\n", in dump_holder() 1667 void gfs2_dump_glock(struct seq_file *seq, const struct gfs2_glock *gl) in gfs2_dump_glock() argument 1678 gfs2_print_dbg(seq, "G: s:%s n:%u/%llx f:%s t:%s d:%s/%llu a:%d v:%d r:%d m:%ld\n", in gfs2_dump_glock() 1690 dump_holder(seq, gh); in gfs2_dump_glock() [all …]
|
/fs/hfs/ |
D | super.c | 134 static int hfs_show_options(struct seq_file *seq, struct dentry *root) in hfs_show_options() argument 139 seq_show_option_n(seq, "creator", (char *)&sbi->s_creator, 4); in hfs_show_options() 141 seq_show_option_n(seq, "type", (char *)&sbi->s_type, 4); in hfs_show_options() 142 seq_printf(seq, ",uid=%u,gid=%u", in hfs_show_options() 146 seq_printf(seq, ",file_umask=%o", sbi->s_file_umask); in hfs_show_options() 148 seq_printf(seq, ",dir_umask=%o", sbi->s_dir_umask); in hfs_show_options() 150 seq_printf(seq, ",part=%u", sbi->part); in hfs_show_options() 152 seq_printf(seq, ",session=%u", sbi->session); in hfs_show_options() 154 seq_printf(seq, ",codepage=%s", sbi->nls_disk->charset); in hfs_show_options() 156 seq_printf(seq, ",iocharset=%s", sbi->nls_io->charset); in hfs_show_options() [all …]
|
/fs/hpfs/ |
D | super.c | 501 static int hpfs_show_options(struct seq_file *seq, struct dentry *root) in hpfs_show_options() argument 505 seq_printf(seq, ",uid=%u", from_kuid_munged(&init_user_ns, sbi->sb_uid)); in hpfs_show_options() 506 seq_printf(seq, ",gid=%u", from_kgid_munged(&init_user_ns, sbi->sb_gid)); in hpfs_show_options() 507 seq_printf(seq, ",umask=%03o", (~sbi->sb_mode & 0777)); in hpfs_show_options() 509 seq_printf(seq, ",case=lower"); in hpfs_show_options() 511 seq_printf(seq, ",check=none"); in hpfs_show_options() 513 seq_printf(seq, ",check=strict"); in hpfs_show_options() 515 seq_printf(seq, ",errors=continue"); in hpfs_show_options() 517 seq_printf(seq, ",errors=panic"); in hpfs_show_options() 519 seq_printf(seq, ",chkdsk=no"); in hpfs_show_options() [all …]
|
/fs/proc/ |
D | proc_net.c | 89 struct seq_file *seq; in seq_release_net() local 91 seq = f->private_data; in seq_release_net() 93 put_net(seq_file_net(seq)); in seq_release_net() 101 struct seq_file *seq = f->private_data; in single_release_net() local 102 put_net(seq->private); in single_release_net()
|
/fs/ext2/ |
D | super.c | 226 static int ext2_show_options(struct seq_file *seq, struct dentry *root) in ext2_show_options() argument 237 seq_printf(seq, ",sb=%lu", sbi->s_sb_block); in ext2_show_options() 239 seq_puts(seq, ",minixdf"); in ext2_show_options() 241 seq_puts(seq, ",grpid"); in ext2_show_options() 243 seq_puts(seq, ",nogrpid"); in ext2_show_options() 246 seq_printf(seq, ",resuid=%u", in ext2_show_options() 251 seq_printf(seq, ",resgid=%u", in ext2_show_options() 259 seq_puts(seq, ",errors=remount-ro"); in ext2_show_options() 263 seq_puts(seq, ",errors=continue"); in ext2_show_options() 265 seq_puts(seq, ",errors=panic"); in ext2_show_options() [all …]
|
/fs/jfs/ |
D | super.c | 700 static int jfs_show_options(struct seq_file *seq, struct dentry *root) in jfs_show_options() argument 705 seq_printf(seq, ",uid=%d", from_kuid(&init_user_ns, sbi->uid)); in jfs_show_options() 707 seq_printf(seq, ",gid=%d", from_kgid(&init_user_ns, sbi->gid)); in jfs_show_options() 709 seq_printf(seq, ",umask=%03o", sbi->umask); in jfs_show_options() 711 seq_puts(seq, ",nointegrity"); in jfs_show_options() 713 seq_printf(seq, ",discard=%u", sbi->minblks_trim); in jfs_show_options() 715 seq_printf(seq, ",iocharset=%s", sbi->nls_tab->charset); in jfs_show_options() 717 seq_printf(seq, ",errors=continue"); in jfs_show_options() 719 seq_printf(seq, ",errors=panic"); in jfs_show_options() 723 seq_puts(seq, ",usrquota"); in jfs_show_options() [all …]
|