Home
last modified time | relevance | path

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

12345678910

/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_ag.c45 struct xfs_mount *mp, in xfs_initialize_perag_data()
125 struct xfs_mount *mp, in xfs_free_perag_range()
139 struct xfs_mount *mp, in __xfs_ag_block_count()
153 struct xfs_mount *mp, in xfs_ag_block_count()
163 struct xfs_mount *mp, in __xfs_agino_range()
187 struct xfs_mount *mp, in xfs_agino_range()
201 struct xfs_mount *mp, in xfs_update_last_ag_size()
219 struct xfs_mount *mp, in xfs_perag_alloc()
266 struct xfs_mount *mp, in xfs_initialize_perag()
295 struct xfs_mount *mp, in xfs_get_aghdr_buf()
[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_rtbitmap.c37 struct xfs_mount *mp = bp->b_mount; in xfs_rtbuf_verify() local
57 struct xfs_mount *mp = bp->b_mount; in xfs_rtbuf_verify_read() local
87 struct xfs_mount *mp = bp->b_mount; in xfs_rtbuf_verify_write() local
156 struct xfs_mount *mp = args->mp; in xfs_rtbuf_get() local
236 struct xfs_mount *mp = args->mp; in xfs_rtbitmap_read_buf() local
251 struct xfs_mount *mp = args->mp; in xfs_rtsummary_read_buf() local
270 struct xfs_mount *mp = args->mp; in xfs_rtfind_back() local
424 struct xfs_mount *mp = args->mp; in xfs_rtfind_forw() local
592 struct xfs_mount *mp = args->mp; in xfs_rtmodify_summary() local
628 struct xfs_mount *mp = args->mp; in xfs_rtget_summary() local
[all …]
H A Dxfs_bmap_btree.h19 #define XFS_BM_MAXLEVELS(mp,w) ((mp)->m_bm_maxlevels[(w)]) argument
65 xfs_bmbt_block_len(struct xfs_mount *mp) in xfs_bmbt_block_len()
75 struct xfs_mount *mp, in xfs_bmbt_rec_addr()
86 struct xfs_mount *mp, in xfs_bmbt_key_addr()
97 struct xfs_mount *mp, in xfs_bmbt_ptr_addr()
150 struct xfs_mount *mp, in xfs_bmap_broot_ptr_addr()
164 struct xfs_mount *mp, in xfs_bmap_broot_space_calc()
177 struct xfs_mount *mp, in xfs_bmap_broot_space()
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_dir2_sf.c42 struct xfs_mount *mp, in xfs_dir2_sf_entsize()
58 struct xfs_mount *mp, in xfs_dir2_sf_nextentry()
73 struct xfs_mount *mp, in xfs_dir2_sf_get_ino()
89 struct xfs_mount *mp, in xfs_dir2_sf_put_ino()
135 struct xfs_mount *mp, in xfs_dir2_sf_get_ftype()
150 struct xfs_mount *mp, in xfs_dir2_sf_put_ftype()
181 xfs_mount_t *mp; /* mount structure pointer */ in xfs_dir2_block_sfsize() local
264 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_block_to_sf() local
462 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_addname_easy() local
510 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_addname_hard() local
[all …]
H A Dxfs_rtgroup.c42 struct xfs_mount *mp, in xfs_rtgroup_min_block()
54 struct xfs_mount *mp, in __xfs_rtgroup_extents()
69 struct xfs_mount *mp, in xfs_rtgroup_extents()
79 struct xfs_mount *mp, in xfs_rtgroup_calc_geometry()
93 struct xfs_mount *mp, in xfs_rtgroup_alloc()
119 struct xfs_mount *mp, in xfs_rtgroup_free()
128 struct xfs_mount *mp, in xfs_free_rtgroups()
141 struct xfs_mount *mp, in xfs_initialize_rtgroups()
171 struct xfs_mount *mp, in xfs_update_last_rtgroup_size()
446 struct xfs_mount *mp = tp->t_mountp; in xfs_rtginode_load() local
[all …]
H A Dxfs_group.c33 struct xfs_mount *mp, in xfs_group_get()
74 struct xfs_mount *mp, in xfs_group_grab()
100 struct xfs_mount *mp, in xfs_group_next_range()
122 struct xfs_mount *mp, in xfs_group_grab_next_mark()
155 struct xfs_mount *mp, in xfs_group_free()
182 struct xfs_mount *mp, in xfs_group_insert()
225 struct xfs_mount *mp, in xfs_group_get_by_fsb()
/linux/fs/xfs/
H A Dxfs_mount.c65 struct xfs_mount *mp) in xfs_uuid_mount()
110 struct xfs_mount *mp) in xfs_uuid_unmount()
160 struct xfs_mount *mp, in xfs_readsb()
268 struct xfs_mount *mp, in xfs_check_new_dalign()
304 struct xfs_mount *mp) in xfs_validate_new_dalign()
353 struct xfs_mount *mp) in xfs_update_alignment()
385 struct xfs_mount *mp) in xfs_set_low_space_thresholds()
405 struct xfs_mount *mp) in xfs_check_sizes()
449 struct xfs_mount *mp) in xfs_mount_reset_sbqflags()
474 struct xfs_mount *mp, in xfs_default_resblks()
[all …]
H A Dxfs_super.c76 struct xfs_mount *mp, in xfs_mount_set_dax_mode()
202 struct xfs_mount *mp = XFS_M(root->d_sb); in xfs_fs_show_options() local
303 struct xfs_mount *mp, in xfs_set_inode_alloc()
359 struct xfs_mount *mp) in xfs_setup_dax_always()
390 xfs_mount_t *mp, in xfs_blkdev_get()
411 struct xfs_mount *mp) in xfs_shutdown_devices()
463 struct xfs_mount *mp) in xfs_open_devices()
548 struct xfs_mount *mp) in xfs_setup_devices()
587 struct xfs_mount *mp) in xfs_init_mount_workqueues()
643 struct xfs_mount *mp) in xfs_destroy_mount_workqueues()
[all …]
H A Dxfs_error.h23 #define XFS_ERROR_REPORT(e, lvl, mp) \ argument
25 #define XFS_CORRUPTION_ERROR(e, lvl, mp, buf, bufsize) \ argument
41 #define XFS_TEST_ERROR(mp, tag) \ argument
44 #define XFS_ERRORTAG_DELAY(mp, tag) \ argument
59 #define xfs_errortag_init(mp) (0) argument
60 #define xfs_errortag_del(mp) argument
61 #define XFS_TEST_ERROR(mp, tag) (false) argument
62 #define XFS_ERRORTAG_DELAY(mp, tag) ((void)0) argument
63 #define xfs_errortag_add(mp, tag) (ENOSYS) argument
64 #define xfs_errortag_clearall(mp) (ENOSYS) argument
H A Dxfs_zone_alloc.c49 struct xfs_mount *mp, in xfs_zone_bucket()
82 struct xfs_mount *mp = rtg_mount(rtg); in xfs_zone_account_reclaimable() local
168 struct xfs_mount *mp = rtg_mount(rtg); in xfs_open_zone_mark_full() local
199 struct xfs_mount *mp = tp->t_mountp; in xfs_zone_record_blocks() 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
413 struct xfs_mount *mp, in xfs_find_free_zone()
470 struct xfs_mount *mp, in xfs_open_zone()
489 struct xfs_mount *mp, in xfs_try_open_zone()
659 struct xfs_mount *mp = ip->i_mount; in xfs_zoned_pack_tight() local
[all …]
H A Dxfs_fsops.c51 struct xfs_mount *mp = tp->t_mountp; in xfs_resizefs_init_new_ags() local
91 struct xfs_mount *mp, /* mount point for filesystem */ in xfs_growfs_data_private()
251 struct xfs_mount *mp, /* mount point for filesystem */ in xfs_growfs_log_private()
273 struct xfs_mount *mp, in xfs_growfs_imaxpct()
301 struct xfs_mount *mp, in xfs_growfs_data()
353 xfs_mount_t *mp, in xfs_growfs_log()
374 struct xfs_mount *mp, in xfs_reserve_blocks()
460 xfs_mount_t *mp, in xfs_fs_goingdown()
498 struct xfs_mount *mp, in xfs_do_force_shutdown()
550 struct xfs_mount *mp) in xfs_fs_reserve_ag_blocks()
[all …]
H A Dxfs_error.c51 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_store() local
73 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_show() local
115 struct xfs_mount *mp) in xfs_errortag_init()
133 struct xfs_mount *mp) in xfs_errortag_del()
154 struct xfs_mount *mp, in xfs_errortag_enabled()
167 struct xfs_mount *mp, in xfs_errortag_test()
200 struct xfs_mount *mp, in xfs_errortag_add()
213 struct xfs_mount *mp) in xfs_errortag_clearall()
224 struct xfs_mount *mp, in xfs_error_report()
242 struct xfs_mount *mp, in xfs_corruption_error()
[all …]
H A Dxfs_trans.c36 struct xfs_mount *mp) in xfs_trans_trace_reservations()
48 # define xfs_trans_trace_reservations(mp) argument
57 struct xfs_mount *mp) in xfs_trans_init()
153 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_reserve() local
215 struct xfs_mount *mp, in __xfs_trans_alloc()
237 struct xfs_mount *mp, in xfs_trans_alloc()
303 struct xfs_mount *mp) in xfs_trans_alloc_empty()
331 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_sb() local
457 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_apply_sb_deltas() local
593 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_unreserve_and_mod_sb() local
[all …]
H A Dxfs_ioctl.c81 struct xfs_mount *mp = XFS_I(file_inode(file))->i_mount; in xfs_ioc_fsbulkstat() local
173 struct xfs_mount *mp, in xfs_bulk_ireq_setup()
264 struct xfs_mount *mp = XFS_I(file_inode(file))->i_mount; in xfs_ioc_bulkstat() local
312 struct xfs_mount *mp, in xfs_ioc_inumbers()
354 struct xfs_mount *mp, in xfs_ioc_fsgeometry()
379 struct xfs_mount *mp, in xfs_ioc_ag_geometry()
409 struct xfs_mount *mp, in xfs_ioc_rtgroup_geometry()
449 struct xfs_mount *mp = ip->i_mount; in xfs_fill_fsxattr() local
528 struct xfs_mount *mp = ip->i_mount; in xfs_ioctl_setattr_xflags() local
584 struct xfs_mount *mp = ip->i_mount; in xfs_ioctl_setattr_prepare_dax() local
[all …]
H A Dxfs_rtalloc.c141 struct xfs_mount *mp = args->mp; in xfs_rtallocate_range() local
250 struct xfs_mount *mp = args->mp; in xfs_rtallocate_extent_block() local
411 struct xfs_mount *mp = args->mp; in xfs_rtallocate_extent_near() local
695 struct xfs_mount *mp) in xfs_growfs_rt_fixup_extsize()
743 const struct xfs_mount *mp, in xfs_growfs_rt_alloc_fake_mount()
779 struct xfs_mount *mp = rtg_mount(rtg); in xfs_growfs_rt_free_new() local
804 struct xfs_mount *mp = rtg_mount(rtg); in xfs_growfs_rt_nrblocks() local
828 struct xfs_mount *mp = args->mp; in xfs_growfs_rt_init_rtsb() local
866 struct xfs_mount *mp = tp->t_mountp; in xfs_growfs_rt_sb_fields() local
893 struct xfs_mount *mp = rtg_mount(rtg); in xfs_growfs_rt_zoned() local
[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/fs/jfs/
H A Djfs_metapage.c34 #define metapage_locked(mp) test_bit(META_locked, &(mp)->flag) argument
35 #define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag) argument
37 static inline void unlock_metapage(struct metapage *mp) in unlock_metapage()
43 static inline void __lock_metapage(struct metapage *mp) in __lock_metapage()
63 static inline void lock_metapage(struct metapage *mp) in lock_metapage()
81 struct metapage *mp[MPS_PER_PAGE]; member
93 static inline int insert_metapage(struct folio *folio, struct metapage *mp) in insert_metapage()
118 static inline void remove_metapage(struct folio *folio, struct metapage *mp) in remove_metapage()
162 struct metapage *mp; in __metapage_migrate_folio() local
213 static inline int insert_metapage(struct folio *folio, struct metapage *mp) in insert_metapage()
[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.c74 static struct reset_control *meson_pcie_get_reset(struct meson_pcie *mp, in meson_pcie_get_reset()
89 static int meson_pcie_get_resets(struct meson_pcie *mp) in meson_pcie_get_resets()
107 struct meson_pcie *mp) in meson_pcie_get_mems()
134 static int meson_pcie_power_on(struct meson_pcie *mp) in meson_pcie_power_on()
151 static void meson_pcie_power_off(struct meson_pcie *mp) in meson_pcie_power_off()
157 static int meson_pcie_reset(struct meson_pcie *mp) in meson_pcie_reset()
212 static int meson_pcie_probe_clocks(struct meson_pcie *mp) in meson_pcie_probe_clocks()
232 static inline u32 meson_cfg_readl(struct meson_pcie *mp, u32 reg) in meson_cfg_readl()
237 static inline void meson_cfg_writel(struct meson_pcie *mp, u32 val, u32 reg) in meson_cfg_writel()
242 static void meson_pcie_assert_reset(struct meson_pcie *mp) in meson_pcie_assert_reset()
[all …]
/linux/drivers/isdn/capi/
H A Dcapi.c147 static int capiminor_add_ack(struct capiminor *mp, u16 datahandle) in capiminor_add_ack()
165 static int capiminor_del_ack(struct capiminor *mp, u16 datahandle) in capiminor_del_ack()
183 static void capiminor_del_all_ack(struct capiminor *mp) in capiminor_del_all_ack()
199 struct capiminor *mp = container_of(port, struct capiminor, port); in capiminor_destroy() local
214 struct capiminor *mp; in capiminor_alloc() local
271 struct capiminor *mp; in capiminor_get() local
282 static inline void capiminor_put(struct capiminor *mp) in capiminor_put()
287 static void capiminor_free(struct capiminor *mp) in capiminor_free()
308 struct capiminor *mp = np->minorp; in capincci_free_minor() local
318 struct capiminor *mp = np->minorp; in capincci_minor_opencount() local
[all …]
/linux/drivers/net/ethernet/marvell/
H A Dmv643xx_eth.c419 static inline u32 rdl(struct mv643xx_eth_private *mp, int offset) in rdl()
424 static inline u32 rdlp(struct mv643xx_eth_private *mp, int offset) in rdlp()
429 static inline void wrl(struct mv643xx_eth_private *mp, int offset, u32 data) in wrl()
434 static inline void wrlp(struct mv643xx_eth_private *mp, int offset, u32 data) in wrlp()
453 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_enable() local
459 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_disable() local
469 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_reset_hw_ptr() local
479 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_enable() local
485 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_disable() local
495 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_maybe_wake() local
[all …]

12345678910