/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 188 struct seq_file *seq; in nst_fop_open() local 202 seq = file->private_data; in nst_fop_open() [all …]
|
/fs/nfsd/ |
D | stats.c | 37 static int nfsd_proc_show(struct seq_file *seq, void *v) in nfsd_proc_show() argument 41 seq_printf(seq, "rc %u %u %u\nfh %u %u %u %u %u\nio %u %u\n", in nfsd_proc_show() 53 seq_printf(seq, "th %u %u", nfsdstats.th_cnt, nfsdstats.th_fullcnt); in nfsd_proc_show() 57 seq_printf(seq, " %u.%03u", sec, msec); in nfsd_proc_show() 61 seq_printf(seq, "\nra %u", nfsdstats.ra_size); in nfsd_proc_show() 63 seq_printf(seq, " %u", nfsdstats.ra_depth[i]); in nfsd_proc_show() 64 seq_putc(seq, '\n'); in nfsd_proc_show() 67 svc_seq_show(seq, &nfsd_svcstats); in nfsd_proc_show() 72 seq_printf(seq,"proc4ops %u", LAST_NFS4_OP + 1); in nfsd_proc_show() 74 seq_printf(seq, " %u", nfsdstats.nfs4_opcount[i]); in nfsd_proc_show() [all …]
|
/fs/dlm/ |
D | ast.c | 27 (unsigned long long)lkb->lkb_last_bast.seq, in dlm_dump_lkb_callbacks() 35 (unsigned long long)lkb->lkb_last_cast.seq, in dlm_dump_lkb_callbacks() 44 (unsigned long long)lkb->lkb_callbacks[i].seq, in dlm_dump_lkb_callbacks() 53 int status, uint32_t sbflags, uint64_t seq) in dlm_add_lkb_callback() argument 61 if (lkb->lkb_callbacks[i].seq) in dlm_add_lkb_callback() 74 prev_seq = lkb->lkb_callbacks[i-1].seq; in dlm_add_lkb_callback() 83 (unsigned long long)seq, in dlm_add_lkb_callback() 92 lkb->lkb_callbacks[i].seq = seq; in dlm_add_lkb_callback() 103 lkb->lkb_id, (unsigned long long)seq, in dlm_add_lkb_callback() 120 if (!lkb->lkb_callbacks[0].seq) { in dlm_rem_lkb_callback() [all …]
|
D | debug_fs.c | 399 static int table_seq_show(struct seq_file *seq, void *iter_ptr) in table_seq_show() argument 406 rv = print_format1(ri->rsb, seq); in table_seq_show() 410 seq_printf(seq, "id nodeid remid pid xid exflags " in table_seq_show() 415 rv = print_format2(ri->rsb, seq); in table_seq_show() 419 seq_printf(seq, "version rsb 1.1 lvb 1.1 lkb 1.1\n"); in table_seq_show() 422 rv = print_format3(ri->rsb, seq); in table_seq_show() 426 seq_printf(seq, "version 4 rsb 2\n"); in table_seq_show() 429 rv = print_format4(ri->rsb, seq); in table_seq_show() 441 static void *table_seq_start(struct seq_file *seq, loff_t *pos) in table_seq_start() argument 445 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_debug(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/btrfs/ |
D | delayed-ref.c | 111 if (ref1->seq < ref2->seq) in comp_entry() 113 if (ref1->seq > ref2->seq) in comp_entry() 258 struct btrfs_delayed_ref_node *ref, u64 seq) in merge_ref() argument 273 if (seq && next->seq >= seq) in merge_ref() 321 u64 seq = 0; in btrfs_merge_delayed_refs() local 329 seq = elem->seq; in btrfs_merge_delayed_refs() 343 if (seq && ref->seq >= seq) in btrfs_merge_delayed_refs() 345 if (merge_ref(trans, delayed_refs, ref, seq)) in btrfs_merge_delayed_refs() 354 u64 seq) in btrfs_check_delayed_seq() argument 363 if (seq >= elem->seq) { in btrfs_check_delayed_seq() [all …]
|
D | super.c | 881 static int btrfs_show_options(struct seq_file *seq, struct dentry *dentry) in btrfs_show_options() argument 888 seq_puts(seq, ",degraded"); in btrfs_show_options() 890 seq_puts(seq, ",nodatasum"); in btrfs_show_options() 892 seq_puts(seq, ",nodatacow"); in btrfs_show_options() 894 seq_puts(seq, ",nobarrier"); in btrfs_show_options() 896 seq_printf(seq, ",max_inline=%llu", in btrfs_show_options() 899 seq_printf(seq, ",alloc_start=%llu", in btrfs_show_options() 903 seq_printf(seq, ",thread_pool=%d", info->thread_pool_size); in btrfs_show_options() 910 seq_printf(seq, ",compress-force=%s", compress_type); in btrfs_show_options() 912 seq_printf(seq, ",compress=%s", compress_type); in btrfs_show_options() [all …]
|
D | qgroup.c | 1192 BUG_ON(!trans->delayed_ref_elem.seq); in btrfs_qgroup_record_ref() 1206 u64 seq) in qgroup_account_ref_step1() argument 1232 if (qg->refcnt < seq) in qgroup_account_ref_step1() 1233 qg->refcnt = seq + 1; in qgroup_account_ref_step1() 1252 u64 seq, int sgn, u64 num_bytes, in qgroup_account_ref_step2() argument 1269 if (qg->refcnt < seq) { in qgroup_account_ref_step2() 1279 WARN_ON(qg->tag >= seq); in qgroup_account_ref_step2() 1280 qg->tag = seq; in qgroup_account_ref_step2() 1295 u64 seq, int sgn, u64 num_bytes) in qgroup_account_ref_step3() argument 1320 if (qg->tag == seq) in qgroup_account_ref_step3() [all …]
|
/fs/hfsplus/ |
D | options.c | 217 int hfsplus_show_options(struct seq_file *seq, struct dentry *root) in hfsplus_show_options() argument 222 seq_printf(seq, ",creator=%.4s", (char *)&sbi->creator); in hfsplus_show_options() 224 seq_printf(seq, ",type=%.4s", (char *)&sbi->type); in hfsplus_show_options() 225 seq_printf(seq, ",umask=%o,uid=%u,gid=%u", sbi->umask, in hfsplus_show_options() 229 seq_printf(seq, ",part=%u", sbi->part); in hfsplus_show_options() 231 seq_printf(seq, ",session=%u", sbi->session); in hfsplus_show_options() 233 seq_printf(seq, ",nls=%s", sbi->nls->charset); in hfsplus_show_options() 235 seq_printf(seq, ",nodecompose"); in hfsplus_show_options() 237 seq_printf(seq, ",nobarrier"); in hfsplus_show_options()
|
/fs/reiserfs/ |
D | bitmap.c | 636 static void print_sep(struct seq_file *seq, int *first) in print_sep() argument 639 seq_puts(seq, ":"); in print_sep() 644 void show_alloc_options(struct seq_file *seq, struct super_block *s) in show_alloc_options() argument 652 seq_puts(seq, ",alloc="); in show_alloc_options() 655 print_sep(seq, &first); in show_alloc_options() 657 seq_printf(seq, "concentrating_formatted_nodes=%d", in show_alloc_options() 660 seq_puts(seq, "concentrating_formatted_nodes"); in show_alloc_options() 663 print_sep(seq, &first); in show_alloc_options() 665 seq_printf(seq, "displacing_large_files=%lu", in show_alloc_options() 668 seq_puts(seq, "displacing_large_files"); in show_alloc_options() [all …]
|
D | super.c | 65 void show_alloc_options(struct seq_file *seq, struct super_block *s); 651 static int reiserfs_show_options(struct seq_file *seq, struct dentry *root) in reiserfs_show_options() argument 658 seq_puts(seq, ",tails=on"); in reiserfs_show_options() 660 seq_puts(seq, ",notail"); in reiserfs_show_options() 664 seq_puts(seq, ",barrier=none"); in reiserfs_show_options() 668 seq_puts(seq, ",errors=continue"); in reiserfs_show_options() 670 seq_puts(seq, ",errors=panic"); in reiserfs_show_options() 674 seq_puts(seq, ",data=journal"); in reiserfs_show_options() 676 seq_puts(seq, ",data=writeback"); in reiserfs_show_options() 680 seq_puts(seq, ",attrs"); in reiserfs_show_options() [all …]
|
/fs/ceph/ |
D | snap.c | 320 realm->cached_context->seq == realm->seq && in build_snap_context() 322 realm->cached_context->seq >= parent->cached_context->seq)) { in build_snap_context() 326 realm->cached_context->seq, in build_snap_context() 341 snapc->seq = realm->seq; in build_snap_context() 352 if (parent->cached_context->seq > snapc->seq) in build_snap_context() 353 snapc->seq = parent->cached_context->seq; in build_snap_context() 365 realm->ino, realm, snapc, snapc->seq, in build_snap_context() 489 capsnap->follows = snapc->seq; in ceph_queue_cap_snap() 521 capsnap, snapc, snapc->seq); in ceph_queue_cap_snap() 558 capsnap->context, capsnap->context->seq, in __ceph_finish_cap_snap() [all …]
|
D | caps.c | 519 unsigned seq, unsigned mseq, u64 realmino, int flags, in ceph_add_cap() argument 530 session->s_mds, cap_id, ceph_cap_string(issued), seq); in ceph_add_cap() 630 ceph_cap_string(issued|cap->issued), seq, mds); in ceph_add_cap() 638 cap->seq = seq; in ceph_add_cap() 639 cap->issue_seq = seq; in ceph_add_cap() 943 u32 seq, u64 flush_tid, u32 issue_seq, u32 mseq, in send_cap_msg() argument 960 seq, issue_seq, mseq, follows, size, max_size, in send_cap_msg() 974 fc->seq = cpu_to_le32(seq); in send_cap_msg() 1029 item->seq = cpu_to_le32(issue_seq); in __queue_cap_release() 1093 u64 seq, issue_seq, mseq, time_warp_seq, follows; in __send_cap() local [all …]
|
/fs/ext4/ |
D | mmp.c | 132 u32 seq = 0; in kmmpd() local 156 if (++seq > EXT4_MMP_SEQ_MAX) in kmmpd() 157 seq = 1; in kmmpd() 159 mmp->mmp_seq = cpu_to_le32(seq); in kmmpd() 276 u32 seq; in ext4_multi_mount_protect() local 303 seq = le32_to_cpu(mmp->mmp_seq); in ext4_multi_mount_protect() 304 if (seq == EXT4_MMP_SEQ_CLEAN) in ext4_multi_mount_protect() 307 if (seq == EXT4_MMP_SEQ_FSCK) { in ext4_multi_mount_protect() 329 if (seq != le32_to_cpu(mmp->mmp_seq)) { in ext4_multi_mount_protect() 339 seq = mmp_new_seq(); in ext4_multi_mount_protect() [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() 69 write_seqcount_begin(&fs->seq); in chroot_fs_refs() 72 write_seqcount_end(&fs->seq); in chroot_fs_refs() 118 seqcount_init(&fs->seq); in copy_fs_struct() 165 .seq = SEQCNT_ZERO,
|
D | seq_file.c | 643 struct seq_file *seq = file->private_data; in seq_release_private() local 645 kfree(seq->private); in seq_release_private() 646 seq->private = NULL; in seq_release_private() 656 struct seq_file *seq; in __seq_open_private() local 666 seq = f->private_data; in __seq_open_private() 667 seq->private = private; in __seq_open_private() 767 int seq_write(struct seq_file *seq, const void *data, size_t len) in seq_write() argument 769 if (seq->count + len < seq->size) { in seq_write() 770 memcpy(seq->buf + seq->count, data, len); in seq_write() 771 seq->count += len; in seq_write() [all …]
|
D | dcache.c | 999 static struct dentry *try_to_ascend(struct dentry *old, int locked, unsigned seq) in try_to_ascend() argument 1013 (!locked && read_seqretry(&rename_lock, seq))) { in try_to_ascend() 1039 unsigned seq; in have_submounts() local 1042 seq = read_seqbegin(&rename_lock); in have_submounts() 1078 this_parent = try_to_ascend(this_parent, locked, seq); in have_submounts() 1085 if (!locked && read_seqretry(&rename_lock, seq)) in have_submounts() 1091 if (!locked && read_seqretry(&rename_lock, seq)) in have_submounts() 1124 unsigned seq; in select_parent() local 1128 seq = read_seqbegin(&rename_lock); in select_parent() 1185 this_parent = try_to_ascend(this_parent, locked, seq); in select_parent() [all …]
|
/fs/gfs2/ |
D | glock.c | 932 void gfs2_print_dbg(struct seq_file *seq, const char *fmt, ...) in gfs2_print_dbg() argument 939 if (seq) { in gfs2_print_dbg() 940 seq_vprintf(seq, fmt, args); in gfs2_print_dbg() 1555 static int dump_glock(struct seq_file *seq, struct gfs2_glock *gl) in dump_glock() argument 1559 ret = gfs2_dump_glock(seq, gl); in dump_glock() 1653 static int dump_holder(struct seq_file *seq, const struct gfs2_holder *gh) in dump_holder() argument 1660 gfs2_print_dbg(seq, " H: s:%s f:%s e:%d p:%ld [%s] %pS\n", in dump_holder() 1725 int gfs2_dump_glock(struct seq_file *seq, const struct gfs2_glock *gl) in gfs2_dump_glock() argument 1737 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() 1749 error = dump_holder(seq, gh); in gfs2_dump_glock() [all …]
|
/fs/hfs/ |
D | super.c | 133 static int hfs_show_options(struct seq_file *seq, struct dentry *root) in hfs_show_options() argument 138 seq_printf(seq, ",creator=%.4s", (char *)&sbi->s_creator); in hfs_show_options() 140 seq_printf(seq, ",type=%.4s", (char *)&sbi->s_type); in hfs_show_options() 141 seq_printf(seq, ",uid=%u,gid=%u", in hfs_show_options() 145 seq_printf(seq, ",file_umask=%o", sbi->s_file_umask); in hfs_show_options() 147 seq_printf(seq, ",dir_umask=%o", sbi->s_dir_umask); in hfs_show_options() 149 seq_printf(seq, ",part=%u", sbi->part); in hfs_show_options() 151 seq_printf(seq, ",session=%u", sbi->session); in hfs_show_options() 153 seq_printf(seq, ",codepage=%s", sbi->nls_disk->charset); in hfs_show_options() 155 seq_printf(seq, ",iocharset=%s", sbi->nls_io->charset); in hfs_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 | 217 static int ext2_show_options(struct seq_file *seq, struct dentry *root) in ext2_show_options() argument 228 seq_printf(seq, ",sb=%lu", sbi->s_sb_block); in ext2_show_options() 230 seq_puts(seq, ",minixdf"); in ext2_show_options() 232 seq_puts(seq, ",grpid"); in ext2_show_options() 234 seq_puts(seq, ",nogrpid"); in ext2_show_options() 237 seq_printf(seq, ",resuid=%u", in ext2_show_options() 242 seq_printf(seq, ",resgid=%u", in ext2_show_options() 250 seq_puts(seq, ",errors=remount-ro"); in ext2_show_options() 254 seq_puts(seq, ",errors=continue"); in ext2_show_options() 256 seq_puts(seq, ",errors=panic"); in ext2_show_options() [all …]
|
/fs/f2fs/ |
D | super.c | 213 static int f2fs_show_options(struct seq_file *seq, struct dentry *root) in f2fs_show_options() argument 218 seq_puts(seq, ",background_gc_on"); in f2fs_show_options() 220 seq_puts(seq, ",background_gc_off"); in f2fs_show_options() 222 seq_puts(seq, ",disable_roll_forward"); in f2fs_show_options() 224 seq_puts(seq, ",discard"); in f2fs_show_options() 226 seq_puts(seq, ",no_heap_alloc"); in f2fs_show_options() 229 seq_puts(seq, ",user_xattr"); in f2fs_show_options() 231 seq_puts(seq, ",nouser_xattr"); in f2fs_show_options() 235 seq_puts(seq, ",acl"); in f2fs_show_options() 237 seq_puts(seq, ",noacl"); in f2fs_show_options() [all …]
|
/fs/jfs/ |
D | super.c | 686 static int jfs_show_options(struct seq_file *seq, struct dentry *root) in jfs_show_options() argument 691 seq_printf(seq, ",uid=%d", from_kuid(&init_user_ns, sbi->uid)); in jfs_show_options() 693 seq_printf(seq, ",gid=%d", from_kgid(&init_user_ns, sbi->gid)); in jfs_show_options() 695 seq_printf(seq, ",umask=%03o", sbi->umask); in jfs_show_options() 697 seq_puts(seq, ",nointegrity"); in jfs_show_options() 699 seq_printf(seq, ",discard=%u", sbi->minblks_trim); in jfs_show_options() 701 seq_printf(seq, ",iocharset=%s", sbi->nls_tab->charset); in jfs_show_options() 703 seq_printf(seq, ",errors=continue"); in jfs_show_options() 705 seq_printf(seq, ",errors=panic"); in jfs_show_options() 709 seq_puts(seq, ",usrquota"); in jfs_show_options() [all …]
|
/fs/ext3/ |
D | super.c | 540 static inline void ext3_show_quota_options(struct seq_file *seq, struct super_block *sb) in ext3_show_quota_options() argument 559 seq_printf(seq, ",jqfmt=%s", fmtname); in ext3_show_quota_options() 563 seq_printf(seq, ",usrjquota=%s", sbi->s_qf_names[USRQUOTA]); in ext3_show_quota_options() 566 seq_printf(seq, ",grpjquota=%s", sbi->s_qf_names[GRPQUOTA]); in ext3_show_quota_options() 569 seq_puts(seq, ",usrquota"); in ext3_show_quota_options() 572 seq_puts(seq, ",grpquota"); in ext3_show_quota_options() 594 static int ext3_show_options(struct seq_file *seq, struct dentry *root) in ext3_show_options() argument 604 seq_printf(seq, ",sb=%lu", sbi->s_sb_block); in ext3_show_options() 606 seq_puts(seq, ",minixdf"); in ext3_show_options() 608 seq_puts(seq, ",grpid"); in ext3_show_options() [all …]
|
/fs/nfs/ |
D | namespace.c | 55 unsigned seq; in nfs_path() local 63 seq = read_seqbegin(&rename_lock); in nfs_path() 79 if (read_seqretry(&rename_lock, seq)) { in nfs_path() 120 if (read_seqretry(&rename_lock, seq)) in nfs_path()
|