Home
last modified time | relevance | path

Searched refs:mp (Results 1 – 25 of 273) sorted by relevance

1234567891011

/linux/fs/xfs/
H A Dxfs_mount.c85 struct xfs_mount *mp) in xfs_uuid_mount() argument
87 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_mount()
91 super_set_uuid(mp->m_super, uuid->b, sizeof(*uuid)); in xfs_uuid_mount()
93 if (xfs_has_nouuid(mp)) in xfs_uuid_mount()
97 xfs_warn(mp, "Filesystem has null UUID - can't mount"); in xfs_uuid_mount()
103 xfs_warn(mp, "Filesystem has duplicate UUID %pU - can't mount", in xfs_uuid_mount()
109 ret = xa_alloc(&xfs_uuid_table, &mp->m_uuid_table_index, uuid, in xfs_uuid_mount()
117 struct xfs_mount *mp) in xfs_uuid_unmount() argument
119 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_unmount()
121 if (xfs_has_nouuid(mp)) in xfs_uuid_unmount()
[all …]
H A Dxfs_super.c80 struct xfs_mount *mp, in xfs_mount_set_dax_mode() argument
85 mp->m_features &= ~(XFS_FEAT_DAX_ALWAYS | XFS_FEAT_DAX_NEVER); in xfs_mount_set_dax_mode()
88 mp->m_features |= XFS_FEAT_DAX_ALWAYS; in xfs_mount_set_dax_mode()
89 mp->m_features &= ~XFS_FEAT_DAX_NEVER; in xfs_mount_set_dax_mode()
92 mp->m_features |= XFS_FEAT_DAX_NEVER; in xfs_mount_set_dax_mode()
93 mp->m_features &= ~XFS_FEAT_DAX_ALWAYS; in xfs_mount_set_dax_mode()
207 struct xfs_mount *mp = XFS_M(root->d_sb); in xfs_fs_show_options() local
211 if (mp->m_features & xfs_infop->flag) in xfs_fs_show_options()
215 seq_printf(m, ",inode%d", xfs_has_small_inums(mp) ? 32 : 64); in xfs_fs_show_options()
217 if (xfs_has_allocsize(mp)) in xfs_fs_show_options()
[all …]
H A Dxfs_fsops.c54 struct xfs_mount *mp = tp->t_mountp; in xfs_resizefs_init_new_ags() local
55 xfs_rfsblock_t nb = mp->m_sb.sb_dblocks + delta; in xfs_resizefs_init_new_ags()
67 (xfs_rfsblock_t)mp->m_sb.sb_agblocks); in xfs_resizefs_init_new_ags()
69 id->agsize = mp->m_sb.sb_agblocks; in xfs_resizefs_init_new_ags()
71 error = xfs_ag_init_headers(mp, id); in xfs_resizefs_init_new_ags()
94 struct xfs_mount *mp, /* mount point for filesystem */ in xfs_growfs_data_private() argument
97 xfs_agnumber_t oagcount = mp->m_sb.sb_agcount; in xfs_growfs_data_private()
109 error = xfs_sb_validate_fsb_count(&mp->m_sb, nb); in xfs_growfs_data_private()
113 if (nb > mp->m_sb.sb_dblocks) { in xfs_growfs_data_private()
114 error = xfs_buf_read_uncached(mp->m_ddev_targp, in xfs_growfs_data_private()
[all …]
H A Dxfs_qm.c40 STATIC int xfs_qm_init_quotainos(struct xfs_mount *mp);
41 STATIC int xfs_qm_init_quotainfo(struct xfs_mount *mp);
55 struct xfs_mount *mp, in xfs_qm_dquot_walk() argument
60 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dquot_walk()
205 struct xfs_mount *mp) in xfs_qm_dqpurge_all() argument
207 xfs_qm_dquot_walk(mp, XFS_DQTYPE_USER, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all()
208 xfs_qm_dquot_walk(mp, XFS_DQTYPE_GROUP, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all()
209 xfs_qm_dquot_walk(mp, XFS_DQTYPE_PROJ, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all()
217 struct xfs_mount *mp) in xfs_qm_unmount() argument
219 if (mp->m_quotainfo) { in xfs_qm_unmount()
[all …]
H A Dxfs_rtalloc.c108 for (log = oargs->mp->m_rsumlevels - 1; log >= 0; log--) { in xfs_rtcopy_summary()
109 for (bbno = oargs->mp->m_sb.sb_rbmblocks - 1; in xfs_rtcopy_summary()
115 if (XFS_IS_CORRUPT(oargs->mp, sum < 0)) { in xfs_rtcopy_summary()
144 struct xfs_mount *mp = args->mp; in xfs_rtallocate_range() local
174 xfs_rtx_to_rbmblock(mp, preblock), -1); in xfs_rtallocate_range()
185 xfs_rtx_to_rbmblock(mp, preblock), 1); in xfs_rtallocate_range()
197 xfs_rtx_to_rbmblock(mp, end + 1), 1); in xfs_rtallocate_range()
253 struct xfs_mount *mp = args->mp; in xfs_rtallocate_extent_block() local
267 end = min(args->rtg->rtg_extents, xfs_rbmblock_to_rtx(mp, bbno + 1)) - in xfs_rtallocate_extent_block()
269 for (i = xfs_rbmblock_to_rtx(mp, bbno); i <= end; i++) { in xfs_rtallocate_extent_block()
[all …]
H A Dxfs_mount.h64 struct xfs_mount *mp; member
354 #define M_IGEO(mp) (&(mp)->m_ino_geo) argument
411 static inline bool xfs_has_ ## name (const struct xfs_mount *mp) \
413 return mp->m_features & XFS_FEAT_ ## NAME; \
419 static inline void xfs_add_ ## name (struct xfs_mount *mp) \
421 mp->m_features |= XFS_FEAT_ ## NAME; \
422 xfs_sb_version_add ## name(&mp->m_sb); \
449 static inline bool xfs_has_rtgroups(const struct xfs_mount *mp) in __XFS_ADD_FEAT()
452 return xfs_has_metadir(mp); in __XFS_ADD_FEAT()
455 static inline bool xfs_has_rtsb(const struct xfs_mount *mp) in xfs_has_rtsb() argument
[all …]
H A Dxfs_icache.c51 static int xfs_icwalk(struct xfs_mount *mp,
88 struct xfs_mount *mp, in xfs_inode_alloc() argument
97 ip = alloc_inode_sb(mp->m_super, xfs_inode_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_inode_alloc()
99 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc()
107 M_IGEO(mp)->min_folio_order); in xfs_inode_alloc()
109 XFS_STATS_INC(mp, xs_inodes_active); in xfs_inode_alloc()
115 ip->i_mount = mp; in xfs_inode_alloc()
123 ip->i_diflags2 = mp->m_ino_geo.new_diflags2; in xfs_inode_alloc()
208 struct xfs_mount *mp) in xfs_reclaim_work_queue() argument
212 if (xfs_group_marked(mp, XG_TYPE_AG, XFS_PERAG_RECLAIM_MARK)) { in xfs_reclaim_work_queue()
[all …]
H A Dxfs_zone_alloc.c49 struct xfs_mount *mp, in xfs_zone_bucket() argument
53 mp->m_groups[XG_TYPE_RTG].blocks; in xfs_zone_bucket()
82 struct xfs_mount *mp = rtg_mount(rtg); in xfs_zone_account_reclaimable() local
83 struct xfs_zone_info *zi = mp->m_zone_info; in xfs_zone_account_reclaimable()
86 uint32_t from_bucket = xfs_zone_bucket(mp, used + freed); in xfs_zone_account_reclaimable()
87 uint32_t to_bucket = xfs_zone_bucket(mp, used); in xfs_zone_account_reclaimable()
127 if (zi->zi_gc_thread && xfs_zoned_need_gc(mp)) in xfs_zone_account_reclaimable()
168 struct xfs_mount *mp = rtg_mount(rtg); in xfs_open_zone_mark_full() local
169 struct xfs_zone_info *zi = mp->m_zone_info; in xfs_open_zone_mark_full()
325 struct xfs_mount *mp = ip->i_mount; in xfs_zoned_end_io() local
[all …]
H A Dxfs_notify_failure.c41 struct xfs_mount *mp, in xfs_failure_pgoff() argument
45 loff_t pos = XFS_FSB_TO_B(mp, rec->rm_offset); in xfs_failure_pgoff()
48 pos += XFS_FSB_TO_B(mp, in xfs_failure_pgoff()
55 struct xfs_mount *mp, in xfs_failure_pgcnt() argument
70 return XFS_FSB_TO_B(mp, end_cross - start_cross) >> PAGE_SHIFT; in xfs_failure_pgcnt()
79 struct xfs_mount *mp = cur->bc_mp; in xfs_dax_failure_fn() local
97 error = xfs_iget(mp, cur->bc_tp, rec->rm_owner, XFS_IGET_INCORE, in xfs_dax_failure_fn()
108 pgoff = xfs_failure_pgoff(mp, rec, notify); in xfs_dax_failure_fn()
109 pgcnt = xfs_failure_pgcnt(mp, rec, notify); in xfs_dax_failure_fn()
130 struct xfs_mount *mp) in xfs_dax_notify_failure_freeze() argument
[all …]
H A Dxfs_trans.c36 struct xfs_mount *mp) in xfs_trans_trace_reservations() argument
42 res = (struct xfs_trans_res *)M_RES(mp); in xfs_trans_trace_reservations()
43 end_res = (struct xfs_trans_res *)(M_RES(mp) + 1); in xfs_trans_trace_reservations()
45 trace_xfs_trans_resv_calc(mp, i, res); in xfs_trans_trace_reservations()
48 # define xfs_trans_trace_reservations(mp) argument
57 struct xfs_mount *mp) in xfs_trans_init() argument
59 xfs_trans_resv_calc(mp, M_RES(mp)); in xfs_trans_init()
60 xfs_trans_trace_reservations(mp); in xfs_trans_init()
151 struct xfs_mount *mp = tp->t_mountp; in xfs_trans_reserve() local
163 error = xfs_dec_fdblocks(mp, blocks, rsvd); in xfs_trans_reserve()
[all …]
H A Dxfs_zone_gc.c127 struct xfs_mount *mp; member
169 struct xfs_mount *mp) in xfs_zoned_need_gc() argument
175 if (!xfs_zoned_have_reclaimable(mp->m_zone_info)) in xfs_zoned_need_gc()
184 available = xfs_estimate_freecounter(mp, XC_FREE_RTAVAILABLE); in xfs_zoned_need_gc()
186 xfs_rtgs_to_rfsbs(mp, mp->m_max_open_zones - XFS_OPEN_GC_ZONES)) in xfs_zoned_need_gc()
196 if (!mp->m_zonegc_low_space) in xfs_zoned_need_gc()
199 free = xfs_estimate_freecounter(mp, XC_FREE_RTEXTENTS); in xfs_zoned_need_gc()
201 threshold = threshold * mp->m_zonegc_low_space + in xfs_zoned_need_gc()
202 remainder * div_s64(mp->m_zonegc_low_space, 100); in xfs_zoned_need_gc()
209 struct xfs_mount *mp) in xfs_zone_gc_data_alloc() argument
[all …]
H A Dxfs_ioctl.c61 xfs_bulkstat_to_bstat(breq->mp, &bs1, bstat); in xfs_fsbulkstat_one_fmt()
86 struct xfs_mount *mp = XFS_I(file_inode(file))->i_mount; in xfs_ioc_fsbulkstat() local
89 .mp = mp, in xfs_ioc_fsbulkstat()
102 if (xfs_is_shutdown(mp)) in xfs_ioc_fsbulkstat()
178 struct xfs_mount *mp, in xfs_bulk_ireq_setup() argument
205 breq->startino = mp->m_sb.sb_rootino; in xfs_bulk_ireq_setup()
219 if (hdr->agno >= mp->m_sb.sb_agcount) in xfs_bulk_ireq_setup()
223 breq->startino = XFS_AGINO_TO_INO(mp, hdr->agno, 0); in xfs_bulk_ireq_setup()
224 else if (XFS_INO_TO_AGNO(mp, breq->startino) < hdr->agno) in xfs_bulk_ireq_setup()
230 if (XFS_INO_TO_AGNO(mp, breq->startino) > hdr->agno) in xfs_bulk_ireq_setup()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_trans_space.h14 #define XFS_MAX_CONTIG_BMAPS_PER_BLOCK(mp) \ argument
15 (((mp)->m_bmap_dmxr[0]) - ((mp)->m_bmap_dmnr[0]))
18 #define XFS_MAX_CONTIG_RTRMAPS_PER_BLOCK(mp) \ argument
19 (((mp)->m_rtrmap_mxr[0]) - ((mp)->m_rtrmap_mnr[0]))
22 #define XFS_RTRMAPADD_SPACE_RES(mp) ((mp)->m_rtrmap_maxlevels) argument
25 #define XFS_NRTRMAPADD_SPACE_RES(mp, b) \ argument
26 ((((b) + XFS_MAX_CONTIG_RTRMAPS_PER_BLOCK(mp) - 1) / \
27 XFS_MAX_CONTIG_RTRMAPS_PER_BLOCK(mp)) * \
28 XFS_RTRMAPADD_SPACE_RES(mp))
31 #define XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) \ argument
[all …]
H A Dxfs_metafile.c89 struct xfs_mount *mp, in xfs_metafile_resv_can_cover() argument
98 if (mp->m_metafile_resv_avail >= rhs) in xfs_metafile_resv_can_cover()
105 return xfs_compare_freecounter(mp, XC_FREE_BLOCKS, in xfs_metafile_resv_can_cover()
106 rhs - mp->m_metafile_resv_avail, 2048) >= 0; in xfs_metafile_resv_can_cover()
116 struct xfs_mount *mp) in xfs_metafile_resv_critical() argument
118 ASSERT(xfs_has_metadir(mp)); in xfs_metafile_resv_critical()
120 trace_xfs_metafile_resv_critical(mp, 0); in xfs_metafile_resv_critical()
122 if (!xfs_metafile_resv_can_cover(mp, mp->m_rtbtree_maxlevels)) in xfs_metafile_resv_critical()
125 if (!xfs_metafile_resv_can_cover(mp, in xfs_metafile_resv_critical()
126 div_u64(mp->m_metafile_resv_target, 10))) in xfs_metafile_resv_critical()
[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
31 if (mp->m_rtxblklog >= 0) in xfs_rtx_to_rtb()
32 return start + (rtx << mp->m_rtxblklog); in xfs_rtx_to_rtb()
33 return start + (rtx * mp->m_sb.sb_rextsize); in xfs_rtx_to_rtb()
39 struct xfs_mount *mp, in xfs_rgbno_to_rtx() argument
42 if (likely(mp->m_rtxblklog >= 0)) in xfs_rgbno_to_rtx()
43 return rgbno >> mp->m_rtxblklog; in xfs_rgbno_to_rtx()
44 return rgbno / mp->m_sb.sb_rextsize; in xfs_rgbno_to_rtx()
49 struct xfs_mount *mp, in xfs_rtbxlen_to_blen() argument
[all …]
H A Dxfs_ag.c45 struct xfs_mount *mp, in xfs_initialize_perag_data() argument
50 struct xfs_sb *sbp = &mp->m_sb; in xfs_initialize_perag_data()
64 pag = xfs_perag_get(mp, index); in xfs_initialize_perag_data()
89 xfs_alert(mp, "AGF corruption. Please run xfs_repair."); in xfs_initialize_perag_data()
90 xfs_fs_mark_sick(mp, XFS_SICK_FS_COUNTERS); in xfs_initialize_perag_data()
96 spin_lock(&mp->m_sb_lock); in xfs_initialize_perag_data()
100 spin_unlock(&mp->m_sb_lock); in xfs_initialize_perag_data()
102 xfs_reinit_percpu_counters(mp); in xfs_initialize_perag_data()
104 xfs_fs_mark_healthy(mp, XFS_SICK_FS_COUNTERS); in xfs_initialize_perag_data()
122 struct xfs_mount *mp, in xfs_free_perag_range() argument
[all …]
H A Dxfs_sb.c195 struct xfs_mount *mp, in xfs_validate_sb_read() argument
206 xfs_warn(mp, in xfs_validate_sb_read()
209 xfs_warn(mp, in xfs_validate_sb_read()
214 xfs_alert(mp, in xfs_validate_sb_read()
218 if (!xfs_is_readonly(mp)) { in xfs_validate_sb_read()
219 xfs_warn(mp, in xfs_validate_sb_read()
221 xfs_warn(mp, in xfs_validate_sb_read()
228 xfs_warn(mp, in xfs_validate_sb_read()
232 xfs_warn(mp, in xfs_validate_sb_read()
325 struct xfs_mount *mp, in xfs_validate_sb_write() argument
[all …]
H A Dxfs_format.h467 #define XFS_SB_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_SB_DADDR) argument
469 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d)) argument
470 #define XFS_DADDR_TO_FSB(mp,d) XFS_AGB_TO_FSB(mp, \ argument
471 xfs_daddr_to_agno(mp,d), xfs_daddr_to_agbno(mp,d))
472 #define XFS_FSB_TO_DADDR(mp,fsbno) XFS_AGB_TO_DADDR(mp, \ argument
473 XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno))
478 #define XFS_FSS_TO_BB(mp,sec) ((sec) << (mp)->m_sectbb_log) argument
483 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) argument
484 #define XFS_BB_TO_FSB(mp,bb) \ argument
485 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log)
[all …]
H A Dxfs_rtgroup.h115 struct xfs_mount *mp, in xfs_rtgroup_get() argument
118 return to_rtg(xfs_group_get(mp, rgno, XG_TYPE_RTG)); in xfs_rtgroup_get()
138 struct xfs_mount *mp, in xfs_rtgroup_grab() argument
141 return to_rtg(xfs_group_grab(mp, rgno, XG_TYPE_RTG)); in xfs_rtgroup_grab()
153 struct xfs_mount *mp, in xfs_rtgroup_next_range() argument
158 return to_rtg(xfs_group_next_range(mp, rtg ? rtg_group(rtg) : NULL, in xfs_rtgroup_next_range()
164 struct xfs_mount *mp, in xfs_rtgroup_next() argument
167 return xfs_rtgroup_next_range(mp, rtg, 0, mp->m_sb.sb_rgcount - 1); in xfs_rtgroup_next()
206 struct xfs_mount *mp, in xfs_rtb_to_rgno() argument
209 return xfs_fsb_to_gno(mp, rtbno, XG_TYPE_RTG); in xfs_rtb_to_rgno()
[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() argument
35 if (!mp->notify_flag) { in pvr2_context_set_notify()
37 mp->notify_prev = pvr2_context_notify_last; in pvr2_context_set_notify()
38 mp->notify_next = NULL; in pvr2_context_set_notify()
39 pvr2_context_notify_last = mp; in pvr2_context_set_notify()
40 if (mp->notify_prev) { in pvr2_context_set_notify()
41 mp->notify_prev->notify_next = mp; in pvr2_context_set_notify()
43 pvr2_context_notify_first = mp; in pvr2_context_set_notify()
45 mp->notify_flag = !0; in pvr2_context_set_notify()
48 if (mp->notify_flag) { in pvr2_context_set_notify()
[all …]
/linux/drivers/net/ethernet/apple/
H A Dmace.c91 static inline void mace_clean_rings(struct mace_data *mp);
112 struct mace_data *mp; in mace_probe() local
155 mp = netdev_priv(dev); in mace_probe()
156 mp->mdev = mdev; in mace_probe()
160 mp->mace = ioremap(dev->base_addr, 0x1000); in mace_probe()
161 if (mp->mace == NULL) { in mace_probe()
173 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) | in mace_probe()
174 in_8(&mp->mace->chipid_lo); in mace_probe()
177 mp = netdev_priv(dev); in mace_probe()
178 mp->maccc = ENXMT | ENRCV; in mace_probe()
[all …]
/linux/drivers/net/ethernet/marvell/
H A Dmv643xx_eth.c419 static inline u32 rdl(struct mv643xx_eth_private *mp, int offset) in rdl() argument
421 return readl(mp->shared->base + offset); in rdl()
424 static inline u32 rdlp(struct mv643xx_eth_private *mp, int offset) in rdlp() argument
426 return readl(mp->base + offset); in rdlp()
429 static inline void wrl(struct mv643xx_eth_private *mp, int offset, u32 data) in wrl() argument
431 writel(data, mp->shared->base + offset); in wrl()
434 static inline void wrlp(struct mv643xx_eth_private *mp, int offset, u32 data) in wrlp() argument
436 writel(data, mp->base + offset); in wrlp()
453 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_enable() local
454 wrlp(mp, RXQ_COMMAN in rxq_enable()
459 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); rxq_disable() local
469 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_reset_hw_ptr() local
479 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_enable() local
485 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_disable() local
495 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_maybe_wake() local
508 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); rxq_process() local
600 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); rxq_refill() local
670 skb_tx_csum(struct mv643xx_eth_private * mp,struct sk_buff * skb,u16 * l4i_chk,u32 * command,int length) skb_tx_csum() argument
778 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_put_hdr_tso() local
821 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_submit_tso() local
893 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_submit_frag_skb() local
932 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_submit_skb() local
995 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_xmit() local
1034 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_kick() local
1059 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_reclaim() local
1133 tx_set_rate(struct mv643xx_eth_private * mp,int rate,int burst) tx_set_rate() argument
1167 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_set_rate() local
1185 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_set_fixed_prio_mode() local
1213 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_adjust_link() local
1254 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_get_stats() local
1276 mib_read(struct mv643xx_eth_private * mp,int offset) mib_read() argument
1281 mib_counters_clear(struct mv643xx_eth_private * mp) mib_counters_clear() argument
1293 mib_counters_update(struct mv643xx_eth_private * mp) mib_counters_update() argument
1336 struct mv643xx_eth_private *mp = timer_container_of(mp, t, mib_counters_timer_wrapper() local
1355 get_rx_coal(struct mv643xx_eth_private * mp) get_rx_coal() argument
1372 set_rx_coal(struct mv643xx_eth_private * mp,unsigned int usec) set_rx_coal() argument
1397 get_tx_coal(struct mv643xx_eth_private * mp) get_tx_coal() argument
1409 set_tx_coal(struct mv643xx_eth_private * mp,unsigned int usec) set_tx_coal() argument
1484 mv643xx_eth_get_link_ksettings_phy(struct mv643xx_eth_private * mp,struct ethtool_link_ksettings * cmd) mv643xx_eth_get_link_ksettings_phy() argument
1503 mv643xx_eth_get_link_ksettings_phyless(struct mv643xx_eth_private * mp,struct ethtool_link_ksettings * cmd) mv643xx_eth_get_link_ksettings_phyless() argument
1571 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_get_link_ksettings() local
1621 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_get_coalesce() local
1634 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_set_coalesce() local
1647 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_get_ringparam() local
1661 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_set_ringparam() local
1689 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_set_features() local
1711 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_get_ethtool_stats() local
1762 uc_addr_get(struct mv643xx_eth_private * mp,unsigned char * addr) uc_addr_get() argument
1775 uc_addr_set(struct mv643xx_eth_private * mp,const u8 * addr) uc_addr_set() argument
1805 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_program_unicast_filter() local
1861 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_program_multicast_filter() local
1935 rxq_init(struct mv643xx_eth_private * mp,int index) rxq_init() argument
2003 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); rxq_deinit() local
2030 txq_init(struct mv643xx_eth_private * mp,int index) txq_init() argument
2120 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_deinit() local
2143 mv643xx_eth_collect_events(struct mv643xx_eth_private * mp) mv643xx_eth_collect_events() argument
2179 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_irq() local
2190 handle_link_event(struct mv643xx_eth_private * mp) handle_link_event() argument
2243 struct mv643xx_eth_private *mp; mv643xx_eth_poll() local
2309 struct mv643xx_eth_private *mp = timer_container_of(mp, t, rx_oom); oom_timer_wrapper() local
2314 port_start(struct mv643xx_eth_private * mp) port_start() argument
2390 mv643xx_eth_recalc_skb_size(struct mv643xx_eth_private * mp) mv643xx_eth_recalc_skb_size() argument
2420 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_open() local
2487 port_reset(struct mv643xx_eth_private * mp) port_reset() argument
2515 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_stop() local
2559 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_change_mtu() local
2585 struct mv643xx_eth_private *mp; tx_timeout_task() local
2598 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_tx_timeout() local
2608 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_netpoll() local
2904 phy_addr_set(struct mv643xx_eth_private * mp,int phy_addr) phy_addr_set() argument
2915 phy_addr_get(struct mv643xx_eth_private * mp) phy_addr_get() argument
2924 set_params(struct mv643xx_eth_private * mp,struct mv643xx_eth_platform_data * pd) set_params() argument
2963 get_phy_mode(struct mv643xx_eth_private * mp) get_phy_mode() argument
2980 phy_scan(struct mv643xx_eth_private * mp,int phy_addr) phy_scan() argument
3016 phy_init(struct mv643xx_eth_private * mp,int speed,int duplex) phy_init() argument
3037 init_pscr(struct mv643xx_eth_private * mp,int speed,int duplex) init_pscr() argument
3086 struct mv643xx_eth_private *mp; mv643xx_eth_probe() local
3274 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev); mv643xx_eth_remove() local
3290 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev); mv643xx_eth_shutdown() 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() argument
53 m_link_p h = mp->h; in ___sym_malloc()
93 static void ___sym_mfree(m_pool_p mp, void *ptr, int size) in ___sym_mfree() argument
99 m_link_p h = mp->h; in ___sym_mfree()
145 static void *__sym_calloc2(m_pool_p mp, int size, char *name, int uflags) in __sym_calloc2() argument
149 p = ___sym_malloc(mp, size); 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() argument
171 ___sym_mfree(mp, ptr, size); in __sym_mfree()
180 static void *___mp0_get_mem_cluster(m_pool_p mp) in ___mp0_get_mem_cluster() argument
[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() argument
78 struct device *dev = mp->pci.dev; in meson_pcie_get_reset()
89 static int meson_pcie_get_resets(struct meson_pcie *mp) in meson_pcie_get_resets() argument
91 struct meson_pcie_rc_reset *mrst = &mp->mrst; in meson_pcie_get_resets()
93 mrst->port = meson_pcie_get_reset(mp, "port", PCIE_NORMAL_RESET); in meson_pcie_get_resets()
98 mrst->apb = meson_pcie_get_reset(mp, "apb", PCIE_SHARED_RESET); in meson_pcie_get_resets()
107 struct meson_pcie *mp) in meson_pcie_get_mems() argument
109 struct dw_pcie *pci = &mp->pci; in meson_pcie_get_mems()
127 mp->cfg_base = devm_platform_ioremap_resource_byname(pdev, "cfg"); in meson_pcie_get_mems()
128 if (IS_ERR(mp->cfg_base)) in meson_pcie_get_mems()
[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() argument
74 set_bit(META_dirty, &mp->flag); in write_metapage()
75 release_metapage(mp); in write_metapage()
78 static inline void flush_metapage(struct metapage *mp) in flush_metapage() argument
80 set_bit(META_sync, &mp->flag); in flush_metapage()
81 write_metapage(mp); in flush_metapage()
84 static inline void discard_metapage(struct metapage *mp) in discard_metapage() argument
86 clear_bit(META_dirty, &mp->flag); in discard_metapage()
87 set_bit(META_discard, &mp->flag); in discard_metapage()
[all …]

1234567891011