Searched refs:mp (Results 1 - 25 of 376) sorted by relevance

1234567891011>>

/linux-master/fs/xfs/libxfs/
H A Dxfs_trans_space.h14 #define XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) \
15 (((mp)->m_rmap_mxr[0]) - ((mp)->m_rmap_mnr[0]))
18 #define XFS_RMAPADD_SPACE_RES(mp) ((mp)->m_rmap_maxlevels)
28 #define XFS_NRMAPADD_SPACE_RES(mp, b)\
29 (((b + XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) - 1) / \
30 XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp)) * \
31 XFS_RMAPADD_SPACE_RES(mp))
33 #define XFS_MAX_CONTIG_EXTENTS_PER_BLOCK(mp) \
[all...]
H A Dxfs_trans_resv.c68 struct xfs_mount *mp,
73 blocks = num_ops * 2 * (2 * mp->m_alloc_maxlevels - 1);
74 if (xfs_has_rmapbt(mp))
75 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1);
87 struct xfs_mount *mp,
90 return num_ops * (2 * mp->m_refc_maxlevels - 1);
124 struct xfs_mount *mp,
130 mp->m_sb.sb_inodesize +
131 2 * XFS_BMBT_BLOCK_LEN(mp));
146 struct xfs_mount *mp)
67 xfs_allocfree_block_count( struct xfs_mount *mp, uint num_ops) argument
86 xfs_refcountbt_block_count( struct xfs_mount *mp, unsigned int num_ops) argument
123 xfs_calc_inode_res( struct xfs_mount *mp, uint ninodes) argument
145 xfs_calc_inobt_res( struct xfs_mount *mp) argument
166 xfs_calc_finobt_res( struct xfs_mount *mp) argument
191 xfs_calc_inode_chunk_res( struct xfs_mount *mp, bool alloc) argument
217 xfs_rtalloc_block_count( struct xfs_mount *mp, unsigned int num_ops) argument
258 xfs_calc_refcountbt_reservation( struct xfs_mount *mp, unsigned int nr_ops) argument
295 xfs_calc_write_reservation( struct xfs_mount *mp, bool for_minlogsize) argument
347 xfs_calc_write_reservation_minlogsize( struct xfs_mount *mp) argument
375 xfs_calc_itruncate_reservation( struct xfs_mount *mp, bool for_minlogsize) argument
419 xfs_calc_itruncate_reservation_minlogsize( struct xfs_mount *mp) argument
438 xfs_calc_rename_reservation( struct xfs_mount *mp) argument
457 xfs_calc_iunlink_remove_reservation( struct xfs_mount *mp) argument
477 xfs_calc_link_reservation( struct xfs_mount *mp) argument
496 xfs_calc_iunlink_add_reservation(xfs_mount_t *mp) argument
515 xfs_calc_remove_reservation( struct xfs_mount *mp) argument
545 xfs_calc_create_resv_modify( struct xfs_mount *mp) argument
564 xfs_calc_icreate_resv_alloc( struct xfs_mount *mp) argument
575 xfs_calc_icreate_reservation(xfs_mount_t *mp) argument
583 xfs_calc_create_tmpfile_reservation( struct xfs_mount *mp) argument
596 xfs_calc_mkdir_reservation( struct xfs_mount *mp) argument
609 xfs_calc_symlink_reservation( struct xfs_mount *mp) argument
632 xfs_calc_ifree_reservation( struct xfs_mount *mp) argument
649 xfs_calc_ichange_reservation( struct xfs_mount *mp) argument
665 xfs_calc_growdata_reservation( struct xfs_mount *mp) argument
684 xfs_calc_growrtalloc_reservation( struct xfs_mount *mp) argument
701 xfs_calc_growrtzero_reservation( struct xfs_mount *mp) argument
718 xfs_calc_growrtfree_reservation( struct xfs_mount *mp) argument
732 xfs_calc_swrite_reservation( struct xfs_mount *mp) argument
743 xfs_calc_writeid_reservation( struct xfs_mount *mp) argument
758 xfs_calc_addafork_reservation( struct xfs_mount *mp) argument
783 xfs_calc_attrinval_reservation( struct xfs_mount *mp) argument
806 xfs_calc_attrsetm_reservation( struct xfs_mount *mp) argument
826 xfs_calc_attrsetrt_reservation( struct xfs_mount *mp) argument
846 xfs_calc_attrrm_reservation( struct xfs_mount *mp) argument
865 xfs_calc_clear_agi_bucket_reservation( struct xfs_mount *mp) argument
887 xfs_calc_qm_dqalloc_reservation( struct xfs_mount *mp, bool for_minlogsize) argument
897 xfs_calc_qm_dqalloc_reservation_minlogsize( struct xfs_mount *mp) argument
908 xfs_calc_sb_reservation( struct xfs_mount *mp) argument
915 xfs_trans_resv_calc( struct xfs_mount *mp, struct xfs_trans_resv *resp) argument
[all...]
H A Dxfs_log_rlimit.c25 struct xfs_mount *mp)
30 size = xfs_attr_leaf_entsize_local_max(mp->m_attr_geo->blksize) -
32 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK);
33 nblks += XFS_B_TO_FSB(mp, size);
34 nblks += XFS_NEXTENTADD_SPACE_RES(mp, size, XFS_ATTR_FORK);
36 return M_RES(mp)->tr_attrsetm.tr_logres +
37 M_RES(mp)->tr_attrsetrt.tr_logres * nblks;
46 struct xfs_mount *mp,
49 unsigned int rmap_maxlevels = mp->m_rmap_maxlevels;
59 if (xfs_has_rmapbt(mp)
24 xfs_log_calc_max_attrsetm_res( struct xfs_mount *mp) argument
45 xfs_log_calc_trans_resv_for_minlogblocks( struct xfs_mount *mp, struct xfs_trans_resv *resv) argument
105 xfs_log_get_max_trans_res( struct xfs_mount *mp, struct xfs_trans_res *max_resp) argument
148 xfs_log_calc_minimum_size( struct xfs_mount *mp) argument
[all...]
H A Dxfs_types.c23 struct xfs_mount *mp,
29 eoag = xfs_ag_block_count(mp, agno);
32 if (agbno <= XFS_AGFL_BLOCK(mp))
43 struct xfs_mount *mp,
46 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, fsbno);
48 if (agno >= mp->m_sb.sb_agcount)
50 return xfs_verify_agno_agbno(mp, agno, XFS_FSB_TO_AGBNO(mp, fsbno));
59 struct xfs_mount *mp,
66 if (!xfs_verify_fsbno(mp, fsbn
22 xfs_verify_agno_agbno( struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t agbno) argument
42 xfs_verify_fsbno( struct xfs_mount *mp, xfs_fsblock_t fsbno) argument
58 xfs_verify_fsbext( struct xfs_mount *mp, xfs_fsblock_t fsbno, xfs_fsblock_t len) argument
81 xfs_verify_agno_agino( struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agino_t agino) argument
98 xfs_verify_ino( struct xfs_mount *mp, xfs_ino_t ino) argument
114 xfs_internal_inum( struct xfs_mount *mp, xfs_ino_t ino) argument
128 xfs_verify_dir_ino( struct xfs_mount *mp, xfs_ino_t ino) argument
142 xfs_verify_rtbno( struct xfs_mount *mp, xfs_rtblock_t rtbno) argument
151 xfs_verify_rtbext( struct xfs_mount *mp, xfs_rtblock_t rtbno, xfs_filblks_t len) argument
167 xfs_icount_range( struct xfs_mount *mp, unsigned long long *min, unsigned long long *max) argument
186 xfs_verify_icount( struct xfs_mount *mp, unsigned long long icount) argument
198 xfs_verify_dablk( struct xfs_mount *mp, xfs_fileoff_t dabno) argument
209 xfs_verify_fileoff( struct xfs_mount *mp, xfs_fileoff_t off) argument
218 xfs_verify_fileext( struct xfs_mount *mp, xfs_fileoff_t off, xfs_fileoff_t len) argument
[all...]
H A Dxfs_trans_resv.h54 #define M_RES(mp) (&(mp)->m_resv)
63 #define XFS_DIROP_LOG_RES(mp) \
64 (XFS_FSB_TO_B(mp, XFS_DAENTER_BLOCKS(mp, XFS_DATA_FORK)) + \
65 (XFS_FSB_TO_B(mp, XFS_DAENTER_BMAPS(mp, XFS_DATA_FORK) + 1)))
66 #define XFS_DIROP_LOG_COUNT(mp) \
67 (XFS_DAENTER_BLOCKS(mp, XFS_DATA_FORK) + \
68 XFS_DAENTER_BMAPS(mp, XFS_DATA_FOR
[all...]
H A Dxfs_quota_defs.h59 #define XFS_DQUOT_LOGRES(mp) \
62 #define XFS_IS_QUOTA_ON(mp) ((mp)->m_qflags & XFS_ALL_QUOTA_ACCT)
63 #define XFS_IS_UQUOTA_ON(mp) ((mp)->m_qflags & XFS_UQUOTA_ACCT)
64 #define XFS_IS_PQUOTA_ON(mp) ((mp)->m_qflags & XFS_PQUOTA_ACCT)
65 #define XFS_IS_GQUOTA_ON(mp) ((mp)->m_qflags & XFS_GQUOTA_ACCT)
66 #define XFS_IS_UQUOTA_ENFORCED(mp) ((m
[all...]
H A Dxfs_rtbitmap.h10 struct xfs_mount *mp; member in struct:xfs_rtalloc_args
22 struct xfs_mount *mp,
25 if (mp->m_rtxblklog >= 0)
26 return rtx << mp->m_rtxblklog;
28 return rtx * mp->m_sb.sb_rextsize;
33 struct xfs_mount *mp,
36 if (mp->m_rtxblklog >= 0)
37 return rtxlen << mp->m_rtxblklog;
39 return rtxlen * mp->m_sb.sb_rextsize;
45 struct xfs_mount *mp,
21 xfs_rtx_to_rtb( struct xfs_mount *mp, xfs_rtxnum_t rtx) argument
32 xfs_rtxlen_to_extlen( struct xfs_mount *mp, xfs_rtxlen_t rtxlen) argument
44 xfs_extlen_to_rtxmod( struct xfs_mount *mp, xfs_extlen_t len) argument
55 xfs_extlen_to_rtxlen( struct xfs_mount *mp, xfs_extlen_t len) argument
67 xfs_rtb_to_rtx( struct xfs_mount *mp, xfs_rtblock_t rtbno) argument
79 xfs_rtb_to_rtxoff( struct xfs_mount *mp, xfs_rtblock_t rtbno) argument
94 xfs_rtb_to_rtxrem( struct xfs_mount *mp, xfs_rtblock_t rtbno, xfs_extlen_t *off) argument
112 xfs_rtb_to_rtxup( struct xfs_mount *mp, xfs_rtblock_t rtbno) argument
129 xfs_rtb_roundup_rtx( struct xfs_mount *mp, xfs_rtblock_t rtbno) argument
138 xfs_rtb_rounddown_rtx( struct xfs_mount *mp, xfs_rtblock_t rtbno) argument
147 xfs_rtx_to_rbmblock( struct xfs_mount *mp, xfs_rtxnum_t rtx) argument
156 xfs_rtx_to_rbmword( struct xfs_mount *mp, xfs_rtxnum_t rtx) argument
165 xfs_rbmblock_to_rtx( struct xfs_mount *mp, xfs_fileoff_t rbmoff) argument
211 xfs_rtsumoffs( struct xfs_mount *mp, int log2_len, xfs_fileoff_t rbmoff) argument
224 xfs_rtsumoffs_to_block( struct xfs_mount *mp, xfs_rtsumoff_t rsumoff) argument
236 xfs_rtsumoffs_to_infoword( struct xfs_mount *mp, xfs_rtsumoff_t rsumoff) argument
373 xfs_rtbitmap_blockcount(struct xfs_mount *mp, xfs_rtbxlen_t rtextents) argument
[all...]
/linux-master/fs/xfs/
H A Dxfs_fsops.h9 int xfs_growfs_data(struct xfs_mount *mp, struct xfs_growfs_data *in);
10 int xfs_growfs_log(struct xfs_mount *mp, struct xfs_growfs_log *in);
11 int xfs_reserve_blocks(struct xfs_mount *mp, uint64_t request);
12 int xfs_fs_goingdown(struct xfs_mount *mp, uint32_t inflags);
14 int xfs_fs_reserve_ag_blocks(struct xfs_mount *mp);
15 int xfs_fs_unreserve_ag_blocks(struct xfs_mount *mp);
H A Dxfs_rtalloc.h20 struct xfs_mount *mp); /* file system mount structure */
23 struct xfs_mount *mp);
31 struct xfs_mount *mp); /* file system mount structure */
38 struct xfs_mount *mp, /* file system mount structure */
41 int xfs_rtalloc_reinit_frextents(struct xfs_mount *mp);
43 # define xfs_growfs_rt(mp,in) (-ENOSYS)
47 xfs_mount_t *mp) /* file system mount structure */
49 if (mp->m_sb.sb_rblocks == 0)
52 xfs_warn(mp, "Not built with CONFIG_XFS_RT");
55 # define xfs_rtmount_inodes(m) (((mp)
46 xfs_rtmount_init( xfs_mount_t *mp) argument
[all...]
H A Dxfs_mount.c59 struct xfs_mount *mp)
61 uuid_t *uuid = &mp->m_sb.sb_uuid;
65 super_set_uuid(mp->m_super, uuid->b, sizeof(*uuid));
67 if (xfs_has_nouuid(mp))
71 xfs_warn(mp, "Filesystem has null UUID - can't mount");
98 xfs_warn(mp, "Filesystem has duplicate UUID %pU - can't mount", uuid);
104 struct xfs_mount *mp)
106 uuid_t *uuid = &mp->m_sb.sb_uuid;
109 if (xfs_has_nouuid(mp))
150 struct xfs_mount *mp,
58 xfs_uuid_mount( struct xfs_mount *mp) argument
103 xfs_uuid_unmount( struct xfs_mount *mp) argument
149 xfs_readsb( struct xfs_mount *mp, int flags) argument
252 xfs_check_new_dalign( struct xfs_mount *mp, int new_dalign, bool *update_sb) argument
288 xfs_validate_new_dalign( struct xfs_mount *mp) argument
337 xfs_update_alignment( struct xfs_mount *mp) argument
369 xfs_set_low_space_thresholds( struct xfs_mount *mp) argument
389 xfs_check_sizes( struct xfs_mount *mp) argument
433 xfs_mount_reset_sbqflags( struct xfs_mount *mp) argument
452 xfs_default_resblks(xfs_mount_t *mp) argument
471 xfs_check_summary_counts( struct xfs_mount *mp) argument
543 xfs_unmount_check( struct xfs_mount *mp) argument
583 xfs_unmount_flush_inodes( struct xfs_mount *mp) argument
600 xfs_mount_setup_inode_geom( struct xfs_mount *mp) argument
613 xfs_agbtree_compute_maxlevels( struct xfs_mount *mp) argument
634 xfs_mountfs( struct xfs_mount *mp) argument
1053 xfs_unmountfs( struct xfs_mount *mp) argument
1122 xfs_fs_writable( struct xfs_mount *mp, int level) argument
1136 xfs_mod_freecounter( struct xfs_mount *mp, struct percpu_counter *counter, int64_t delta, bool rsvd) argument
1239 xfs_freesb( struct xfs_mount *mp) argument
1254 xfs_dev_is_read_only( struct xfs_mount *mp, char *message) argument
1270 xfs_force_summary_recalc( struct xfs_mount *mp) argument
1284 xfs_add_incompat_log_feature( struct xfs_mount *mp, uint32_t feature) argument
1359 xfs_clear_incompat_log_features( struct xfs_mount *mp) argument
1401 xfs_mod_delalloc( struct xfs_mount *mp, int64_t delta) argument
[all...]
H A Dxfs_error.h11 extern void xfs_error_report(const char *tag, int level, struct xfs_mount *mp,
15 struct xfs_mount *mp, const void *buf, size_t bufsize,
28 #define XFS_ERROR_REPORT(e, lvl, mp) \
29 xfs_error_report(e, lvl, mp, __FILE__, __LINE__, __return_address)
30 #define XFS_CORRUPTION_ERROR(e, lvl, mp, buf, bufsize) \
31 xfs_corruption_error(e, lvl, mp, buf, bufsize, \
42 extern int xfs_errortag_init(struct xfs_mount *mp);
43 extern void xfs_errortag_del(struct xfs_mount *mp);
44 extern bool xfs_errortag_test(struct xfs_mount *mp, const char *expression,
46 #define XFS_TEST_ERROR(expr, mp, ta
[all...]
H A Dxfs_qm_bhv.c61 struct xfs_mount *mp = ip->i_mount; local
64 if (!xfs_qm_dqget(mp, ip->i_projid, XFS_DQTYPE_PROJ, false, &dqp)) {
72 xfs_mount_t *mp,
79 quotaondisk = xfs_has_quota(mp) &&
80 (mp->m_sb.sb_qflags & XFS_ALL_QUOTA_ACCT);
83 uquotaondisk = mp->m_sb.sb_qflags & XFS_UQUOTA_ACCT;
84 pquotaondisk = mp->m_sb.sb_qflags & XFS_PQUOTA_ACCT;
85 gquotaondisk = mp->m_sb.sb_qflags & XFS_GQUOTA_ACCT;
95 if (((uquotaondisk && !XFS_IS_UQUOTA_ON(mp)) ||
96 (!uquotaondisk && XFS_IS_UQUOTA_ON(mp)) ||
71 xfs_qm_newmount( xfs_mount_t *mp, uint *needquotamount, uint *quotaflags) argument
[all...]
H A Dxfs_super.c69 struct xfs_mount *mp,
74 mp->m_features &= ~(XFS_FEAT_DAX_ALWAYS | XFS_FEAT_DAX_NEVER);
77 mp->m_features |= XFS_FEAT_DAX_ALWAYS;
78 mp->m_features &= ~XFS_FEAT_DAX_NEVER;
81 mp->m_features |= XFS_FEAT_DAX_NEVER;
82 mp->m_features &= ~XFS_FEAT_DAX_ALWAYS;
181 struct xfs_mount *mp = XFS_M(root->d_sb); local
185 if (mp->m_features & xfs_infop->flag)
189 seq_printf(m, ",inode%d", xfs_has_small_inums(mp) ? 32 : 64);
191 if (xfs_has_allocsize(mp))
68 xfs_mount_set_dax_mode( struct xfs_mount *mp, enum xfs_dax_mode mode) argument
275 xfs_set_inode_alloc( struct xfs_mount *mp, xfs_agnumber_t agcount) argument
331 xfs_setup_dax_always( struct xfs_mount *mp) argument
362 xfs_blkdev_get( xfs_mount_t *mp, const char *name, struct file **bdev_filep) argument
382 xfs_shutdown_devices( struct xfs_mount *mp) argument
434 xfs_open_devices( struct xfs_mount *mp) argument
511 xfs_setup_devices( struct xfs_mount *mp) argument
541 xfs_init_mount_workqueues( struct xfs_mount *mp) argument
596 xfs_destroy_mount_workqueues( struct xfs_mount *mp) argument
611 struct xfs_mount *mp = container_of(work, struct xfs_mount, local
628 xfs_flush_inodes( struct xfs_mount *mp) argument
675 struct xfs_mount *mp = ip->i_mount; local
749 xfs_mount_free( struct xfs_mount *mp) argument
770 struct xfs_mount *mp = XFS_M(sb); local
821 struct xfs_mount *mp = XFS_M(dentry->d_sb); local
893 xfs_save_resvblks(struct xfs_mount *mp) argument
900 xfs_restore_resvblks(struct xfs_mount *mp) argument
923 struct xfs_mount *mp = XFS_M(sb); local
956 struct xfs_mount *mp = XFS_M(sb); local
980 xfs_finish_flags( struct xfs_mount *mp) argument
1033 xfs_init_percpu_counters( struct xfs_mount *mp) argument
1072 xfs_reinit_percpu_counters( struct xfs_mount *mp) argument
1082 xfs_destroy_percpu_counters( struct xfs_mount *mp) argument
1095 xfs_inodegc_init_percpu( struct xfs_mount *mp) argument
1118 xfs_inodegc_free_percpu( struct xfs_mount *mp) argument
1130 struct xfs_mount *mp = XFS_M(sb); local
1397 xfs_fs_validate_params( struct xfs_mount *mp) argument
1491 struct xfs_mount *mp = sb->s_fs_info; local
1779 xfs_remount_rw( struct xfs_mount *mp) argument
1835 xfs_remount_ro( struct xfs_mount *mp) argument
1913 struct xfs_mount *mp = XFS_M(fc->root->d_sb); local
1959 struct xfs_mount *mp = fc->s_fs_info; local
1986 struct xfs_mount *mp; local
[all...]
H A Dxfs_fsops.c47 struct xfs_mount *mp = tp->t_mountp; local
48 xfs_rfsblock_t nb = mp->m_sb.sb_dblocks + delta;
60 (xfs_rfsblock_t)mp->m_sb.sb_agblocks);
62 id->agsize = mp->m_sb.sb_agblocks;
64 error = xfs_ag_init_headers(mp, id);
87 struct xfs_mount *mp, /* mount point for filesystem */
103 error = xfs_sb_validate_fsb_count(&mp->m_sb, nb);
107 if (nb > mp->m_sb.sb_dblocks) {
108 error = xfs_buf_read_uncached(mp->m_ddev_targp,
109 XFS_FSB_TO_BB(mp, n
86 xfs_growfs_data_private( struct xfs_mount *mp, struct xfs_growfs_data *in) argument
241 xfs_growfs_log_private( struct xfs_mount *mp, struct xfs_growfs_log *in) argument
263 xfs_growfs_imaxpct( struct xfs_mount *mp, __u32 imaxpct) argument
291 xfs_growfs_data( struct xfs_mount *mp, struct xfs_growfs_data *in) argument
338 xfs_growfs_log( xfs_mount_t *mp, struct xfs_growfs_log *in) argument
359 xfs_reserve_blocks( struct xfs_mount *mp, uint64_t request) argument
442 xfs_fs_goingdown( xfs_mount_t *mp, uint32_t inflags) argument
480 xfs_do_force_shutdown( struct xfs_mount *mp, uint32_t flags, char *fname, int lnnum) argument
532 xfs_fs_reserve_ag_blocks( struct xfs_mount *mp) argument
560 xfs_fs_unreserve_ag_blocks( struct xfs_mount *mp) argument
[all...]
H A Dxfs_discard.h9 int xfs_discard_extents(struct xfs_mount *mp, struct xfs_busy_extents *busy);
10 int xfs_ioc_trim(struct xfs_mount *mp, struct fstrim_range __user *fstrim);
H A Dxfs_rtalloc.c40 struct xfs_mount *mp = args->mp; local
46 if (mp->m_rsum_cache) {
47 high = min(high, mp->m_rsum_cache[bbno] - 1);
79 if (mp->m_rsum_cache && log + 1 < mp->m_rsum_cache[bbno])
80 mp->m_rsum_cache[bbno] = log + 1;
99 for (log = oargs->mp->m_rsumlevels - 1; log >= 0; log--) {
100 for (bbno = oargs->mp->m_sb.sb_rbmblocks - 1;
132 struct xfs_mount *mp local
201 xfs_rtallocate_clamp_len( struct xfs_mount *mp, xfs_rtxnum_t startrtx, xfs_rtxlen_t rtxlen, xfs_rtxlen_t prod) argument
230 struct xfs_mount *mp = args->mp; local
399 struct xfs_mount *mp = args->mp; local
658 xfs_growfs_rt_alloc( struct xfs_mount *mp, xfs_extlen_t oblocks, xfs_extlen_t nblocks, struct xfs_inode *ip) argument
775 xfs_alloc_rsum_cache( xfs_mount_t *mp, xfs_extlen_t rbmblocks) argument
799 xfs_growfs_rt( xfs_mount_t *mp, xfs_growfs_rt_t *in) argument
1078 xfs_rtmount_init( struct xfs_mount *mp) argument
1122 xfs_rtalloc_count_frextent( struct xfs_mount *mp, struct xfs_trans *tp, const struct xfs_rtalloc_rec *rec, void *priv) argument
1139 xfs_rtalloc_reinit_frextents( struct xfs_mount *mp) argument
1199 xfs_rtmount_inodes( xfs_mount_t *mp) argument
1239 xfs_rtunmount_inodes( struct xfs_mount *mp) argument
1257 xfs_rtpick_extent( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtxlen_t len, xfs_rtxnum_t *pick) argument
1329 struct xfs_mount *mp = ap->ip->i_mount; local
[all...]
H A Dxfs_notify_failure.c36 struct xfs_mount *mp,
40 loff_t pos = XFS_FSB_TO_B(mp, rec->rm_offset);
43 pos += XFS_FSB_TO_B(mp,
50 struct xfs_mount *mp,
65 return XFS_FSB_TO_B(mp, end_cross - start_cross) >> PAGE_SHIFT;
74 struct xfs_mount *mp = cur->bc_mp; local
92 error = xfs_iget(mp, cur->bc_tp, rec->rm_owner, XFS_IGET_INCORE,
103 pgoff = xfs_failure_pgoff(mp, rec, notify);
104 pgcnt = xfs_failure_pgcnt(mp, rec, notify);
122 struct xfs_mount *mp)
35 xfs_failure_pgoff( struct xfs_mount *mp, const struct xfs_rmap_irec *rec, const struct xfs_failure_info *notify) argument
49 xfs_failure_pgcnt( struct xfs_mount *mp, const struct xfs_rmap_irec *rec, const struct xfs_failure_info *notify) argument
121 xfs_dax_notify_failure_freeze( struct xfs_mount *mp) argument
135 xfs_dax_notify_failure_thaw( struct xfs_mount *mp, bool kernel_frozen) argument
157 xfs_dax_notify_ddev_failure( struct xfs_mount *mp, xfs_daddr_t daddr, xfs_daddr_t bblen, int mf_flags) argument
265 struct xfs_mount *mp = dax_holder(dax_dev); local
[all...]
H A Dxfs_qm_syscalls.c24 xfs_mount_t *mp,
32 if ((mp->m_qflags & flags) == 0)
40 xfs_info(mp, "disabling of quota accounting not supported.");
42 mutex_lock(&mp->m_quotainfo->qi_quotaofflock);
43 mp->m_qflags &= ~(flags & XFS_ALL_QUOTA_ENFD);
44 spin_lock(&mp->m_sb_lock);
45 mp->m_sb.sb_qflags = mp->m_qflags;
46 spin_unlock(&mp->m_sb_lock);
47 mutex_unlock(&mp
23 xfs_qm_scall_quotaoff( xfs_mount_t *mp, uint flags) argument
54 xfs_qm_scall_trunc_qfile( struct xfs_mount *mp, xfs_ino_t ino) argument
102 xfs_qm_scall_trunc_qfiles( xfs_mount_t *mp, uint flags) argument
137 xfs_qm_scall_quotaon( xfs_mount_t *mp, uint flags) argument
227 xfs_setqlim_limits( struct xfs_mount *mp, struct xfs_dquot_res *res, struct xfs_quota_limits *qlim, xfs_qcnt_t hard, xfs_qcnt_t soft, const char *tag) argument
253 xfs_setqlim_timer( struct xfs_mount *mp, struct xfs_dquot_res *res, struct xfs_quota_limits *qlim, s64 timer) argument
273 xfs_qm_scall_setqlim( struct xfs_mount *mp, xfs_dqid_t id, xfs_dqtype_t type, struct qc_dqblk *newlim) argument
398 xfs_qm_scall_getquota_fill_qc( struct xfs_mount *mp, xfs_dqtype_t type, const struct xfs_dquot *dqp, struct qc_dqblk *dst) argument
448 xfs_qm_scall_getquota( struct xfs_mount *mp, xfs_dqid_t id, xfs_dqtype_t type, struct qc_dqblk *dst) argument
493 xfs_qm_scall_getquota_next( struct xfs_mount *mp, xfs_dqid_t *id, xfs_dqtype_t type, struct qc_dqblk *dst) argument
[all...]
H A Dxfs_message.c20 const struct xfs_mount *mp,
23 if (mp && mp->m_super) {
24 printk("%sXFS (%s): %pV\n", level, mp->m_super->s_id, vaf);
33 const struct xfs_mount *mp,
44 __xfs_printk(kern_level, mp, &vaf);
56 const struct xfs_mount *mp,
65 xfs_alert(mp, "Transforming an alert into a BUG.");
74 __xfs_printk(KERN_ALERT, mp, &vaf);
82 struct xfs_mount *mp,
18 __xfs_printk( const char *level, const struct xfs_mount *mp, struct va_format *vaf) argument
31 xfs_printk_level( const char *kern_level, const struct xfs_mount *mp, const char *fmt, ...) argument
55 _xfs_alert_tag( const struct xfs_mount *mp, uint32_t panic_tag, const char *fmt, ...) argument
81 asswarn( struct xfs_mount *mp, char *expr, char *file, int line) argument
93 assfail( struct xfs_mount *mp, char *expr, char *file, int line) argument
120 struct xfs_mount *mp = bp->b_mount; local
[all...]
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-context.c30 static void pvr2_context_set_notify(struct pvr2_context *mp, int fl) argument
35 if (!mp->notify_flag) {
37 mp->notify_prev = pvr2_context_notify_last;
38 mp->notify_next = NULL;
39 pvr2_context_notify_last = mp;
40 if (mp->notify_prev) {
41 mp->notify_prev->notify_next = mp;
43 pvr2_context_notify_first = mp;
45 mp
67 pvr2_context_destroy(struct pvr2_context *mp) argument
95 struct pvr2_context *mp = ptr; local
101 pvr2_context_check(struct pvr2_context *mp) argument
151 struct pvr2_context *mp; local
206 struct pvr2_context *mp = NULL; local
234 pvr2_context_reset_input_limits(struct pvr2_context *mp) argument
250 pvr2_context_enter(struct pvr2_context *mp) argument
256 pvr2_context_exit(struct pvr2_context *mp) argument
267 pvr2_context_disconnect(struct pvr2_context *mp) argument
276 pvr2_channel_init(struct pvr2_channel *cp,struct pvr2_context *mp) argument
304 struct pvr2_context *mp = cp->mc_head; local
[all...]
H A Dpvrusb2-sysfs.h16 void pvr2_sysfs_create(struct pvr2_context *mp);
20 static inline void pvr2_sysfs_create(struct pvr2_context *mp) { } argument
/linux-master/fs/xfs/scrub/
H A Dfscounters_repair.c50 struct xfs_mount *mp = sc->mp; local
63 trace_xrep_reset_counters(mp, fsc);
65 percpu_counter_set(&mp->m_icount, fsc->icount);
66 percpu_counter_set(&mp->m_ifree, fsc->ifree);
67 percpu_counter_set(&mp->m_fdblocks, fsc->fdblocks);
68 percpu_counter_set(&mp->m_frextents, fsc->frextents);
69 mp->m_sb.sb_frextents = fsc->frextents;
/linux-master/fs/jfs/
H A Djfs_metapage.h45 #define mark_metapage_dirty(mp) set_bit(META_dirty, &(mp)->flag)
72 static inline void write_metapage(struct metapage *mp) argument
74 set_bit(META_dirty, &mp->flag);
75 release_metapage(mp);
78 static inline void flush_metapage(struct metapage *mp) argument
80 set_bit(META_sync, &mp->flag);
81 write_metapage(mp);
84 static inline void discard_metapage(struct metapage *mp) argument
86 clear_bit(META_dirty, &mp
91 metapage_nohomeok(struct metapage *mp) argument
107 metapage_wait_for_io(struct metapage *mp) argument
116 _metapage_homeok(struct metapage *mp) argument
122 metapage_homeok(struct metapage *mp) argument
[all...]
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_malloc.c47 static void *___sym_malloc(m_pool_p mp, int size) argument
53 m_link_p h = mp->h;
93 static void ___sym_mfree(m_pool_p mp, void *ptr, int size) argument
99 m_link_p h = mp->h;
145 static void *__sym_calloc2(m_pool_p mp, int size, char *name, int uflags) argument
149 p = ___sym_malloc(mp, size);
161 #define __sym_calloc(mp, s, n) __sym_calloc2(mp, s, n, SYM_MEM_WARN)
166 static void __sym_mfree(m_pool_p mp, void *ptr, int size, char *name) argument
171 ___sym_mfree(mp, pt
180 ___mp0_get_mem_cluster(m_pool_p mp) argument
189 ___mp0_free_mem_cluster(m_pool_p mp, void *m) argument
210 ___get_dma_mem_cluster(m_pool_p mp) argument
233 ___free_dma_mem_cluster(m_pool_p mp, void *m) argument
254 m_pool_p mp; local
264 m_pool_p mp = __sym_calloc(&amp;mp0, sizeof(*mp), "MPOOL"); local
302 m_pool_p mp; local
325 m_pool_p mp; local
347 m_pool_p mp; local
[all...]
/linux-master/drivers/net/ethernet/apple/
H A Dmace.c91 static inline void mace_clean_rings(struct mace_data *mp);
112 struct mace_data *mp; local
155 mp = netdev_priv(dev);
156 mp->mdev = mdev;
160 mp->mace = ioremap(dev->base_addr, 0x1000);
161 if (mp->mace == NULL) {
173 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) |
174 in_8(&mp->mace->chipid_lo);
177 mp
278 struct mace_data *mp; local
318 struct mace_data *mp = netdev_priv(dev); local
373 struct mace_data *mp = netdev_priv(dev); local
398 struct mace_data *mp = netdev_priv(dev); local
413 mace_clean_rings(struct mace_data *mp) argument
433 struct mace_data *mp = netdev_priv(dev); local
503 struct mace_data *mp = netdev_priv(dev); local
523 struct mace_data *mp = netdev_priv(dev); local
534 struct mace_data *mp = netdev_priv(dev); local
589 struct mace_data *mp = netdev_priv(dev); local
639 mace_handle_misc_intrs(struct mace_data *mp, int intr, struct net_device *dev) argument
663 struct mace_data *mp = netdev_priv(dev); local
808 struct mace_data *mp = from_timer(mp, t, tx_timeout); local
880 struct mace_data *mp = netdev_priv(dev); local
[all...]

Completed in 601 milliseconds

1234567891011>>