Home
last modified time | relevance | path

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

1234567

/linux-3.3/fs/xfs/
Dxfs_trans_space.h24 #define XFS_MAX_CONTIG_EXTENTS_PER_BLOCK(mp) \ argument
26 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument
27 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument
31 #define XFS_DAENTER_1B(mp,w) ((w) == XFS_DATA_FORK ? (mp)->m_dirblkfsbs : 1) argument
32 #define XFS_DAENTER_DBS(mp,w) \ argument
34 #define XFS_DAENTER_BLOCKS(mp,w) \ argument
36 #define XFS_DAENTER_BMAP1B(mp,w) \ argument
38 #define XFS_DAENTER_BMAPS(mp,w) \ argument
40 #define XFS_DAENTER_SPACE_RES(mp,w) \ argument
42 #define XFS_DAREMOVE_SPACE_RES(mp,w) XFS_DAENTER_BMAPS(mp,w) argument
[all …]
Dxfs_inum.h37 #define XFS_INO_OFFSET_BITS(mp) (mp)->m_sb.sb_inopblog argument
38 #define XFS_INO_AGBNO_BITS(mp) (mp)->m_sb.sb_agblklog argument
39 #define XFS_INO_AGINO_BITS(mp) (mp)->m_agino_log argument
40 #define XFS_INO_AGNO_BITS(mp) (mp)->m_agno_log argument
41 #define XFS_INO_BITS(mp) \ argument
43 #define XFS_INO_TO_AGNO(mp,i) \ argument
45 #define XFS_INO_TO_AGINO(mp,i) \ argument
47 #define XFS_INO_TO_AGBNO(mp,i) \ argument
50 #define XFS_INO_TO_OFFSET(mp,i) \ argument
52 #define XFS_INO_TO_FSB(mp,i) \ argument
[all …]
Dxfs_mount.c55 #define xfs_icsb_balance_counter(mp, a, b) do { } while (0) argument
56 #define xfs_icsb_balance_counter_locked(mp, a, b) do { } while (0) argument
124 struct xfs_mount *mp) in xfs_uuid_mount()
167 struct xfs_mount *mp) in xfs_uuid_unmount()
195 xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno) in xfs_perag_get()
216 struct xfs_mount *mp, in xfs_perag_get_tag()
262 xfs_mount_t *mp) in xfs_free_perag()
304 xfs_mount_t *mp, in xfs_mount_validate_sb()
439 xfs_mount_t *mp, in xfs_initialize_perag()
666 xfs_readsb(xfs_mount_t *mp, int flags) in xfs_readsb()
[all …]
Dxfs_trans.c86 struct xfs_mount *mp) in xfs_calc_write_reservation()
118 struct xfs_mount *mp) in xfs_calc_itruncate_reservation()
149 struct xfs_mount *mp) in xfs_calc_rename_reservation()
176 struct xfs_mount *mp) in xfs_calc_link_reservation()
204 struct xfs_mount *mp) in xfs_calc_remove_reservation()
234 struct xfs_mount *mp) in xfs_calc_symlink_reservation()
268 struct xfs_mount *mp) in xfs_calc_create_reservation()
290 struct xfs_mount *mp) in xfs_calc_mkdir_reservation()
307 struct xfs_mount *mp) in xfs_calc_ifree_reservation()
328 struct xfs_mount *mp) in xfs_calc_ichange_reservation()
[all …]
Dxfs_sync.c102 struct xfs_mount *mp, in xfs_inode_ag_walk()
195 struct xfs_mount *mp, in xfs_inode_ag_iterator()
288 struct xfs_mount *mp, in xfs_sync_data()
308 struct xfs_mount *mp, in xfs_sync_attr()
318 struct xfs_mount *mp) in xfs_sync_fsdata()
345 struct xfs_mount *mp = ip->i_mount; in xfs_log_dirty_inode() local
384 struct xfs_mount *mp) in xfs_quiesce_data()
420 struct xfs_mount *mp) in xfs_quiesce_fs()
452 struct xfs_mount *mp) in xfs_quiesce_attr()
480 struct xfs_mount *mp) in xfs_syncd_queue_sync()
[all …]
Dxfs_filestream.c41 xfs_mount_t *mp, /* mount point */ in xfs_filestreams_trace()
66 #define TRACE0(mp,t) TRACE6(mp,t,0,0,0,0,0,0) argument
67 #define TRACE1(mp,t,a0) TRACE6(mp,t,a0,0,0,0,0,0) argument
68 #define TRACE2(mp,t,a0,a1) TRACE6(mp,t,a0,a1,0,0,0,0) argument
69 #define TRACE3(mp,t,a0,a1,a2) TRACE6(mp,t,a0,a1,a2,0,0,0) argument
70 #define TRACE4(mp,t,a0,a1,a2,a3) TRACE6(mp,t,a0,a1,a2,a3,0,0) argument
71 #define TRACE5(mp,t,a0,a1,a2,a3,a4) TRACE6(mp,t,a0,a1,a2,a3,a4,0) argument
72 #define TRACE6(mp,t,a0,a1,a2,a3,a4,a5) \ argument
78 #define TRACE_AG_SCAN(mp, ag, ag2) \ argument
80 #define TRACE_AG_PICK1(mp, max_ag, maxfree) \ argument
[all …]
Dxfs_rtalloc.h38 #define XFS_BLOCKSIZE(mp) ((mp)->m_sb.sb_blocksize) argument
39 #define XFS_BLOCKMASK(mp) ((mp)->m_blockmask) argument
40 #define XFS_BLOCKWSIZE(mp) ((mp)->m_blockwsize) argument
41 #define XFS_BLOCKWMASK(mp) ((mp)->m_blockwmask) argument
46 #define XFS_SUMOFFS(mp,ls,bb) ((int)((ls) * (mp)->m_sb.sb_rbmblocks + (bb))) argument
47 #define XFS_SUMOFFSTOBLOCK(mp,s) \ argument
49 #define XFS_SUMPTR(mp,bp,so) \ argument
53 #define XFS_BITTOBLOCK(mp,bi) ((bi) >> (mp)->m_blkbit_log) argument
54 #define XFS_BLOCKTOBIT(mp,bb) ((bb) << (mp)->m_blkbit_log) argument
55 #define XFS_BITTOWORD(mp,bi) \ argument
[all …]
Dxfs_qm.c188 struct xfs_mount *mp) in xfs_qm_hold_quotafs_ref()
224 struct xfs_mount *mp) in xfs_qm_rele_quotafs_ref()
246 struct xfs_mount *mp) in xfs_qm_unmount()
266 xfs_mount_t *mp) in xfs_qm_mount_quotas()
351 xfs_mount_t *mp) in xfs_qm_unmount_quotas()
385 struct xfs_mount *mp) in xfs_qm_dqflush_all()
445 struct xfs_mount *mp) in xfs_qm_detach_gdquots()
480 struct xfs_mount *mp, in xfs_qm_dqpurge_int()
531 xfs_mount_t *mp, in xfs_qm_dqpurge_all()
673 xfs_mount_t *mp = ip->i_mount; in xfs_qm_dqattach_locked() local
[all …]
Dxfs_fsops.c52 xfs_mount_t *mp, in xfs_fs_geometry()
120 xfs_mount_t *mp, /* mount point for filesystem */ in xfs_growfs_data_private()
441 xfs_mount_t *mp, /* mount point for filesystem */ in xfs_growfs_log_private()
470 xfs_mount_t *mp, in xfs_growfs_data()
486 xfs_mount_t *mp, in xfs_growfs_log()
506 xfs_mount_t *mp, in xfs_fs_counts()
536 xfs_mount_t *mp, in xfs_reserve_blocks()
648 xfs_mount_t *mp) in xfs_fs_log_dummy()
669 xfs_mount_t *mp, in xfs_fs_goingdown()
Dxfs_qm_syscalls.c64 xfs_mount_t *mp, in xfs_qm_scall_quotaoff()
238 struct xfs_mount *mp, in xfs_qm_scall_trunc_qfile()
291 xfs_mount_t *mp, in xfs_qm_scall_trunc_qfiles()
317 xfs_mount_t *mp, in xfs_qm_scall_quotaon()
415 struct xfs_mount *mp, in xfs_qm_scall_getqstat()
484 xfs_mount_t *mp, in xfs_qm_scall_setqlim()
640 xfs_mount_t *mp, in xfs_qm_scall_getquota()
676 xfs_mount_t *mp, in xfs_qm_log_quotaoff_end()
709 xfs_mount_t *mp, in xfs_qm_log_quotaoff()
770 xfs_mount_t *mp, in xfs_qm_export_dquot()
[all …]
Dxfs_dir2_format.h194 #define XFS_DIR2_DATA_FIRSTDB(mp) \ argument
320 #define XFS_DIR2_LEAF_FIRSTDB(mp) \ argument
359 static inline int xfs_dir2_max_leaf_ents(struct xfs_mount *mp) in xfs_dir2_max_leaf_ents()
369 xfs_dir2_leaf_tail_p(struct xfs_mount *mp, struct xfs_dir2_leaf *lp) in xfs_dir2_leaf_tail_p()
389 xfs_dir2_dataptr_to_byte(struct xfs_mount *mp, xfs_dir2_dataptr_t dp) in xfs_dir2_dataptr_to_byte()
398 xfs_dir2_byte_to_dataptr(struct xfs_mount *mp, xfs_dir2_off_t by) in xfs_dir2_byte_to_dataptr()
407 xfs_dir2_byte_to_db(struct xfs_mount *mp, xfs_dir2_off_t by) in xfs_dir2_byte_to_db()
417 xfs_dir2_dataptr_to_db(struct xfs_mount *mp, xfs_dir2_dataptr_t dp) in xfs_dir2_dataptr_to_db()
426 xfs_dir2_byte_to_off(struct xfs_mount *mp, xfs_dir2_off_t by) in xfs_dir2_byte_to_off()
436 xfs_dir2_dataptr_to_off(struct xfs_mount *mp, xfs_dir2_dataptr_t dp) in xfs_dir2_dataptr_to_off()
[all …]
Dxfs_ialloc.h30 #define XFS_IALLOC_INODES(mp) (mp)->m_ialloc_inos argument
31 #define XFS_IALLOC_BLOCKS(mp) (mp)->m_ialloc_blks argument
37 #define XFS_INODE_CLUSTER_SIZE(mp) (mp)->m_inode_cluster_size argument
43 xfs_make_iptr(struct xfs_mount *mp, struct xfs_buf *b, int o) in xfs_make_iptr()
Dxfs_super.c166 struct xfs_mount *mp, in xfs_parseargs()
482 struct xfs_mount *mp, in xfs_showargs()
598 xfs_mount_t *mp, in xfs_blkdev_get()
631 struct xfs_mount *mp) in xfs_close_devices()
658 struct xfs_mount *mp) in xfs_open_devices()
732 struct xfs_mount *mp) in xfs_setup_devices()
860 struct xfs_mount *mp = ip->i_mount; in xfs_fs_write_inode() local
959 struct xfs_mount *mp) in xfs_free_fsname()
970 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_put_super() local
996 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_sync_fs() local
[all …]
Dxfs_alloc_btree.h71 #define XFS_BNO_BLOCK(mp) ((xfs_agblock_t)(XFS_AGFL_BLOCK(mp) + 1)) argument
72 #define XFS_CNT_BLOCK(mp) ((xfs_agblock_t)(XFS_BNO_BLOCK(mp) + 1)) argument
79 #define XFS_ALLOC_BLOCK_LEN(mp) XFS_BTREE_SBLOCK_LEN argument
86 #define XFS_ALLOC_REC_ADDR(mp, block, index) \ argument
92 #define XFS_ALLOC_KEY_ADDR(mp, block, index) \ argument
98 #define XFS_ALLOC_PTR_ADDR(mp, block, index, maxrecs) \ argument
Dxfs_dquot.c87 xfs_mount_t *mp, in xfs_qm_adjust_dqlimits()
123 xfs_mount_t *mp, in xfs_qm_adjust_dqtimers()
216 xfs_mount_t *mp, in xfs_qm_init_dquot_blk()
259 xfs_mount_t *mp, in xfs_qm_dqalloc()
379 xfs_mount_t *mp = dqp->q_mount; in xfs_qm_dqtobp() local
481 struct xfs_mount *mp, in xfs_qm_dqread()
613 xfs_mount_t *mp, in xfs_qm_dqlookup()
668 xfs_mount_t *mp, in xfs_qm_dqget()
992 struct xfs_mount *mp = dqp->q_mount; in xfs_qm_dqflush() local
1141 struct xfs_mount *mp = dqp->q_mount; in xfs_qm_dqpurge() local
[all …]
Dxfs_ialloc_btree.h74 #define XFS_IBT_BLOCK(mp) ((xfs_agblock_t)(XFS_CNT_BLOCK(mp) + 1)) argument
75 #define XFS_PREALLOC_BLOCKS(mp) ((xfs_agblock_t)(XFS_IBT_BLOCK(mp) + 1)) argument
82 #define XFS_INOBT_BLOCK_LEN(mp) XFS_BTREE_SBLOCK_LEN argument
89 #define XFS_INOBT_REC_ADDR(mp, block, index) \ argument
95 #define XFS_INOBT_KEY_ADDR(mp, block, index) \ argument
101 #define XFS_INOBT_PTR_ADDR(mp, block, index, maxrecs) \ argument
Dxfs_trans.h213 #define XFS_ALLOCFREE_LOG_RES(mp,nx) \ argument
215 #define XFS_ALLOCFREE_LOG_COUNT(mp,nx) \ argument
225 #define XFS_DIROP_LOG_RES(mp) \ argument
228 #define XFS_DIROP_LOG_COUNT(mp) \ argument
233 #define XFS_WRITE_LOG_RES(mp) ((mp)->m_reservations.tr_write) argument
234 #define XFS_ITRUNCATE_LOG_RES(mp) ((mp)->m_reservations.tr_itruncate) argument
235 #define XFS_RENAME_LOG_RES(mp) ((mp)->m_reservations.tr_rename) argument
236 #define XFS_LINK_LOG_RES(mp) ((mp)->m_reservations.tr_link) argument
237 #define XFS_REMOVE_LOG_RES(mp) ((mp)->m_reservations.tr_remove) argument
238 #define XFS_SYMLINK_LOG_RES(mp) ((mp)->m_reservations.tr_symlink) argument
[all …]
/linux-3.3/drivers/scsi/sym53c8xx_2/
Dsym_malloc.c60 static void *___sym_malloc(m_pool_p mp, int size) in ___sym_malloc()
106 static void ___sym_mfree(m_pool_p mp, void *ptr, int size) in ___sym_mfree()
158 static void *__sym_calloc2(m_pool_p mp, int size, char *name, int uflags) in __sym_calloc2()
174 #define __sym_calloc(mp, s, n) __sym_calloc2(mp, s, n, SYM_MEM_WARN) argument
179 static void __sym_mfree(m_pool_p mp, void *ptr, int size, char *name) in __sym_mfree()
193 static void *___mp0_get_mem_cluster(m_pool_p mp) in ___mp0_get_mem_cluster()
202 static void ___mp0_free_mem_cluster(m_pool_p mp, void *m) in ___mp0_free_mem_cluster()
223 static void * ___get_dma_mem_cluster(m_pool_p mp) in ___get_dma_mem_cluster()
246 static void ___free_dma_mem_cluster(m_pool_p mp, void *m) in ___free_dma_mem_cluster()
267 m_pool_p mp; in ___get_dma_pool() local
[all …]
/linux-3.3/drivers/media/video/pvrusb2/
Dpvrusb2-context.c43 static void pvr2_context_set_notify(struct pvr2_context *mp, int fl) in pvr2_context_set_notify()
80 static void pvr2_context_destroy(struct pvr2_context *mp) in pvr2_context_destroy()
106 static void pvr2_context_notify(struct pvr2_context *mp) in pvr2_context_notify()
112 static void pvr2_context_check(struct pvr2_context *mp) in pvr2_context_check()
164 struct pvr2_context *mp; in pvr2_context_thread_func() local
219 struct pvr2_context *mp = NULL; in pvr2_context_create() local
247 static void pvr2_context_reset_input_limits(struct pvr2_context *mp) in pvr2_context_reset_input_limits()
263 static void pvr2_context_enter(struct pvr2_context *mp) in pvr2_context_enter()
269 static void pvr2_context_exit(struct pvr2_context *mp) in pvr2_context_exit()
280 void pvr2_context_disconnect(struct pvr2_context *mp) in pvr2_context_disconnect()
[all …]
/linux-3.3/fs/jfs/
Djfs_metapage.c44 #define metapage_locked(mp) test_bit(META_locked, &(mp)->flag) argument
45 #define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag) argument
47 static inline void unlock_metapage(struct metapage *mp) in unlock_metapage()
53 static inline void __lock_metapage(struct metapage *mp) in __lock_metapage()
73 static inline void lock_metapage(struct metapage *mp) in lock_metapage()
90 struct metapage *mp[MPS_PER_PAGE]; member
101 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
128 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
164 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
174 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
[all …]
Djfs_metapage.h58 #define mark_metapage_dirty(mp) set_bit(META_dirty, &(mp)->flag) argument
85 static inline void write_metapage(struct metapage *mp) in write_metapage()
91 static inline void flush_metapage(struct metapage *mp) in flush_metapage()
97 static inline void discard_metapage(struct metapage *mp) in discard_metapage()
104 static inline void metapage_nohomeok(struct metapage *mp) in metapage_nohomeok()
120 static inline void metapage_wait_for_io(struct metapage *mp) in metapage_wait_for_io()
129 static inline void _metapage_homeok(struct metapage *mp) in _metapage_homeok()
135 static inline void metapage_homeok(struct metapage *mp) in metapage_homeok()
/linux-3.3/drivers/net/ethernet/xscale/ixp2000/
Dixp2400-msf.c26 static void ixp2400_pll_init(struct ixp2400_msf_parameters *mp) in ixp2400_pll_init()
93 static void ixp2400_msf_free_rbuf_entries(struct ixp2400_msf_parameters *mp) in ixp2400_msf_free_rbuf_entries()
154 static void ixp2400_msf_enable_rx(struct ixp2400_msf_parameters *mp) in ixp2400_msf_enable_rx()
163 static void ixp2400_msf_enable_tx(struct ixp2400_msf_parameters *mp) in ixp2400_msf_enable_tx()
173 void ixp2400_msf_init(struct ixp2400_msf_parameters *mp) in ixp2400_msf_init()
/linux-3.3/drivers/isdn/capi/
Dcapi.c143 static int capiminor_add_ack(struct capiminor *mp, u16 datahandle) in capiminor_add_ack()
161 static int capiminor_del_ack(struct capiminor *mp, u16 datahandle) in capiminor_del_ack()
179 static void capiminor_del_all_ack(struct capiminor *mp) in capiminor_del_all_ack()
197 struct capiminor *mp; in capiminor_alloc() local
255 struct capiminor *mp = container_of(kref, struct capiminor, kref); in capiminor_destroy() local
266 struct capiminor *mp; in capiminor_get() local
277 static inline void capiminor_put(struct capiminor *mp) in capiminor_put()
282 static void capiminor_free(struct capiminor *mp) in capiminor_free()
303 struct capiminor *mp = np->minorp; in capincci_free_minor() local
319 struct capiminor *mp = np->minorp; in capincci_minor_opencount() local
[all …]
/linux-3.3/drivers/net/ethernet/marvell/
Dmv643xx_eth.c439 static inline u32 rdl(struct mv643xx_eth_private *mp, int offset) in rdl()
444 static inline u32 rdlp(struct mv643xx_eth_private *mp, int offset) in rdlp()
449 static inline void wrl(struct mv643xx_eth_private *mp, int offset, u32 data) in wrl()
454 static inline void wrlp(struct mv643xx_eth_private *mp, int offset, u32 data) in wrlp()
473 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_enable() local
479 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_disable() local
489 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_reset_hw_ptr() local
499 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_enable() local
505 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_disable() local
515 struct mv643xx_eth_private *mp = txq_to_mp(txq); in txq_maybe_wake() local
[all …]
/linux-3.3/drivers/net/ethernet/apple/
Dmacmace.c107 struct mace_data *mp = netdev_priv(dev); in mace_load_rxdma_base() local
122 struct mace_data *mp = netdev_priv(dev); in mace_rxdma_reset() local
149 struct mace_data *mp = netdev_priv(dev); in mace_txdma_reset() local
201 struct mace_data *mp; in mace_probe() local
267 struct mace_data *mp = netdev_priv(dev); in mace_reset() local
324 struct mace_data *mp = netdev_priv(dev); in __mace_set_address() local
345 struct mace_data *mp = netdev_priv(dev); in mace_set_address() local
370 struct mace_data *mp = netdev_priv(dev); in mace_open() local
437 struct mace_data *mp = netdev_priv(dev); in mace_close() local
453 struct mace_data *mp = netdev_priv(dev); in mace_xmit_start() local
[all …]

1234567