Home
last modified time | relevance | path

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

12345678910>>...17

/openbmc/linux/fs/xfs/
H A Dxfs_mount.c59 struct xfs_mount *mp) in xfs_uuid_mount() argument
61 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_mount()
65 uuid_copy(&mp->m_super->s_uuid, uuid); in xfs_uuid_mount()
67 if (xfs_has_nouuid(mp)) in xfs_uuid_mount()
71 xfs_warn(mp, "Filesystem has null UUID - can't mount"); in xfs_uuid_mount()
98 xfs_warn(mp, "Filesystem has duplicate UUID %pU - can't mount", uuid); in xfs_uuid_mount()
104 struct xfs_mount *mp) in xfs_uuid_unmount() argument
106 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_unmount()
109 if (xfs_has_nouuid(mp)) in xfs_uuid_unmount()
150 struct xfs_mount *mp, in xfs_readsb() argument
[all …]
H A Dxfs_super.c67 struct xfs_mount *mp, in xfs_mount_set_dax_mode() argument
72 mp->m_features &= ~(XFS_FEAT_DAX_ALWAYS | XFS_FEAT_DAX_NEVER); in xfs_mount_set_dax_mode()
75 mp->m_features |= XFS_FEAT_DAX_ALWAYS; in xfs_mount_set_dax_mode()
76 mp->m_features &= ~XFS_FEAT_DAX_NEVER; in xfs_mount_set_dax_mode()
79 mp->m_features |= XFS_FEAT_DAX_NEVER; in xfs_mount_set_dax_mode()
80 mp->m_features &= ~XFS_FEAT_DAX_ALWAYS; in xfs_mount_set_dax_mode()
179 struct xfs_mount *mp = XFS_M(root->d_sb); in xfs_fs_show_options() local
183 if (mp->m_features & xfs_infop->flag) in xfs_fs_show_options()
187 seq_printf(m, ",inode%d", xfs_has_small_inums(mp) ? 32 : 64); in xfs_fs_show_options()
189 if (xfs_has_allocsize(mp)) in xfs_fs_show_options()
[all …]
H A Dxfs_fsops.c47 struct xfs_mount *mp = tp->t_mountp; in xfs_resizefs_init_new_ags() local
48 xfs_rfsblock_t nb = mp->m_sb.sb_dblocks + delta; in xfs_resizefs_init_new_ags()
60 (xfs_rfsblock_t)mp->m_sb.sb_agblocks); in xfs_resizefs_init_new_ags()
62 id->agsize = mp->m_sb.sb_agblocks; in xfs_resizefs_init_new_ags()
64 error = xfs_ag_init_headers(mp, id); in xfs_resizefs_init_new_ags()
87 struct xfs_mount *mp, /* mount point for filesystem */ in xfs_growfs_data_private() argument
103 error = xfs_sb_validate_fsb_count(&mp->m_sb, nb); in xfs_growfs_data_private()
107 if (nb > mp->m_sb.sb_dblocks) { in xfs_growfs_data_private()
108 error = xfs_buf_read_uncached(mp->m_ddev_targp, in xfs_growfs_data_private()
109 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private()
[all …]
H A Dxfs_rtalloc.c32 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtget_summary() argument
40 return xfs_rtmodify_summary_int(mp, tp, log, bbno, 0, rbpp, rsb, sum); in xfs_rtget_summary()
49 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtany_summary() argument
63 if (mp->m_rsum_cache && low < mp->m_rsum_cache[bbno]) in xfs_rtany_summary()
64 low = mp->m_rsum_cache[bbno]; in xfs_rtany_summary()
73 error = xfs_rtget_summary(mp, tp, log, bbno, rbpp, rsb, &sum); in xfs_rtany_summary()
91 if (mp->m_rsum_cache && log > mp->m_rsum_cache[bbno]) in xfs_rtany_summary()
92 mp->m_rsum_cache[bbno] = log; in xfs_rtany_summary()
144 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_range() argument
162 error = xfs_rtfind_back(mp, tp, start, 0, &preblock); in xfs_rtallocate_range()
[all …]
H A Dxfs_qm.c36 STATIC int xfs_qm_init_quotainos(struct xfs_mount *mp);
37 STATIC int xfs_qm_init_quotainfo(struct xfs_mount *mp);
52 struct xfs_mount *mp, in xfs_qm_dquot_walk() argument
57 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dquot_walk()
190 struct xfs_mount *mp) in xfs_qm_dqpurge_all() argument
192 xfs_qm_dquot_walk(mp, XFS_DQTYPE_USER, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all()
193 xfs_qm_dquot_walk(mp, XFS_DQTYPE_GROUP, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all()
194 xfs_qm_dquot_walk(mp, XFS_DQTYPE_PROJ, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all()
202 struct xfs_mount *mp) in xfs_qm_unmount() argument
204 if (mp->m_quotainfo) { in xfs_qm_unmount()
[all …]
H A Dxfs_qm_syscalls.c24 xfs_mount_t *mp, in xfs_qm_scall_quotaoff() argument
32 if ((mp->m_qflags & flags) == 0) in xfs_qm_scall_quotaoff()
40 xfs_info(mp, "disabling of quota accounting not supported."); in xfs_qm_scall_quotaoff()
42 mutex_lock(&mp->m_quotainfo->qi_quotaofflock); in xfs_qm_scall_quotaoff()
43 mp->m_qflags &= ~(flags & XFS_ALL_QUOTA_ENFD); in xfs_qm_scall_quotaoff()
44 spin_lock(&mp->m_sb_lock); in xfs_qm_scall_quotaoff()
45 mp->m_sb.sb_qflags = mp->m_qflags; in xfs_qm_scall_quotaoff()
46 spin_unlock(&mp->m_sb_lock); in xfs_qm_scall_quotaoff()
47 mutex_unlock(&mp->m_quotainfo->qi_quotaofflock); in xfs_qm_scall_quotaoff()
50 return xfs_sync_sb(mp, false); in xfs_qm_scall_quotaoff()
[all …]
H A Dxfs_icache.c47 static int xfs_icwalk(struct xfs_mount *mp,
72 struct xfs_mount *mp, in xfs_inode_alloc() argument
81 ip = alloc_inode_sb(mp->m_super, xfs_inode_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_inode_alloc()
83 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc()
93 XFS_STATS_INC(mp, vn_active); in xfs_inode_alloc()
99 ip->i_mount = mp; in xfs_inode_alloc()
107 ip->i_diflags2 = mp->m_ino_geo.new_diflags2; in xfs_inode_alloc()
190 struct xfs_mount *mp) in xfs_reclaim_work_queue() argument
194 if (radix_tree_tagged(&mp->m_perag_tree, XFS_ICI_RECLAIM_TAG)) { in xfs_reclaim_work_queue()
195 queue_delayed_work(mp->m_reclaim_workqueue, &mp->m_reclaim_work, in xfs_reclaim_work_queue()
[all …]
H A Dxfs_error.h11 extern void xfs_error_report(const char *tag, int level, struct xfs_mount *mp,
15 struct xfs_mount *mp, const void *buf, size_t bufsize,
28 #define XFS_ERROR_REPORT(e, lvl, mp) \ argument
29 xfs_error_report(e, lvl, mp, __FILE__, __LINE__, __return_address)
30 #define XFS_CORRUPTION_ERROR(e, lvl, mp, buf, bufsize) \ argument
31 xfs_corruption_error(e, lvl, mp, buf, bufsize, \
42 extern int xfs_errortag_init(struct xfs_mount *mp);
43 extern void xfs_errortag_del(struct xfs_mount *mp);
44 extern bool xfs_errortag_test(struct xfs_mount *mp, const char *expression,
46 #define XFS_TEST_ERROR(expr, mp, tag) \ argument
[all …]
H A Dxfs_notify_failure.c35 struct xfs_mount *mp, in xfs_failure_pgoff() argument
39 loff_t pos = XFS_FSB_TO_B(mp, rec->rm_offset); in xfs_failure_pgoff()
42 pos += XFS_FSB_TO_B(mp, in xfs_failure_pgoff()
49 struct xfs_mount *mp, in xfs_failure_pgcnt() argument
64 return XFS_FSB_TO_B(mp, end_cross - start_cross) >> PAGE_SHIFT; in xfs_failure_pgcnt()
73 struct xfs_mount *mp = cur->bc_mp; in xfs_dax_failure_fn() local
85 error = xfs_iget(mp, cur->bc_tp, rec->rm_owner, XFS_IGET_INCORE, in xfs_dax_failure_fn()
96 xfs_failure_pgoff(mp, rec, notify), in xfs_dax_failure_fn()
97 xfs_failure_pgcnt(mp, rec, notify), in xfs_dax_failure_fn()
105 struct xfs_mount *mp, in xfs_dax_notify_ddev_failure() argument
[all …]
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_trans_space.h14 #define XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) \ argument
15 (((mp)->m_rmap_mxr[0]) - ((mp)->m_rmap_mnr[0]))
18 #define XFS_RMAPADD_SPACE_RES(mp) ((mp)->m_rmap_maxlevels) argument
28 #define XFS_NRMAPADD_SPACE_RES(mp, b)\ argument
29 (((b + XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) - 1) / \
30 XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp)) * \
31 XFS_RMAPADD_SPACE_RES(mp))
33 #define XFS_MAX_CONTIG_EXTENTS_PER_BLOCK(mp) \ argument
34 (((mp)->m_alloc_mxr[0]) - ((mp)->m_alloc_mnr[0]))
35 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument
[all …]
H A Dxfs_trans_resv.c67 struct xfs_mount *mp, in xfs_allocfree_block_count() argument
72 blocks = num_ops * 2 * (2 * mp->m_alloc_maxlevels - 1); in xfs_allocfree_block_count()
73 if (xfs_has_rmapbt(mp)) in xfs_allocfree_block_count()
74 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_block_count()
86 struct xfs_mount *mp, in xfs_refcountbt_block_count() argument
89 return num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_refcountbt_block_count()
123 struct xfs_mount *mp, in xfs_calc_inode_res() argument
129 mp->m_sb.sb_inodesize + in xfs_calc_inode_res()
130 2 * XFS_BMBT_BLOCK_LEN(mp)); in xfs_calc_inode_res()
145 struct xfs_mount *mp) in xfs_calc_inobt_res() argument
[all …]
H A Dxfs_types.c23 struct xfs_mount *mp, in xfs_verify_agno_agbno() argument
29 eoag = xfs_ag_block_count(mp, agno); in xfs_verify_agno_agbno()
32 if (agbno <= XFS_AGFL_BLOCK(mp)) in xfs_verify_agno_agbno()
43 struct xfs_mount *mp, in xfs_verify_fsbno() argument
46 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, fsbno); in xfs_verify_fsbno()
48 if (agno >= mp->m_sb.sb_agcount) in xfs_verify_fsbno()
50 return xfs_verify_agno_agbno(mp, agno, XFS_FSB_TO_AGBNO(mp, fsbno)); in xfs_verify_fsbno()
59 struct xfs_mount *mp, in xfs_verify_fsbext() argument
66 if (!xfs_verify_fsbno(mp, fsbno)) in xfs_verify_fsbext()
69 if (!xfs_verify_fsbno(mp, fsbno + len - 1)) in xfs_verify_fsbext()
[all …]
H A Dxfs_ag.c43 struct xfs_mount *mp, in xfs_perag_get() argument
49 pag = radix_tree_lookup(&mp->m_perag_tree, agno); in xfs_perag_get()
64 struct xfs_mount *mp, in xfs_perag_get_tag() argument
72 found = radix_tree_gang_lookup_tag(&mp->m_perag_tree, in xfs_perag_get_tag()
114 struct xfs_mount *mp, in xfs_perag_grab() argument
120 pag = radix_tree_lookup(&mp->m_perag_tree, agno); in xfs_perag_grab()
135 struct xfs_mount *mp, in xfs_perag_grab_tag() argument
143 found = radix_tree_gang_lookup_tag(&mp->m_perag_tree, in xfs_perag_grab_tag()
175 struct xfs_mount *mp, in xfs_initialize_perag_data() argument
180 struct xfs_sb *sbp = &mp->m_sb; in xfs_initialize_perag_data()
[all …]
H A Dxfs_sb.c185 struct xfs_mount *mp, in xfs_validate_sb_read() argument
196 xfs_warn(mp, in xfs_validate_sb_read()
199 xfs_warn(mp, in xfs_validate_sb_read()
204 xfs_alert(mp, in xfs_validate_sb_read()
208 if (!xfs_is_readonly(mp)) { in xfs_validate_sb_read()
209 xfs_warn(mp, in xfs_validate_sb_read()
211 xfs_warn(mp, in xfs_validate_sb_read()
218 xfs_warn(mp, in xfs_validate_sb_read()
222 xfs_warn(mp, in xfs_validate_sb_read()
233 struct xfs_mount *mp, in xfs_validate_sb_write() argument
[all …]
H A Dxfs_log_rlimit.c25 struct xfs_mount *mp) in xfs_log_calc_max_attrsetm_res() argument
30 size = xfs_attr_leaf_entsize_local_max(mp->m_attr_geo->blksize) - in xfs_log_calc_max_attrsetm_res()
32 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res()
33 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res()
34 nblks += XFS_NEXTENTADD_SPACE_RES(mp, size, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res()
36 return M_RES(mp)->tr_attrsetm.tr_logres + in xfs_log_calc_max_attrsetm_res()
37 M_RES(mp)->tr_attrsetrt.tr_logres * nblks; in xfs_log_calc_max_attrsetm_res()
46 struct xfs_mount *mp, in xfs_log_calc_trans_resv_for_minlogblocks() argument
49 unsigned int rmap_maxlevels = mp->m_rmap_maxlevels; in xfs_log_calc_trans_resv_for_minlogblocks()
59 if (xfs_has_rmapbt(mp) && xfs_has_reflink(mp)) in xfs_log_calc_trans_resv_for_minlogblocks()
[all …]
H A Dxfs_format.h435 #define XFS_SB_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_SB_DADDR) argument
437 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d)) argument
438 #define XFS_DADDR_TO_FSB(mp,d) XFS_AGB_TO_FSB(mp, \ argument
439 xfs_daddr_to_agno(mp,d), xfs_daddr_to_agbno(mp,d))
440 #define XFS_FSB_TO_DADDR(mp,fsbno) XFS_AGB_TO_DADDR(mp, \ argument
441 XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno))
446 #define XFS_FSS_TO_BB(mp,sec) ((sec) << (mp)->m_sectbb_log) argument
451 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) argument
452 #define XFS_BB_TO_FSB(mp,bb) \ argument
453 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log)
[all …]
H A Dxfs_rtbitmap.c56 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtbuf_get() argument
68 ip = issum ? mp->m_rsumip : mp->m_rbmip; in xfs_rtbuf_get()
74 if (XFS_IS_CORRUPT(mp, nmap == 0 || !xfs_bmap_is_written_extent(&map))) in xfs_rtbuf_get()
78 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_rtbuf_get()
79 XFS_FSB_TO_DADDR(mp, map.br_startblock), in xfs_rtbuf_get()
80 mp->m_bsize, 0, &bp, &xfs_rtbuf_ops); in xfs_rtbuf_get()
96 xfs_mount_t *mp, /* file system mount point */ in xfs_rtfind_back() argument
119 block = XFS_BITTOBLOCK(mp, start); in xfs_rtfind_back()
120 error = xfs_rtbuf_get(mp, tp, block, 0, &bp); in xfs_rtfind_back()
128 word = XFS_BITTOWORD(mp, start); in xfs_rtfind_back()
[all …]
/openbmc/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 …]
/openbmc/linux/fs/jfs/
H A Djfs_metapage.c32 #define metapage_locked(mp) test_bit(META_locked, &(mp)->flag) argument
33 #define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag) argument
35 static inline void unlock_metapage(struct metapage *mp) in unlock_metapage() argument
37 clear_bit_unlock(META_locked, &mp->flag); in unlock_metapage()
38 wake_up(&mp->wait); in unlock_metapage()
41 static inline void __lock_metapage(struct metapage *mp) in __lock_metapage() argument
45 add_wait_queue_exclusive(&mp->wait, &wait); in __lock_metapage()
48 if (metapage_locked(mp)) { in __lock_metapage()
49 unlock_page(mp->page); in __lock_metapage()
51 lock_page(mp->page); in __lock_metapage()
[all …]
/openbmc/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 …]
H A Dmacmace.c103 struct mace_data *mp = netdev_priv(dev); in mace_load_rxdma_base() local
106 psc_write_long(PSC_ENETRD_ADDR + set, (u32) mp->rx_ring_phys); in mace_load_rxdma_base()
109 mp->rx_tail = 0; in mace_load_rxdma_base()
118 struct mace_data *mp = netdev_priv(dev); in mace_rxdma_reset() local
119 volatile struct mace *mace = mp->mace; in mace_rxdma_reset()
133 mp->rx_slot = 0; in mace_rxdma_reset()
145 struct mace_data *mp = netdev_priv(dev); in mace_txdma_reset() local
146 volatile struct mace *mace = mp->mace; in mace_txdma_reset()
154 mp->tx_slot = mp->tx_sloti = 0; in mace_txdma_reset()
155 mp->tx_count = N_TX_RING; in mace_txdma_reset()
[all …]
/openbmc/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 = from_timer(mp, t, mib_counters_timer); mib_counters_timer_wrapper() local
1354 get_rx_coal(struct mv643xx_eth_private * mp) get_rx_coal() argument
1371 set_rx_coal(struct mv643xx_eth_private * mp,unsigned int usec) set_rx_coal() argument
1396 get_tx_coal(struct mv643xx_eth_private * mp) get_tx_coal() argument
1408 set_tx_coal(struct mv643xx_eth_private * mp,unsigned int usec) set_tx_coal() argument
1483 mv643xx_eth_get_link_ksettings_phy(struct mv643xx_eth_private * mp,struct ethtool_link_ksettings * cmd) mv643xx_eth_get_link_ksettings_phy() argument
1502 mv643xx_eth_get_link_ksettings_phyless(struct mv643xx_eth_private * mp,struct ethtool_link_ksettings * cmd) mv643xx_eth_get_link_ksettings_phyless() argument
1570 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_get_link_ksettings() local
1620 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_get_coalesce() local
1633 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_set_coalesce() local
1646 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_get_ringparam() local
1660 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_set_ringparam() local
1688 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_set_features() local
1714 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_get_ethtool_stats() local
1765 uc_addr_get(struct mv643xx_eth_private * mp,unsigned char * addr) uc_addr_get() argument
1778 uc_addr_set(struct mv643xx_eth_private * mp,const u8 * addr) uc_addr_set() argument
1808 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_program_unicast_filter() local
1864 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_program_multicast_filter() local
1938 rxq_init(struct mv643xx_eth_private * mp,int index) rxq_init() argument
2007 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); rxq_deinit() local
2034 txq_init(struct mv643xx_eth_private * mp,int index) txq_init() argument
2124 struct mv643xx_eth_private *mp = txq_to_mp(txq); txq_deinit() local
2147 mv643xx_eth_collect_events(struct mv643xx_eth_private * mp) mv643xx_eth_collect_events() argument
2183 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_irq() local
2194 handle_link_event(struct mv643xx_eth_private * mp) handle_link_event() argument
2247 struct mv643xx_eth_private *mp; mv643xx_eth_poll() local
2313 struct mv643xx_eth_private *mp = from_timer(mp, t, rx_oom); oom_timer_wrapper() local
2318 port_start(struct mv643xx_eth_private * mp) port_start() argument
2394 mv643xx_eth_recalc_skb_size(struct mv643xx_eth_private * mp) mv643xx_eth_recalc_skb_size() argument
2424 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_open() local
2491 port_reset(struct mv643xx_eth_private * mp) port_reset() argument
2519 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_stop() local
2563 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_change_mtu() local
2589 struct mv643xx_eth_private *mp; tx_timeout_task() local
2602 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_tx_timeout() local
2612 struct mv643xx_eth_private *mp = netdev_priv(dev); mv643xx_eth_netpoll() local
2914 phy_addr_set(struct mv643xx_eth_private * mp,int phy_addr) phy_addr_set() argument
2925 phy_addr_get(struct mv643xx_eth_private * mp) phy_addr_get() argument
2934 set_params(struct mv643xx_eth_private * mp,struct mv643xx_eth_platform_data * pd) set_params() argument
2973 get_phy_mode(struct mv643xx_eth_private * mp) get_phy_mode() argument
2990 phy_scan(struct mv643xx_eth_private * mp,int phy_addr) phy_scan() argument
3026 phy_init(struct mv643xx_eth_private * mp,int speed,int duplex) phy_init() argument
3047 init_pscr(struct mv643xx_eth_private * mp,int speed,int duplex) init_pscr() argument
3096 struct mv643xx_eth_private *mp; mv643xx_eth_probe() local
3284 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev); mv643xx_eth_remove() local
3302 struct mv643xx_eth_private *mp = platform_get_drvdata(pdev); mv643xx_eth_shutdown() local
[all...]
/openbmc/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 …]
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpci-meson.c76 static struct reset_control *meson_pcie_get_reset(struct meson_pcie *mp, in meson_pcie_get_reset() argument
80 struct device *dev = mp->pci.dev; in meson_pcie_get_reset()
91 static int meson_pcie_get_resets(struct meson_pcie *mp) in meson_pcie_get_resets() argument
93 struct meson_pcie_rc_reset *mrst = &mp->mrst; in meson_pcie_get_resets()
95 mrst->port = meson_pcie_get_reset(mp, "port", PCIE_NORMAL_RESET); in meson_pcie_get_resets()
100 mrst->apb = meson_pcie_get_reset(mp, "apb", PCIE_SHARED_RESET); in meson_pcie_get_resets()
109 struct meson_pcie *mp) in meson_pcie_get_mems() argument
111 struct dw_pcie *pci = &mp->pci; in meson_pcie_get_mems()
117 mp->cfg_base = devm_platform_ioremap_resource_byname(pdev, "cfg"); in meson_pcie_get_mems()
118 if (IS_ERR(mp->cfg_base)) in meson_pcie_get_mems()
[all …]
/openbmc/linux/drivers/isdn/capi/
H A Dcapi.c145 static int capiminor_add_ack(struct capiminor *mp, u16 datahandle) in capiminor_add_ack() argument
156 spin_lock_bh(&mp->ackqlock); in capiminor_add_ack()
157 list_add_tail(&n->list, &mp->ackqueue); in capiminor_add_ack()
158 mp->nack++; in capiminor_add_ack()
159 spin_unlock_bh(&mp->ackqlock); in capiminor_add_ack()
163 static int capiminor_del_ack(struct capiminor *mp, u16 datahandle) in capiminor_del_ack() argument
167 spin_lock_bh(&mp->ackqlock); in capiminor_del_ack()
168 list_for_each_entry_safe(p, tmp, &mp->ackqueue, list) { in capiminor_del_ack()
171 mp->nack--; in capiminor_del_ack()
172 spin_unlock_bh(&mp->ackqlock); in capiminor_del_ack()
[all …]

12345678910>>...17