/linux/fs/xfs/libxfs/ |
H A D | xfs_trans_space.h | 14 #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 D | xfs_rtbitmap.h | 13 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 D | xfs_ag.c | 45 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 D | xfs_sb.c | 197 struct xfs_mount *mp, in xfs_validate_sb_read() 312 struct xfs_mount *mp, in xfs_validate_sb_write() 389 struct xfs_mount *mp, in xfs_validate_sb_rtgroups() 451 struct xfs_mount *mp, in xfs_validate_sb_zoned() 480 struct xfs_mount *mp, in xfs_validate_sb_common() 1080 struct xfs_mount *mp = bp->b_mount; in xfs_sb_read_verify() local 1146 struct xfs_mount *mp = bp->b_mount; in xfs_sb_write_verify() local 1193 struct xfs_mount *mp, in xfs_sb_mount_rextsize() 1220 struct xfs_mount *mp, in xfs_mount_sb_set_rextsize() 1244 struct xfs_mount *mp, in xfs_sb_mount_common() [all …]
|
H A D | xfs_rtbitmap.c | 37 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 D | xfs_bmap_btree.h | 19 #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 D | xfs_rtgroup.h | 115 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 …]
|
/linux/fs/xfs/ |
H A D | xfs_super.c | 76 struct xfs_mount *mp, in xfs_mount_set_dax_mode() 194 struct xfs_mount *mp = XFS_M(root->d_sb); in xfs_fs_show_options() local 295 struct xfs_mount *mp, in xfs_set_inode_alloc() 351 struct xfs_mount *mp) in xfs_setup_dax_always() 382 xfs_mount_t *mp, in xfs_blkdev_get() 403 struct xfs_mount *mp) in xfs_shutdown_devices() 455 struct xfs_mount *mp) in xfs_open_devices() 540 struct xfs_mount *mp) in xfs_setup_devices() 578 struct xfs_mount *mp) in xfs_init_mount_workqueues() 633 struct xfs_mount *mp) in xfs_destroy_mount_workqueues() [all …]
|
H A D | xfs_icache.c | 88 struct xfs_mount *mp, in xfs_inode_alloc() 206 struct xfs_mount *mp) in xfs_reclaim_work_queue() 225 struct xfs_mount *mp = pag_mount(pag); in xfs_blockgc_queue() local 307 struct xfs_mount *mp, in xfs_perag_grab_next_tag() 326 struct xfs_mount *mp, in xfs_reinit_inode() 363 struct xfs_mount *mp = ip->i_mount; in xfs_iget_recycle() local 470 struct xfs_mount *mp) in xfs_inodegc_queue_all() 490 struct xfs_mount *mp) in xfs_inodegc_wait_all() 520 struct xfs_mount *mp = ip->i_mount; in xfs_iget_cache_hit() local 628 struct xfs_mount *mp, in xfs_iget_cache_miss() [all …]
|
H A D | xfs_error.h | 28 #define XFS_ERROR_REPORT(e, lvl, mp) \ argument 30 #define XFS_CORRUPTION_ERROR(e, lvl, mp, buf, bufsize) \ argument 46 #define XFS_TEST_ERROR(expr, mp, tag) \ argument 49 #define XFS_ERRORTAG_DELAY(mp, tag) \ argument 67 #define xfs_errortag_init(mp) (0) argument 68 #define xfs_errortag_del(mp) argument 69 #define XFS_TEST_ERROR(expr, mp, tag) (expr) argument 70 #define XFS_ERRORTAG_DELAY(mp, tag) ((void)0) argument 71 #define xfs_errortag_set(mp, tag, val) (ENOSYS) argument 72 #define xfs_errortag_add(mp, tag) (ENOSYS) argument [all …]
|
H A D | xfs_qm.c | 55 struct xfs_mount *mp, in xfs_qm_dquot_walk() 206 struct xfs_mount *mp) in xfs_qm_dqpurge_all() 218 struct xfs_mount *mp) in xfs_qm_unmount() 228 struct xfs_mount *mp) in xfs_qm_unmount_rt() 268 xfs_mount_t *mp) in xfs_qm_unmount_quotas() 340 struct xfs_mount *mp = ip->i_mount; in xfs_qm_need_dqattach() local 365 xfs_mount_t *mp = ip->i_mount; in xfs_qm_dqattach_locked() local 585 struct xfs_mount *mp, in xfs_qm_set_defquota() 615 struct xfs_mount *mp, in xfs_qm_init_timelimits() 657 struct xfs_mount *mp, in xfs_qm_load_metadir_qinos() [all …]
|
H A D | xfs_zone_alloc.c | 41 struct xfs_mount *mp, in xfs_zone_bucket() 74 struct xfs_mount *mp = rtg_mount(rtg); in xfs_zone_account_reclaimable() local 142 struct xfs_mount *mp = rtg_mount(rtg); in xfs_open_zone_mark_full() local 174 struct xfs_mount *mp = tp->t_mountp; in xfs_zone_record_blocks() local 276 struct xfs_mount *mp = ip->i_mount; in xfs_zoned_end_io() local 331 struct xfs_mount *mp = tp->t_mountp; in xfs_zone_free_blocks() local 370 struct xfs_mount *mp = ip->i_mount; in xfs_last_used_zone() local 401 struct xfs_mount *mp, in xfs_find_free_zone() 458 struct xfs_mount *mp, in xfs_open_zone() 477 struct xfs_mount *mp, in xfs_try_open_zone() [all …]
|
H A D | xfs_error.c | 95 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_store() local 120 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_show() local 245 struct xfs_mount *mp) in xfs_errortag_init() 263 struct xfs_mount *mp) in xfs_errortag_del() 284 struct xfs_mount *mp, in xfs_errortag_enabled() 297 struct xfs_mount *mp, in xfs_errortag_test() 331 struct xfs_mount *mp, in xfs_errortag_get() 342 struct xfs_mount *mp, in xfs_errortag_set() 355 struct xfs_mount *mp, in xfs_errortag_add() 369 struct xfs_mount *mp) in xfs_errortag_clearall() [all …]
|
H A D | xfs_fsops.c | 51 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 D | xfs_qm_syscalls.c | 24 xfs_mount_t *mp, in xfs_qm_scall_quotaoff() 55 struct xfs_mount *mp, in xfs_qm_scall_trunc_qfile() 102 xfs_mount_t *mp, in xfs_qm_scall_trunc_qfiles() 137 xfs_mount_t *mp, in xfs_qm_scall_quotaon() 227 struct xfs_mount *mp, in xfs_setqlim_limits() 253 struct xfs_mount *mp, in xfs_setqlim_timer() 273 struct xfs_mount *mp, in xfs_qm_scall_setqlim() 398 struct xfs_mount *mp, in xfs_qm_scall_getquota_fill_qc() 435 struct xfs_mount *mp, in xfs_qm_scall_getquota() 480 struct xfs_mount *mp, in xfs_qm_scall_getquota_next()
|
H A D | xfs_ioctl.c | 81 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 531 struct xfs_mount *mp = ip->i_mount; in xfs_ioctl_setattr_xflags() local 587 struct xfs_mount *mp = ip->i_mount; in xfs_ioctl_setattr_prepare_dax() local [all …]
|
H A D | xfs_quotaops.c | 22 struct xfs_mount *mp, in xfs_qm_fill_state() 61 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_get_quota_state() local 121 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_set_info() local 170 struct xfs_mount *mp = XFS_M(sb); in xfs_quota_enable() local 185 struct xfs_mount *mp = XFS_M(sb); in xfs_quota_disable() local 200 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_rm_xquota() local 228 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_get_dqblk() local 246 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_get_nextdqblk() local 269 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_set_dqblk() local
|
H A D | xfs_trans.c | 36 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() 157 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_reserve() local 246 struct xfs_mount *mp, in xfs_trans_alloc() 329 struct xfs_mount *mp, in xfs_trans_alloc_empty() 360 xfs_mount_t *mp = tp->t_mountp; in xfs_trans_mod_sb() local 524 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_apply_sb_deltas() local 621 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_unreserve_and_mod_sb() local 807 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_run_precommits() local [all …]
|
/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_malloc.c | 47 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 D | jfs_metapage.c | 34 #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 D | pvrusb2-context.c | 30 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 D | pci-meson.c | 75 static struct reset_control *meson_pcie_get_reset(struct meson_pcie *mp, in meson_pcie_get_reset() 90 static int meson_pcie_get_resets(struct meson_pcie *mp) in meson_pcie_get_resets() 108 struct meson_pcie *mp) in meson_pcie_get_mems() 123 static int meson_pcie_power_on(struct meson_pcie *mp) in meson_pcie_power_on() 140 static void meson_pcie_power_off(struct meson_pcie *mp) in meson_pcie_power_off() 146 static int meson_pcie_reset(struct meson_pcie *mp) in meson_pcie_reset() 201 static int meson_pcie_probe_clocks(struct meson_pcie *mp) in meson_pcie_probe_clocks() 221 static inline u32 meson_cfg_readl(struct meson_pcie *mp, u32 reg) in meson_cfg_readl() 226 static inline void meson_cfg_writel(struct meson_pcie *mp, u32 val, u32 reg) in meson_cfg_writel() 231 static void meson_pcie_assert_reset(struct meson_pcie *mp) in meson_pcie_assert_reset() [all …]
|
/linux/drivers/isdn/capi/ |
H A D | capi.c | 147 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 324 struct capiminor *mp = np->minorp; in capincci_minor_opencount() local [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | apply.c | 131 struct mgr_priv_data *mp; in apply_init_priv() local 183 struct mgr_priv_data *mp = get_mgr_priv(ovl->manager); in ovl_manual_update() local 190 struct mgr_priv_data *mp = get_mgr_priv(mgr); in mgr_manual_update() local 203 struct mgr_priv_data *mp; in dss_check_settings_low() local 256 struct mgr_priv_data *mp; in need_isr() local 335 struct mgr_priv_data *mp; in need_go() local 361 struct mgr_priv_data *mp; in extra_info_update_ongoing() local 470 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_wait_for_go() local 541 struct mgr_priv_data *mp; in dss_mgr_wait_for_go_ovl() local 619 struct mgr_priv_data *mp; in dss_ovl_write_regs() local [all …]
|
/linux/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 419 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 …]
|