Home
last modified time | relevance | path

Searched refs:sd_args (Results 1 – 15 of 15) sorted by relevance

/linux-4.19.296/fs/gfs2/
Dutil.c45 if (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW && in gfs2_lm_withdraw()
60 if (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW) { in gfs2_lm_withdraw()
62 BUG_ON(sdp->sd_args.ar_debug); in gfs2_lm_withdraw()
78 if (sdp->sd_args.ar_errors == GFS2_ERRORS_PANIC) in gfs2_lm_withdraw()
116 if (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW) in gfs2_assert_warn_i()
120 if (sdp->sd_args.ar_debug) in gfs2_assert_warn_i()
125 if (sdp->sd_args.ar_errors == GFS2_ERRORS_PANIC) in gfs2_assert_warn_i()
Dops_fstype.c356 proto = sdp->sd_args.ar_lockproto; in init_names()
357 table = sdp->sd_args.ar_locktable; in init_names()
514 sb->s_root = dget(sdp->sd_args.ar_meta ? sdp->sd_master_dir : sdp->sd_root_dir); in init_sb()
678 if (sdp->sd_args.ar_spectator) { in init_journal()
733 if (sdp->sd_args.ar_spectator) { in init_journal()
748 } else if (!sdp->sd_args.ar_spectator) { in init_journal()
764 if (!sdp->sd_args.ar_spectator) in init_journal()
767 if (!sdp->sd_args.ar_spectator) in init_journal()
851 if (sdp->sd_args.ar_spectator) in init_per_node()
938 struct gfs2_args *args = &sdp->sd_args; in gfs2_lm_mount()
[all …]
Dinode.h36 return (sdp->sd_args.ar_data == GFS2_DATA_WRITEBACK) && !gfs2_is_jdata(ip); in gfs2_is_writeback()
42 return (sdp->sd_args.ar_data == GFS2_DATA_ORDERED) && !gfs2_is_jdata(ip); in gfs2_is_ordered()
129 return sdp->sd_args.ar_localflocks; in gfs2_localflocks()
Dquota.h51 sdp->sd_args.ar_quota == GFS2_QUOTA_OFF) in gfs2_quota_lock_check()
56 if (sdp->sd_args.ar_quota != GFS2_QUOTA_ON) in gfs2_quota_lock_check()
Dsuper.c498 if (sdp->sd_args.ar_spectator) { in gfs2_statfs_init()
547 if (sdp->sd_args.ar_statfs_percent) { in gfs2_statfs_change()
549 y = m_sc->sc_free * sdp->sd_args.ar_statfs_percent; in gfs2_statfs_change()
923 if (!sdp->sd_args.ar_spectator) { in gfs2_put_super()
1241 struct gfs2_args args = sdp->sd_args; /* Default to current settings */ in gfs2_remount_fs()
1260 if (strcmp(args.ar_lockproto, sdp->sd_args.ar_lockproto) || in gfs2_remount_fs()
1261 strcmp(args.ar_locktable, sdp->sd_args.ar_locktable) || in gfs2_remount_fs()
1262 strcmp(args.ar_hostdata, sdp->sd_args.ar_hostdata)) in gfs2_remount_fs()
1266 if (args_neq(&args, &sdp->sd_args, spectator) || in gfs2_remount_fs()
1267 args_neq(&args, &sdp->sd_args, localflocks) || in gfs2_remount_fs()
[all …]
Dsys.c405 if (sdp->sd_args.ar_spectator) in lkfirst_store()
439 if (sdp->sd_jdesc->jd_jid == jid && !sdp->sd_args.ar_spectator) in gfs2_recover_set()
443 if (jd->jd_jid != jid && !sdp->sd_args.ar_spectator) in gfs2_recover_set()
508 if (sdp->sd_args.ar_spectator && jid > 0) in jid_store()
656 sprintf(spectator, "SPECTATOR=%d", sdp->sd_args.ar_spectator ? 1 : 0); in gfs2_sys_fs_add()
Dquota.c540 if (sdp->sd_args.ar_quota == GFS2_QUOTA_OFF) in gfs2_qa_alloc()
569 if (sdp->sd_args.ar_quota == GFS2_QUOTA_OFF) in gfs2_quota_hold()
1046 if (sdp->sd_args.ar_quota != GFS2_QUOTA_ON) in gfs2_quota_lock()
1204 if (sdp->sd_args.ar_quota != GFS2_QUOTA_ON) in gfs2_quota_check()
1258 if (sdp->sd_args.ar_quota != GFS2_QUOTA_ON || in gfs2_quota_change()
1588 switch (sdp->sd_args.ar_quota) { in gfs2_quota_get_state()
1624 if (sdp->sd_args.ar_quota == GFS2_QUOTA_OFF) in gfs2_get_dqblk()
1665 if (sdp->sd_args.ar_quota == GFS2_QUOTA_OFF) in gfs2_set_dqblk()
Drgrp.c1209 else if (sdp->sd_args.ar_rgrplvb) { in gfs2_rgrp_bh_get()
1259 if (gh->gh_flags & GL_SKIP && sdp->sd_args.ar_rgrplvb) in gfs2_rgrp_go_lock()
1361 if (sdp->sd_args.ar_discard) in gfs2_rgrp_send_discards()
1363 sdp->sd_args.ar_discard = 0; in gfs2_rgrp_send_discards()
2039 if (sdp->sd_args.ar_rgrplvb) in gfs2_inplace_reserve()
2081 if (sdp->sd_args.ar_rgrplvb) { in gfs2_inplace_reserve()
2096 if (sdp->sd_args.ar_rgrplvb) in gfs2_inplace_reserve()
Drecovery.c420 if (sdp->sd_args.ar_spectator) in gfs2_recover_func()
Dlock_dlm.c830 if (sdp->sd_args.ar_spectator) in control_mount()
908 if (sdp->sd_args.ar_spectator) { in control_mount()
Dincore.h722 struct gfs2_args sd_args; /* Mount arguments */ member
Dlops.c81 if (sdp->sd_args.ar_discard) in maybe_release_space()
Ddir.c1351 if (!sdp->sd_args.ar_loccookie) in gfs2_set_cookies()
1400 if (*depth < GFS2_DIR_MAX_DEPTH || !sdp->sd_args.ar_loccookie) { in gfs2_dir_read_leaf()
Dinode.c356 if (GFS2_SB(&dip->i_inode)->sd_args.ar_suiddir && in munge_mode_uid_gid()
Dbmap.c2125 (sdp->sd_args.ar_quota == GFS2_QUOTA_OFF ? in do_grow()