Home
last modified time | relevance | path

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

1234567

/linux-2.4.37.9/fs/xfs/
Dxfs_trans_space.h38 #define XFS_MAX_CONTIG_EXTENTS_PER_BLOCK(mp) \ argument
40 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument
41 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument
45 #define XFS_DAENTER_1B(mp,w) ((w) == XFS_DATA_FORK ? (mp)->m_dirblkfsbs : 1) argument
46 #define XFS_DAENTER_DBS(mp,w) \ argument
49 #define XFS_DAENTER_BLOCKS(mp,w) \ argument
51 #define XFS_DAENTER_BMAP1B(mp,w) \ argument
53 #define XFS_DAENTER_BMAPS(mp,w) \ argument
55 #define XFS_DAENTER_SPACE_RES(mp,w) \ argument
57 #define XFS_DAREMOVE_SPACE_RES(mp,w) XFS_DAENTER_BMAPS(mp,w) argument
[all …]
Dxfs_inum.h69 #define XFS_INO_OFFSET_BITS(mp) xfs_ino_offset_bits(mp) argument
71 #define XFS_INO_OFFSET_BITS(mp) ((mp)->m_sb.sb_inopblog) argument
75 #define XFS_INO_AGBNO_BITS(mp) xfs_ino_agbno_bits(mp) argument
77 #define XFS_INO_AGBNO_BITS(mp) ((mp)->m_sb.sb_agblklog) argument
81 #define XFS_INO_AGINO_BITS(mp) xfs_ino_agino_bits(mp) argument
83 #define XFS_INO_AGINO_BITS(mp) ((mp)->m_agino_log) argument
87 #define XFS_INO_AGNO_BITS(mp) xfs_ino_agno_bits(mp) argument
89 #define XFS_INO_AGNO_BITS(mp) ((mp)->m_agno_log) argument
93 #define XFS_INO_BITS(mp) xfs_ino_bits(mp) argument
95 #define XFS_INO_BITS(mp) (XFS_INO_AGNO_BITS(mp) + XFS_INO_AGINO_BITS(mp)) argument
[all …]
Dxfs_dir2_leaf.h56 #define XFS_DIR2_LEAF_FIRSTDB(mp) \ argument
119 #define XFS_DIR2_MAX_LEAF_ENTS(mp) \ argument
122 #define XFS_DIR2_MAX_LEAF_ENTS(mp) \ argument
133 #define XFS_DIR2_LEAF_TAIL_P(mp,lp) \ argument
136 #define XFS_DIR2_LEAF_TAIL_P(mp,lp) \ argument
160 #define XFS_DIR2_DATAPTR_TO_BYTE(mp,dp) xfs_dir2_dataptr_to_byte(mp, dp) argument
162 #define XFS_DIR2_DATAPTR_TO_BYTE(mp,dp) \ argument
172 #define XFS_DIR2_BYTE_TO_DATAPTR(mp,by) xfs_dir2_byte_to_dataptr(mp,by) argument
174 #define XFS_DIR2_BYTE_TO_DATAPTR(mp,by) \ argument
184 #define XFS_DIR2_DATAPTR_TO_DB(mp,dp) xfs_dir2_dataptr_to_db(mp, dp) argument
[all …]
Dxfs_mount.c130 xfs_mount_t *mp; in xfs_mount_init() local
155 xfs_mount_t *mp, in xfs_mount_free()
201 xfs_mount_t *mp,
322 xfs_initialize_perag(xfs_mount_t *mp, xfs_agnumber_t agcount)
462 xfs_readsb(xfs_mount_t *mp)
557 xfs_mount_common(xfs_mount_t *mp, xfs_sb_t *sbp)
635 xfs_mount_t *mp,
1075 xfs_unmountfs(xfs_mount_t *mp, struct cred *cr)
1138 xfs_unmountfs_close(xfs_mount_t *mp, struct cred *cr)
1148 xfs_unmountfs_wait(xfs_mount_t *mp)
[all …]
Dxfs_ialloc.h45 #define XFS_IALLOC_INODES(mp) xfs_ialloc_inodes(mp) argument
47 #define XFS_IALLOC_INODES(mp) ((mp)->m_ialloc_inos) argument
51 #define XFS_IALLOC_BLOCKS(mp) xfs_ialloc_blocks(mp) argument
53 #define XFS_IALLOC_BLOCKS(mp) ((mp)->m_ialloc_blks) argument
65 #define XFS_INODE_CLUSTER_SIZE(mp) (mp)->m_inode_cluster_size argument
72 #define XFS_MAKE_IPTR(mp,b,o) xfs_make_iptr(mp,b,o) argument
74 #define XFS_MAKE_IPTR(mp,b,o) \ argument
Dxfs_ag.h112 #define XFS_AGF_DADDR(mp) ((xfs_daddr_t)(1 << (mp)->m_sectbb_log)) argument
115 #define XFS_AGF_BLOCK(mp) xfs_agf_block(mp) argument
117 #define XFS_AGF_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGF_DADDR(mp)) argument
167 #define XFS_AGI_DADDR(mp) ((xfs_daddr_t)(2 << (mp)->m_sectbb_log)) argument
170 #define XFS_AGI_BLOCK(mp) xfs_agi_block(mp) argument
172 #define XFS_AGI_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGI_DADDR(mp)) argument
179 #define XFS_AGFL_DADDR(mp) ((xfs_daddr_t)(3 << (mp)->m_sectbb_log)) argument
182 #define XFS_AGFL_BLOCK(mp) xfs_agfl_block(mp) argument
184 #define XFS_AGFL_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGFL_DADDR(mp)) argument
186 #define XFS_AGFL_SIZE(mp) ((mp)->m_sb.sb_sectsize / sizeof(xfs_agblock_t)) argument
[all …]
Dxfs_macros.c104 xfs_ag_check_daddr(xfs_mount_t *mp, xfs_daddr_t d, xfs_extlen_t len) in xfs_ag_check_daddr()
112 xfs_ag_daddr(xfs_mount_t *mp, xfs_agnumber_t agno, xfs_daddr_t d) in xfs_ag_daddr()
120 xfs_ag_maxlevels(xfs_mount_t *mp) in xfs_ag_maxlevels()
128 xfs_agb_to_daddr(xfs_mount_t *mp, xfs_agnumber_t agno, xfs_agblock_t agbno) in xfs_agb_to_daddr()
136 xfs_agb_to_fsb(xfs_mount_t *mp, xfs_agnumber_t agno, xfs_agblock_t agbno) in xfs_agb_to_fsb()
160 xfs_agf_block(xfs_mount_t *mp) in xfs_agf_block()
176 xfs_agfl_block(xfs_mount_t *mp) in xfs_agfl_block()
184 xfs_agi_block(xfs_mount_t *mp) in xfs_agi_block()
200 xfs_agino_to_agbno(xfs_mount_t *mp, xfs_agino_t i) in xfs_agino_to_agbno()
208 xfs_agino_to_ino(xfs_mount_t *mp, xfs_agnumber_t a, xfs_agino_t i) in xfs_agino_to_ino()
[all …]
Dxfs_rtalloc.h54 #define XFS_BLOCKSIZE(mp) ((mp)->m_sb.sb_blocksize) argument
55 #define XFS_BLOCKMASK(mp) ((mp)->m_blockmask) argument
56 #define XFS_BLOCKWSIZE(mp) ((mp)->m_blockwsize) argument
57 #define XFS_BLOCKWMASK(mp) ((mp)->m_blockwmask) argument
62 #define XFS_SUMOFFS(mp,ls,bb) ((int)((ls) * (mp)->m_sb.sb_rbmblocks + (bb))) argument
63 #define XFS_SUMOFFSTOBLOCK(mp,s) \ argument
65 #define XFS_SUMPTR(mp,bp,so) \ argument
69 #define XFS_BITTOBLOCK(mp,bi) ((bi) >> (mp)->m_blkbit_log) argument
70 #define XFS_BLOCKTOBIT(mp,bb) ((bb) << (mp)->m_blkbit_log) argument
71 #define XFS_BITTOWORD(mp,bi) \ argument
[all …]
Dxfs_fsops.c71 xfs_mount_t *mp, in xfs_fs_geometry()
130 xfs_mount_t *mp, /* mount point for filesystem */ in xfs_growfs_data_private()
420 xfs_mount_t *mp, /* mount point for filesystem */ in xfs_growfs_log_private()
449 xfs_mount_t *mp, in xfs_growfs_data()
462 xfs_mount_t *mp, in xfs_growfs_log()
479 xfs_mount_t *mp, in xfs_fs_counts()
510 xfs_mount_t *mp, in xfs_reserve_blocks()
563 xfs_fs_log_dummy(xfs_mount_t *mp) in xfs_fs_log_dummy()
590 xfs_mount_t *mp, in xfs_fs_goingdown()
Dxfs_dir.h127 #define XFS_DIR_MOUNT(mp) \ argument
129 #define XFS_DIR_ISEMPTY(mp,dp) \ argument
131 #define XFS_DIR_INIT(mp,tp,dp,pdp) \ argument
133 #define XFS_DIR_CREATENAME(mp,tp,dp,name,namelen,inum,first,flist,total) \ argument
136 #define XFS_DIR_LOOKUP(mp,tp,dp,name,namelen,inum) \ argument
138 #define XFS_DIR_REMOVENAME(mp,tp,dp,name,namelen,ino,first,flist,total) \ argument
140 #define XFS_DIR_GETDENTS(mp,tp,dp,uio,eofp) \ argument
142 #define XFS_DIR_REPLACE(mp,tp,dp,name,namelen,inum,first,flist,total) \ argument
144 #define XFS_DIR_CANENTER(mp,tp,dp,name,namelen) \ argument
146 #define XFS_DIR_SHORTFORM_VALIDATE_ONDISK(mp,dip) \ argument
[all …]
Dxfs_trans.h478 #define XFS_ALLOCFREE_LOG_RES(mp,nx) \ argument
480 #define XFS_ALLOCFREE_LOG_COUNT(mp,nx) \ argument
490 #define XFS_DIROP_LOG_RES(mp) \ argument
493 #define XFS_DIROP_LOG_COUNT(mp) \ argument
511 #define XFS_CALC_WRITE_LOG_RES(mp) \ argument
525 #define XFS_WRITE_LOG_RES(mp) ((mp)->m_reservations.tr_write) argument
540 #define XFS_CALC_ITRUNCATE_LOG_RES(mp) \ argument
555 #define XFS_ITRUNCATE_LOG_RES(mp) ((mp)->m_reservations.tr_itruncate) argument
569 #define XFS_CALC_RENAME_LOG_RES(mp) \ argument
580 #define XFS_RENAME_LOG_RES(mp) ((mp)->m_reservations.tr_rename) argument
[all …]
Dxfs_dir2_node.h56 #define XFS_DIR2_FREE_FIRSTDB(mp) \ argument
76 #define XFS_DIR2_MAX_FREE_BESTS(mp) \ argument
90 #define XFS_DIR2_DB_TO_FDB(mp,db) xfs_dir2_db_to_fdb(mp, db) argument
92 #define XFS_DIR2_DB_TO_FDB(mp,db) \ argument
102 #define XFS_DIR2_DB_TO_FDINDEX(mp,db) xfs_dir2_db_to_fdindex(mp, db) argument
104 #define XFS_DIR2_DB_TO_FDINDEX(mp,db) ((db) % XFS_DIR2_MAX_FREE_BESTS(mp)) argument
Dxfs_trans_ail.c69 xfs_mount_t *mp) in xfs_trans_tail_ail()
98 xfs_mount_t *mp, in xfs_trans_push_ail()
239 xfs_mount_t *mp, in xfs_trans_unlocked_item()
292 xfs_mount_t *mp, in xfs_trans_update_ail()
345 xfs_mount_t *mp, in xfs_trans_delete_ail()
397 xfs_mount_t *mp, in xfs_trans_first_ail()
417 xfs_mount_t *mp, in xfs_trans_next_ail()
456 xfs_mount_t *mp) in xfs_trans_ail_init()
Dxfs_mount.h65 #define XFS_DADDR_TO_AGNO(mp,d) \ argument
67 #define XFS_DADDR_TO_AGBNO(mp,d) \ argument
86 #define AIL_LOCK(mp,s) s=mutex_spinlock(&(mp)->m_ail_lock) argument
87 #define AIL_UNLOCK(mp,s) mutex_spinunlock(&(mp)->m_ail_lock, s) argument
113 #define XFS_SEND_DATA(mp, ev,vp,off,len,fl,lock) \ argument
115 #define XFS_SEND_MMAP(mp, vma,fl) \ argument
117 #define XFS_SEND_DESTROY(mp, vp,right) \ argument
119 #define XFS_SEND_NAMESP(mp, ev,b1,r1,b2,r2,n1,n2,mode,rval,fl) \ argument
121 #define XFS_SEND_PREUNMOUNT(mp, vfs,b1,r1,b2,r2,n1,n2,mode,rval,fl) \ argument
123 #define XFS_SEND_UNMOUNT(mp, vfsp,vp,right,mode,rval,fl) \ argument
[all …]
Dxfs_vfsops.c218 struct xfs_mount *mp) in xfs_start_flags()
335 struct xfs_mount *mp) in xfs_finish_flags()
426 struct xfs_mount *mp = XFS_BHVTOM(bhvp); in xfs_mount() local
545 xfs_mount_t *mp = XFS_BHVTOM(bdp); in xfs_unmount() local
631 xfs_mount_t *mp = XFS_BHVTOM(bdp); in xfs_mntupdate() local
683 xfs_mount_t *mp, /* Mount structure we are getting in xfs_unmount_flush()
794 xfs_mount_t *mp; in xfs_statvfs() local
877 xfs_mount_t *mp; in xfs_sync() local
895 xfs_mount_t *mp, in xfs_sync_inodes()
930 #define IPOINTER_INSERT(ip, mp) { \ in xfs_sync_inodes() argument
[all …]
Dxfs_rw.c74 xfs_mount_t *mp; in xfs_write_clear_setuid() local
123 xfs_mount_t *mp; in xfs_do_force_shutdown() local
261 struct xfs_mount *mp, in xfs_ioerror_alert()
288 struct xfs_mount *mp, in xfs_read_buf()
333 struct xfs_mount *mp, in xfs_bwrite()
/linux-2.4.37.9/fs/xfs/quota/
Dxfs_quota_priv.h42 #define XFS_QM_DQPERBLK(mp) ((mp)->m_quotainfo->qi_dqperchunk) argument
51 #define XFS_QI_MPLRECLAIMS(mp) ((mp)->m_quotainfo->qi_dqreclaims) argument
52 #define XFS_QI_UQIP(mp) ((mp)->m_quotainfo->qi_uquotaip) argument
53 #define XFS_QI_GQIP(mp) ((mp)->m_quotainfo->qi_gquotaip) argument
54 #define XFS_QI_DQCHUNKLEN(mp) ((mp)->m_quotainfo->qi_dqchunklen) argument
55 #define XFS_QI_BTIMELIMIT(mp) ((mp)->m_quotainfo->qi_btimelimit) argument
56 #define XFS_QI_RTBTIMELIMIT(mp) ((mp)->m_quotainfo->qi_rtbtimelimit) argument
57 #define XFS_QI_ITIMELIMIT(mp) ((mp)->m_quotainfo->qi_itimelimit) argument
58 #define XFS_QI_BWARNLIMIT(mp) ((mp)->m_quotainfo->qi_bwarnlimit) argument
59 #define XFS_QI_IWARNLIMIT(mp) ((mp)->m_quotainfo->qi_iwarnlimit) argument
[all …]
Dxfs_qm.c222 struct xfs_mount *mp) in xfs_qm_hold_quotafs_ref()
252 struct xfs_mount *mp) in xfs_qm_rele_quotafs_ref()
303 xfs_mount_t *mp, in xfs_qm_mount_quotainit()
336 xfs_mount_t *mp) in xfs_qm_unmount_quotadestroy()
351 xfs_mount_t *mp, in xfs_qm_mount_quotas()
452 xfs_mount_t *mp) in xfs_qm_unmount_quotas()
514 xfs_mount_t *mp, in xfs_qm_dqflush_all()
574 xfs_mount_t *mp) in xfs_qm_detach_gdquots()
615 xfs_mount_t *mp, in xfs_qm_dqpurge_int()
691 xfs_mount_t *mp, in xfs_qm_dqpurge_all()
[all …]
Dxfs_qm_syscalls.c105 xfs_mount_t *mp; in xfs_qm_quotactl() local
223 xfs_mount_t *mp, in xfs_qm_scall_quotaoff()
392 xfs_mount_t *mp, in xfs_qm_scall_trunc_qfiles()
433 xfs_mount_t *mp, in xfs_qm_scall_quotaon()
530 xfs_mount_t *mp, in xfs_qm_scall_getqstat()
595 xfs_mount_t *mp, in xfs_qm_scall_setqlim()
737 xfs_mount_t *mp, in xfs_qm_scall_getquota()
775 xfs_mount_t *mp, in xfs_qm_log_quotaoff_end()
808 xfs_mount_t *mp, in xfs_qm_log_quotaoff()
870 xfs_mount_t *mp, in xfs_qm_export_dquot()
[all …]
/linux-2.4.37.9/fs/jfs/
Djfs_metapage.c49 static inline int metapage_locked(struct metapage *mp) in metapage_locked()
54 static inline int trylock_metapage(struct metapage *mp) in trylock_metapage()
59 static inline void unlock_metapage(struct metapage *mp) in unlock_metapage()
65 static void __lock_metapage(struct metapage *mp) in __lock_metapage()
85 static inline void lock_metapage(struct metapage *mp) in lock_metapage()
104 struct metapage *mp = (struct metapage *)foo; in init_once() local
150 static void __free_metapage(struct metapage *mp) in __free_metapage()
161 static inline void free_metapage(struct metapage * mp) in free_metapage()
170 struct metapage *mp; in metapage_init() local
243 static void add_to_hash(struct metapage * mp, struct metapage ** hash_ptr) in add_to_hash()
[all …]
/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/
Dsym_malloc.c77 static void *___sym_malloc(m_pool_p mp, int size) in ___sym_malloc()
123 static void ___sym_mfree(m_pool_p mp, void *ptr, int size) in ___sym_mfree()
175 static void *__sym_calloc2(m_pool_p mp, int size, char *name, int uflags) in __sym_calloc2()
191 #define __sym_calloc(mp, s, n) __sym_calloc2(mp, s, n, SYM_MEM_WARN) argument
196 static void __sym_mfree(m_pool_p mp, void *ptr, int size, char *name) in __sym_mfree()
219 static m_addr_t ___mp0_get_mem_cluster(m_pool_p mp) in ___mp0_get_mem_cluster()
228 static void ___mp0_free_mem_cluster(m_pool_p mp, m_addr_t m) in ___mp0_free_mem_cluster()
270 static m_addr_t ___get_dma_mem_cluster(m_pool_p mp) in ___get_dma_mem_cluster()
294 static void ___free_dma_mem_cluster(m_pool_p mp, m_addr_t m) in ___free_dma_mem_cluster()
315 m_pool_p mp; in ___get_dma_pool() local
[all …]
/linux-2.4.37.9/arch/ppc/mm/
Dmem_pieces.c37 struct mem_pieces *mp = &phys_avail; in mem_pieces_find() local
57 mem_pieces_remove(struct mem_pieces *mp, unsigned int start, unsigned int size, in mem_pieces_remove()
113 mem_pieces_print(struct mem_pieces *mp) in mem_pieces_print()
128 mem_pieces_append(struct mem_pieces *mp, unsigned int start, unsigned int size) in mem_pieces_append()
141 mem_pieces_sort(struct mem_pieces *mp) in mem_pieces_sort()
160 mem_pieces_coalesce(struct mem_pieces *mp) in mem_pieces_coalesce()
/linux-2.4.37.9/drivers/net/
Dmacmace.c103 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_load_rxdma_base() local
118 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_rxdma_reset() local
145 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_txdma_reset() local
186 struct mace_data *mp; in mace_probe() local
253 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_set_address() local
285 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_open() local
388 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_close() local
410 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_xmit_start() local
448 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_set_multicast() local
495 static void mace_handle_misc_intrs(struct mace_data *mp, int intr) in mace_handle_misc_intrs()
[all …]
Dmyri_sbus.c126 static inline void bang_the_chip(struct myri_eth *mp) in bang_the_chip()
135 static int myri_do_handshake(struct myri_eth *mp) in myri_do_handshake()
183 static int myri_load_lanai(struct myri_eth *mp) in myri_load_lanai()
245 static void myri_clean_rings(struct myri_eth *mp) in myri_clean_rings()
282 static void myri_init_rings(struct myri_eth *mp, int from_irq) in myri_init_rings()
314 static int myri_init(struct myri_eth *mp, int from_irq) in myri_init()
320 static void myri_is_not_so_happy(struct myri_eth *mp) in myri_is_not_so_happy()
351 static void myri_tx(struct myri_eth *mp, struct net_device *dev) in myri_tx()
419 static void myri_rx(struct myri_eth *mp, struct net_device *dev) in myri_rx()
546 struct myri_eth *mp = (struct myri_eth *) dev->priv; in myri_interrupt() local
[all …]
Dmace.c134 struct mace_data *mp; in mace_probe1() local
284 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_reset() local
339 struct mace_data *mp = (struct mace_data *) dev->priv; in __mace_set_address() local
360 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_set_address() local
394 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_ethtool_ioctl() local
403 struct mace_data *mp = dev->priv; in mace_ethtool_ioctl() local
461 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_open() local
529 static inline void mace_clean_rings(struct mace_data *mp) in mace_clean_rings()
549 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_close() local
569 struct mace_data *mp = (struct mace_data *) dev->priv; in mace_set_timeout() local
[all …]

1234567