Home
last modified time | relevance | path

Searched defs:mp (Results 1 – 25 of 166) sorted by relevance

1234567

/linux/fs/xfs/libxfs/
H A Dxfs_trans_space.h14 #define XFS_MAX_CONTIG_BMAPS_PER_BLOCK(mp) \ argument
18 #define XFS_MAX_CONTIG_RTRMAPS_PER_BLOCK(mp) \ argument
22 #define XFS_RTRMAPADD_SPACE_RES(mp) ((mp)->m_rtrmap_maxlevels) argument
25 #define XFS_NRTRMAPADD_SPACE_RES(mp, b) \ argument
31 #define XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) \ argument
35 #define XFS_RMAPADD_SPACE_RES(mp) ((mp)->m_rmap_maxlevels) argument
45 #define XFS_NRMAPADD_SPACE_RES(mp, b)\ argument
50 #define XFS_MAX_CONTIG_EXTENTS_PER_BLOCK(mp) \ argument
52 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument
53 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument
[all …]
H A Dxfs_rtbitmap.h13 struct xfs_mount *mp; member
28 struct xfs_mount *mp = rtg_mount(rtg); in xfs_rtx_to_rtb() local
39 struct xfs_mount *mp, in xfs_rgbno_to_rtx()
49 struct xfs_mount *mp, in xfs_rtbxlen_to_blen()
60 struct xfs_mount *mp, in xfs_rtxlen_to_extlen()
72 struct xfs_mount *mp, in xfs_extlen_to_rtxmod()
83 struct xfs_mount *mp, in xfs_extlen_to_rtxlen()
95 struct xfs_mount *mp, in xfs_blen_to_rtbxlen()
107 struct xfs_mount *mp, in xfs_blen_to_rtxoff()
119 struct xfs_mount *mp, in xfs_blen_roundup_rtx()
[all …]
H A Dxfs_sb.c195 struct xfs_mount *mp, in xfs_validate_sb_read()
325 struct xfs_mount *mp, in xfs_validate_sb_write()
402 struct xfs_mount *mp, in xfs_validate_sb_rtgroups()
464 struct xfs_mount *mp, in xfs_validate_sb_zoned()
493 struct xfs_mount *mp, in xfs_validate_sb_common()
1093 struct xfs_mount *mp = bp->b_mount; in xfs_sb_read_verify() local
1159 struct xfs_mount *mp = bp->b_mount; in xfs_sb_write_verify() local
1206 struct xfs_mount *mp, in xfs_sb_mount_rextsize()
1233 struct xfs_mount *mp, in xfs_mount_sb_set_rextsize()
1257 struct xfs_mount *mp, in xfs_sb_mount_common()
[all …]
H A Dxfs_rtgroup.h115 struct xfs_mount *mp, in xfs_rtgroup_get()
138 struct xfs_mount *mp, in xfs_rtgroup_grab()
153 struct xfs_mount *mp, in xfs_rtgroup_next_range()
164 struct xfs_mount *mp, in xfs_rtgroup_next()
206 struct xfs_mount *mp, in xfs_rtb_to_rgno()
214 struct xfs_mount *mp, in xfs_rtb_to_rgbno()
223 struct xfs_mount *mp, in xfs_rtbno_is_group_start()
235 struct xfs_mount *mp = rtg_mount(rtg); in xfs_rtx_to_rgbno() local
244 struct xfs_mount *mp, in xfs_rtb_to_daddr()
260 struct xfs_mount *mp, in xfs_daddr_to_rtb()
[all …]
H A Dxfs_dquot_buf.c41 struct xfs_mount *mp, in xfs_dquot_verify()
108 struct xfs_mount *mp, in xfs_dqblk_verify()
124 struct xfs_mount *mp, in xfs_dqblk_repair()
149 struct xfs_mount *mp, in xfs_dquot_buf_verify_crc()
184 struct xfs_mount *mp, in xfs_dquot_buf_verify()
236 struct xfs_mount *mp = bp->b_mount; in xfs_dquot_buf_verify_struct() local
245 struct xfs_mount *mp = bp->b_mount; in xfs_dquot_buf_read_verify() local
262 struct xfs_mount *mp = bp->b_mount; in xfs_dquot_buf_readahead_verify() local
278 struct xfs_mount *mp = bp->b_mount; in xfs_dquot_buf_write_verify() local
360 struct xfs_mount *mp = tp->t_mountp; in xfs_dqinode_load() local
[all …]
H A Dxfs_metafile.c89 struct xfs_mount *mp, in xfs_metafile_resv_can_cover()
116 struct xfs_mount *mp) in xfs_metafile_resv_critical()
138 struct xfs_mount *mp = ip->i_mount; in xfs_metafile_resv_alloc_space() local
196 struct xfs_mount *mp = ip->i_mount; in xfs_metafile_resv_free_space() local
234 struct xfs_mount *mp) in __xfs_metafile_resv_free()
248 struct xfs_mount *mp) in xfs_metafile_resv_free()
263 struct xfs_mount *mp) in xfs_metafile_resv_init()
H A Dxfs_ialloc_btree.h21 #define XFS_INOBT_BLOCK_LEN(mp) \ argument
30 #define XFS_INOBT_REC_ADDR(mp, block, index) \ argument
36 #define XFS_INOBT_KEY_ADDR(mp, block, index) \ argument
42 #define XFS_INOBT_PTR_ADDR(mp, block, index, maxrecs) \ argument
63 #define xfs_inobt_rec_check_count(mp, rec) 0 argument
H A Dxfs_rtrefcount_btree.c190 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_rtrefcountbt_verify() local
288 struct xfs_mount *mp, in xfs_rtrefcountbt_move_ptrs()
307 struct xfs_mount *mp = cur->bc_mp; in xfs_rtrefcountbt_broot_realloc() local
406 struct xfs_mount *mp = rtg_mount(rtg); in xfs_rtrefcountbt_init_cursor() local
472 struct xfs_mount *mp, in xfs_rtrefcountbt_maxrecs()
519 struct xfs_mount *mp) in xfs_rtrefcountbt_compute_maxlevels()
546 struct xfs_mount *mp, in xfs_rtrefcountbt_calc_size()
557 struct xfs_mount *mp, in xfs_rtrefcountbt_max_size()
573 struct xfs_mount *mp) in xfs_rtrefcountbt_calc_reserves()
591 struct xfs_mount *mp = ip->i_mount; in xfs_rtrefcountbt_from_disk() local
[all …]
H A Dxfs_alloc_btree.h22 #define XFS_ALLOC_BLOCK_LEN(mp) \ argument
31 #define XFS_ALLOC_REC_ADDR(mp, block, index) \ argument
37 #define XFS_ALLOC_KEY_ADDR(mp, block, index) \ argument
43 #define XFS_ALLOC_PTR_ADDR(mp, block, index, maxrecs) \ argument
/linux/fs/xfs/
H A Dxfs_super.c80 struct xfs_mount *mp, in xfs_mount_set_dax_mode()
207 struct xfs_mount *mp = XFS_M(root->d_sb); in xfs_fs_show_options() local
308 struct xfs_mount *mp, in xfs_set_inode_alloc()
364 struct xfs_mount *mp) in xfs_setup_dax_always()
395 xfs_mount_t *mp, in xfs_blkdev_get()
416 struct xfs_mount *mp) in xfs_shutdown_devices()
468 struct xfs_mount *mp) in xfs_open_devices()
564 struct xfs_mount *mp) in xfs_update_bdi_rahead()
581 struct xfs_mount *mp) in xfs_restore_bdi_rahead()
602 struct xfs_mount *mp) in xfs_setup_devices()
[all …]
H A Dxfs_qm.c55 struct xfs_mount *mp, in xfs_qm_dquot_walk()
204 struct xfs_mount *mp) in xfs_qm_dqpurge_all()
216 struct xfs_mount *mp) in xfs_qm_unmount()
226 struct xfs_mount *mp) in xfs_qm_unmount_rt()
266 xfs_mount_t *mp) in xfs_qm_unmount_quotas()
293 struct xfs_mount *mp = ip->i_mount; in xfs_qm_need_dqattach() local
318 xfs_mount_t *mp = ip->i_mount; in xfs_qm_dqattach_locked() local
536 struct xfs_mount *mp, in xfs_qm_set_defquota()
566 struct xfs_mount *mp, in xfs_qm_init_timelimits()
608 struct xfs_mount *mp, in xfs_qm_load_metadir_qinos()
[all …]
H A Dxfs_zone_alloc.c50 struct xfs_mount *mp, in xfs_zone_bucket()
83 struct xfs_mount *mp = rtg_mount(rtg); in xfs_zone_account_reclaimable() local
169 struct xfs_mount *mp = rtg_mount(rtg); in xfs_open_zone_mark_full() local
326 struct xfs_mount *mp = ip->i_mount; in xfs_zoned_end_io() local
381 struct xfs_mount *mp = tp->t_mountp; in xfs_zone_free_blocks() local
445 struct xfs_mount *mp, in xfs_open_zone()
476 struct xfs_mount *mp, in xfs_try_open_zone()
649 struct xfs_mount *mp = ip->i_mount; in xfs_zoned_pack_tight() local
666 struct xfs_mount *mp, in xfs_select_zone_nowait()
719 struct xfs_mount *mp, in xfs_select_zone()
[all …]
H A Dxfs_dquot.c53 struct xfs_mount *mp = dqp->q_mount; in xfs_dquot_mark_sick() local
122 struct xfs_mount *mp = dq->q_mount; in xfs_qm_adjust_dqlimits() local
154 struct xfs_mount *mp, in xfs_dquot_set_timeout()
177 struct xfs_mount *mp, in xfs_qm_adjust_res_timer()
210 struct xfs_mount *mp = dq->q_mount; in xfs_qm_adjust_dqtimers() local
232 struct xfs_mount *mp = tp->t_mountp; in xfs_qm_init_dquot_blk() local
349 struct xfs_mount *mp = dqp->q_mount; in xfs_dquot_disk_alloc() local
457 struct xfs_mount *mp, in xfs_dquot_disk_read()
522 struct xfs_mount *mp, in xfs_dquot_alloc()
704 struct xfs_mount *mp, in xfs_qm_dqread()
[all …]
H A Dxfs_rtalloc.c144 struct xfs_mount *mp = args->mp; in xfs_rtallocate_range() local
253 struct xfs_mount *mp = args->mp; in xfs_rtallocate_extent_block() local
414 struct xfs_mount *mp = args->mp; in xfs_rtallocate_extent_near() local
698 struct xfs_mount *mp) in xfs_growfs_rt_fixup_extsize()
746 const struct xfs_mount *mp, in xfs_growfs_rt_alloc_fake_mount()
782 struct xfs_mount *mp = rtg_mount(rtg); in xfs_growfs_rt_free_new() local
807 struct xfs_mount *mp = rtg_mount(rtg); in xfs_growfs_rt_nrblocks() local
831 struct xfs_mount *mp = args->mp; in xfs_growfs_rt_init_rtsb() local
869 struct xfs_mount *mp = tp->t_mountp; in xfs_growfs_rt_sb_fields() local
895 struct xfs_mount *mp = rtg_mount(rtg); in xfs_growfs_rt_zoned() local
[all …]
H A Dxfs_zone_gc.c128 struct xfs_mount *mp; member
173 struct xfs_mount *mp) in xfs_zoned_need_gc()
213 struct xfs_mount *mp) in xfs_zone_gc_data_alloc()
326 struct xfs_mount *mp, in xfs_zone_gc_query()
389 struct xfs_mount *mp, in xfs_zone_gc_iter_irec()
450 struct xfs_mount *mp, in xfs_zone_gc_pick_victim_from()
517 struct xfs_mount *mp = data->mp; in xfs_zone_gc_select_victim() local
629 struct xfs_mount *mp = data->mp; in xfs_zone_gc_alloc_blocks() local
712 struct xfs_mount *mp = data->mp; in xfs_zone_gc_start_chunk() local
856 struct xfs_mount *mp = chunk->ip->i_mount; in xfs_zone_gc_write_chunk() local
[all …]
H A Dxfs_rtalloc.h49 # define xfs_growfs_rt(mp,in) (-ENOSYS) argument
51 # define xfs_rtmount_readsb(mp) (0) argument
52 # define xfs_rtmount_freesb(mp) ((void)0) argument
55 xfs_mount_t *mp) /* file system mount structure */ in xfs_rtmount_init()
67 xfs_growfs_check_rtgeom(const struct xfs_mount *mp, in xfs_growfs_check_rtgeom()
H A Dxfs_iwalk.c54 struct xfs_mount *mp; member
98 struct xfs_mount *mp, in xfs_iwalk_ichunk_ra()
176 struct xfs_mount *mp = iwag->mp; in xfs_iwalk_ag_recs() local
262 struct xfs_mount *mp = iwag->mp; in xfs_iwalk_ag_start() local
352 struct xfs_mount *mp = iwag->mp; in xfs_iwalk_run_callbacks() local
396 struct xfs_mount *mp = iwag->mp; in xfs_iwalk_ag() local
539 struct xfs_mount *mp = iwag->mp; in xfs_iwalk_args() local
573 struct xfs_mount *mp, in xfs_iwalk()
600 struct xfs_mount *mp, in xfs_iwalk_ag_work()
636 struct xfs_mount *mp, in xfs_iwalk_threaded()
[all …]
H A Dxfs_log.c288 struct xfs_mount *mp) in xfs_log_writable()
312 struct xfs_mount *mp, in xfs_log_regrant()
367 struct xfs_mount *mp, in xfs_log_reserve()
535 xfs_mount_t *mp, in xfs_log_mount()
663 struct xfs_mount *mp) in xfs_log_mount_finish()
735 struct xfs_mount *mp) in xfs_log_mount_cancel()
862 struct xfs_mount *mp = log->l_mp; in xlog_unmount_write() local
912 struct xfs_mount *mp) in xfs_log_unmount_write()
951 struct xfs_mount *mp) in xfs_log_quiesce()
987 struct xfs_mount *mp) in xfs_log_clean()
[all …]
H A Dxfs_notify_failure.c41 struct xfs_mount *mp, in xfs_failure_pgoff()
55 struct xfs_mount *mp, in xfs_failure_pgcnt()
79 struct xfs_mount *mp = cur->bc_mp; in xfs_dax_failure_fn() local
130 struct xfs_mount *mp) in xfs_dax_notify_failure_freeze()
144 struct xfs_mount *mp, in xfs_dax_notify_failure_thaw()
205 struct xfs_mount *mp, in xfs_dax_notify_logdev_failure()
241 struct xfs_mount *mp, in xfs_dax_notify_dev_failure()
378 struct xfs_mount *mp = dax_holder(dax_dev); in xfs_dax_notify_failure() local
H A Dxfs_reflink.c137 struct xfs_mount *mp, in xfs_reflink_find_shared()
181 struct xfs_mount *mp, in xfs_reflink_find_rtshared()
233 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_trim_around_shared() local
341 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_convert_cow() local
440 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_fill_cow_hole() local
524 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_fill_delalloc() local
943 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_end_cow_extent() local
1038 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_end_atomic_cow() local
1082 struct xfs_mount *mp) in xfs_reflink_max_atomic_cow()
1103 struct xfs_mount *mp) in xfs_reflink_recover_cow()
[all …]
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_malloc.c47 static void *___sym_malloc(m_pool_p mp, int size) in ___sym_malloc()
93 static void ___sym_mfree(m_pool_p mp, void *ptr, int size) in ___sym_mfree()
145 static void *__sym_calloc2(m_pool_p mp, int size, char *name, int uflags) in __sym_calloc2()
161 #define __sym_calloc(mp, s, n) __sym_calloc2(mp, s, n, SYM_MEM_WARN) argument
166 static void __sym_mfree(m_pool_p mp, void *ptr, int size, char *name) in __sym_mfree()
180 static void *___mp0_get_mem_cluster(m_pool_p mp) in ___mp0_get_mem_cluster()
189 static void ___mp0_free_mem_cluster(m_pool_p mp, void *m) in ___mp0_free_mem_cluster()
210 static void * ___get_dma_mem_cluster(m_pool_p mp) in ___get_dma_mem_cluster()
233 static void ___free_dma_mem_cluster(m_pool_p mp, void *m) in ___free_dma_mem_cluster()
254 m_pool_p mp; in ___get_dma_pool() local
[all …]
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-context.c30 static void pvr2_context_set_notify(struct pvr2_context *mp, int fl) in pvr2_context_set_notify()
67 static void pvr2_context_destroy(struct pvr2_context *mp) in pvr2_context_destroy()
95 struct pvr2_context *mp = ptr; in pvr2_context_notify() local
101 static void pvr2_context_check(struct pvr2_context *mp) in pvr2_context_check()
151 struct pvr2_context *mp; in pvr2_context_thread_func() local
206 struct pvr2_context *mp = NULL; in pvr2_context_create() local
234 static void pvr2_context_reset_input_limits(struct pvr2_context *mp) in pvr2_context_reset_input_limits()
250 static void pvr2_context_enter(struct pvr2_context *mp) in pvr2_context_enter()
256 static void pvr2_context_exit(struct pvr2_context *mp) in pvr2_context_exit()
267 void pvr2_context_disconnect(struct pvr2_context *mp) in pvr2_context_disconnect()
[all …]
/linux/drivers/pci/controller/dwc/
H A Dpci-meson.c73 static struct reset_control *meson_pcie_get_reset(struct meson_pcie *mp, in meson_pcie_get_reset()
88 static int meson_pcie_get_resets(struct meson_pcie *mp) in meson_pcie_get_resets()
106 struct meson_pcie *mp) in meson_pcie_get_mems()
133 static int meson_pcie_power_on(struct meson_pcie *mp) in meson_pcie_power_on()
150 static void meson_pcie_power_off(struct meson_pcie *mp) in meson_pcie_power_off()
156 static int meson_pcie_reset(struct meson_pcie *mp) in meson_pcie_reset()
213 static int meson_pcie_probe_clocks(struct meson_pcie *mp) in meson_pcie_probe_clocks()
233 static inline u32 meson_cfg_readl(struct meson_pcie *mp, u32 reg) in meson_cfg_readl()
238 static inline void meson_cfg_writel(struct meson_pcie *mp, u32 val, u32 reg) in meson_cfg_writel()
243 static void meson_pcie_assert_reset(struct meson_pcie *mp) in meson_pcie_assert_reset()
[all …]
/linux/drivers/net/ethernet/apple/
H A Dmace.c112 struct mace_data *mp; in mace_probe() local
278 struct mace_data *mp; in mace_remove() local
318 struct mace_data *mp = netdev_priv(dev); in mace_reset() local
373 struct mace_data *mp = netdev_priv(dev); in __mace_set_address() local
398 struct mace_data *mp = netdev_priv(dev); in mace_set_address() local
413 static inline void mace_clean_rings(struct mace_data *mp) in mace_clean_rings()
433 struct mace_data *mp = netdev_priv(dev); in mace_open() local
503 struct mace_data *mp = netdev_priv(dev); in mace_close() local
523 struct mace_data *mp = netdev_priv(dev); in mace_set_timeout() local
534 struct mace_data *mp = netdev_priv(dev); in mace_xmit_start() local
[all …]
/linux/fs/jfs/
H A Djfs_metapage.h45 #define mark_metapage_dirty(mp) set_bit(META_dirty, &(mp)->flag) argument
72 static inline void write_metapage(struct metapage *mp) in write_metapage()
78 static inline void flush_metapage(struct metapage *mp) in flush_metapage()
84 static inline void discard_metapage(struct metapage *mp) in discard_metapage()
91 static inline void metapage_nohomeok(struct metapage *mp) in metapage_nohomeok()
107 static inline void metapage_wait_for_io(struct metapage *mp) in metapage_wait_for_io()
116 static inline void _metapage_homeok(struct metapage *mp) in _metapage_homeok()
122 static inline void metapage_homeok(struct metapage *mp) in metapage_homeok()

1234567