/openbmc/linux/fs/xfs/ |
H A D | xfs_mount.c | 298 if ((BBTOB(mp->m_dalign) & mp->m_blockmask) || in xfs_validate_new_dalign() 299 (BBTOB(mp->m_swidth) & mp->m_blockmask)) { in xfs_validate_new_dalign() 309 mp->m_dalign = XFS_BB_TO_FSBT(mp, mp->m_dalign); in xfs_validate_new_dalign() 310 if (mp->m_dalign && (mp->m_sb.sb_agblocks % mp->m_dalign)) { in xfs_validate_new_dalign() 320 mp->m_dalign, mp->m_sb.sb_blocksize); in xfs_validate_new_dalign() 324 mp->m_swidth = XFS_BB_TO_FSBT(mp, mp->m_swidth); in xfs_validate_new_dalign() 410 if (mp->m_logdev_targp == mp->m_ddev_targp) in xfs_check_sizes() 500 mp->m_sb.sb_ifree > mp->m_sb.sb_icount)) in xfs_check_summary_counts() 822 error = xfs_log_mount(mp, mp->m_logdev_targp, in xfs_mountfs() 1026 if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp) in xfs_mountfs() [all …]
|
H A D | xfs_super.c | 205 (int)XFS_FSB_TO_BB(mp, mp->m_dalign)); in xfs_fs_show_options() 408 if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp) { in xfs_shutdown_devices() 521 if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp) { in xfs_setup_devices() 759 if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp) in xfs_mount_free() 904 mp->m_resblks_save = mp->m_resblks; in xfs_save_resvblks() 1117 gc->mp = mp; in xfs_inodegc_init_percpu() 1425 if (xfs_has_noalign(mp) && (mp->m_dalign || mp->m_swidth)) { in xfs_fs_validate_params() 1442 if (mp->m_dalign && (mp->m_swidth % mp->m_dalign != 0)) { in xfs_fs_validate_params() 1445 mp->m_swidth, mp->m_dalign); in xfs_fs_validate_params() 1938 mp->m_maxagi = xfs_set_inode_alloc(mp, mp->m_sb.sb_agcount); in xfs_fs_reconfigure() [all …]
|
H A D | xfs_fsops.c | 109 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private() 153 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, in xfs_growfs_data_private() 157 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, -delta, 0, in xfs_growfs_data_private() 205 mp->m_alloc_set_aside = xfs_alloc_set_aside(mp); in xfs_growfs_data_private() 274 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growdata, in xfs_growfs_imaxpct() 317 uint64_t icount = mp->m_sb.sb_dblocks * mp->m_sb.sb_imax_pct; in xfs_growfs_data() 319 M_IGEO(mp)->maxicount = XFS_FSB_TO_INO(mp, icount); in xfs_growfs_data() 487 xfs_mount_t *mp, in xfs_fs_goingdown() argument 566 xfs_alert(mp, in xfs_do_force_shutdown() 592 xfs_warn(mp, in xfs_fs_reserve_ag_blocks() [all …]
|
H A D | xfs_qm.c | 670 mp->m_qflags |= (mp->m_sb.sb_qflags & XFS_ALL_QUOTA_CHKD); in xfs_qm_init_quotainfo() 779 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_create, in xfs_qm_qino_alloc() 813 mp->m_sb.sb_qflags = mp->m_qflags & XFS_ALL_QUOTA_ACCT; in xfs_qm_qino_alloc() 929 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, in xfs_qm_reset_dqcounts_all() 942 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, in xfs_qm_reset_dqcounts_all() 1001 maxlblkcnt = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); in xfs_qm_reset_dqcounts_buf() 1396 xfs_warn(mp, in xfs_qm_quotacheck() 1498 mp->m_sb.sb_qflags = mp->m_qflags & XFS_MOUNT_QUOTA_ALL; in xfs_qm_mount_quotas() 1544 error = xfs_iget(mp, NULL, mp->m_sb.sb_uquotino, in xfs_qm_init_quotainos() 1552 error = xfs_iget(mp, NULL, mp->m_sb.sb_gquotino, in xfs_qm_init_quotainos() [all …]
|
H A D | xfs_rtalloc.c | 63 if (mp->m_rsum_cache && low < mp->m_rsum_cache[bbno]) in xfs_rtany_summary() 91 if (mp->m_rsum_cache && log > mp->m_rsum_cache[bbno]) in xfs_rtany_summary() 861 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_growrtzero, in xfs_growfs_rt_alloc() 960 if (!mp->m_rbmip || !mp->m_rsumip) in xfs_growfs_rt() 977 if (xfs_has_rmapbt(mp) || xfs_has_reflink(mp) || xfs_has_quota(mp)) in xfs_growfs_rt() 1018 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_disk_size); in xfs_growfs_rt() 1051 *nmp = *mp; in xfs_growfs_rt() 1158 xfs_trans_resv_calc(mp, &mp->m_resv); in xfs_growfs_rt() 1295 mp->m_rbmip = mp->m_rsumip = NULL; in xfs_rtmount_init() 1299 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in xfs_rtmount_init() [all …]
|
H A D | xfs_qm_syscalls.c | 24 xfs_mount_t *mp, in xfs_qm_scall_quotaoff() argument 45 mp->m_sb.sb_qflags = mp->m_qflags; in xfs_qm_scall_quotaoff() 55 struct xfs_mount *mp, in xfs_qm_scall_trunc_qfile() argument 71 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_itruncate, 0, 0, 0, &tp); in xfs_qm_scall_trunc_qfile() 103 xfs_mount_t *mp, in xfs_qm_scall_trunc_qfiles() argument 116 error = xfs_qm_scall_trunc_qfile(mp, mp->m_sb.sb_uquotino); in xfs_qm_scall_trunc_qfiles() 121 error = xfs_qm_scall_trunc_qfile(mp, mp->m_sb.sb_gquotino); in xfs_qm_scall_trunc_qfiles() 126 error = xfs_qm_scall_trunc_qfile(mp, mp->m_sb.sb_pquotino); in xfs_qm_scall_trunc_qfiles() 138 xfs_mount_t *mp, in xfs_qm_scall_quotaon() argument 167 xfs_debug(mp, in xfs_qm_scall_quotaon() [all …]
|
H A D | xfs_error.h | 28 #define XFS_ERROR_REPORT(e, lvl, mp) \ argument 46 #define XFS_TEST_ERROR(expr, mp, tag) \ argument 49 #define XFS_ERRORTAG_DELAY(mp, tag) \ argument 52 if (!xfs_errortag_enabled((mp), (tag))) \ 54 xfs_warn_ratelimited((mp), \ 57 (mp)->m_super->s_id); \ 58 mdelay((mp)->m_errortag[(tag)]); \ 67 #define xfs_errortag_init(mp) (0) argument 68 #define xfs_errortag_del(mp) argument 72 #define xfs_errortag_add(mp, tag) (ENOSYS) argument [all …]
|
H A D | xfs_notify_failure.c | 35 struct xfs_mount *mp, in xfs_failure_pgoff() argument 42 pos += XFS_FSB_TO_B(mp, in xfs_failure_pgoff() 49 struct xfs_mount *mp, in xfs_failure_pgcnt() argument 73 struct xfs_mount *mp = cur->bc_mp; in xfs_dax_failure_fn() local 105 struct xfs_mount *mp, in xfs_dax_notify_ddev_failure() argument 132 pag = xfs_perag_get(mp, agno); in xfs_dax_notify_ddev_failure() 192 if (mp->m_rtdev_targp && mp->m_rtdev_targp->bt_daxdev == dax_dev) { in xfs_dax_notify_failure() 193 xfs_debug(mp, in xfs_dax_notify_failure() 198 if (mp->m_logdev_targp && mp->m_logdev_targp->bt_daxdev == dax_dev && in xfs_dax_notify_failure() 199 mp->m_logdev_targp != mp->m_ddev_targp) { in xfs_dax_notify_failure() [all …]
|
H A D | xfs_icache.c | 72 struct xfs_mount *mp, in xfs_inode_alloc() argument 99 ip->i_mount = mp; in xfs_inode_alloc() 195 queue_delayed_work(mp->m_reclaim_workqueue, &mp->m_reclaim_work, in xfs_reclaim_work_queue() 305 struct xfs_mount *mp, in xfs_reinit_inode() argument 751 if (!ino || XFS_INO_TO_AGNO(mp, ino) >= mp->m_sb.sb_agcount) in xfs_iget() 757 pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, ino)); in xfs_iget() 958 return xfs_is_unmounting(mp) || xfs_has_norecovery(mp) || in xfs_want_reclaim_sick() 1181 pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, ip->i_ino)); in xfs_blockgc_set_iflag() 1218 pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, ip->i_ino)); in xfs_blockgc_clear_iflag() 1807 pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, ip->i_ino)); in xfs_inodegc_set_reclaimable() [all …]
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_trans_space.h | 15 (((mp)->m_rmap_mxr[0]) - ((mp)->m_rmap_mnr[0])) 18 #define XFS_RMAPADD_SPACE_RES(mp) ((mp)->m_rmap_maxlevels) argument 34 (((mp)->m_alloc_mxr[0]) - ((mp)->m_alloc_mnr[0])) 51 (XFS_DAENTER_1B(mp,w) * XFS_DAENTER_DBS(mp,w)) 53 XFS_NEXTENTADD_SPACE_RES(mp, XFS_DAENTER_1B(mp, w), w) 55 (XFS_DAENTER_DBS(mp,w) * XFS_DAENTER_BMAP1B(mp,w)) 57 (XFS_DAENTER_BLOCKS(mp,w) + XFS_DAENTER_BMAPS(mp,w)) 58 #define XFS_DAREMOVE_SPACE_RES(mp,w) XFS_DAENTER_BMAPS(mp,w) argument 80 (XFS_IALLOC_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp,nl)) 90 (XFS_IALLOC_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp,nl)) [all …]
|
H A D | xfs_trans_resv.c | 67 struct xfs_mount *mp, in xfs_allocfree_block_count() argument 73 if (xfs_has_rmapbt(mp)) in xfs_allocfree_block_count() 86 struct xfs_mount *mp, in xfs_refcountbt_block_count() argument 123 struct xfs_mount *mp, in xfs_calc_inode_res() argument 145 struct xfs_mount *mp) in xfs_calc_inobt_res() argument 166 struct xfs_mount *mp) in xfs_calc_finobt_res() argument 191 struct xfs_mount *mp, in xfs_calc_inode_chunk_res() argument 217 struct xfs_mount *mp, in xfs_rtalloc_block_count() argument 257 struct xfs_mount *mp, in xfs_calc_refcountbt_reservation() argument 549 xfs_calc_buf_res(XFS_DIROP_LOG_COUNT(mp), XFS_FSB_TO_B(mp, 1)) + in xfs_calc_create_resv_modify() [all …]
|
H A D | xfs_types.c | 23 struct xfs_mount *mp, in xfs_verify_agno_agbno() argument 43 struct xfs_mount *mp, in xfs_verify_fsbno() argument 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 82 struct xfs_mount *mp, in xfs_verify_agno_agino() argument 99 struct xfs_mount *mp, in xfs_verify_ino() argument 115 struct xfs_mount *mp, in xfs_internal_inum() argument 118 return ino == mp->m_sb.sb_rbmino || ino == mp->m_sb.sb_rsumino || in xfs_internal_inum() 129 struct xfs_mount *mp, in xfs_verify_dir_ino() argument 143 struct xfs_mount *mp, in xfs_verify_rtbno() argument [all …]
|
H A D | xfs_ag.c | 296 return __xfs_ag_block_count(mp, agno, mp->m_sb.sb_agcount, in xfs_ag_block_count() 447 mp->m_ag_prealloc_blocks = xfs_prealloc_blocks(mp); in xfs_initialize_perag() 640 XFS_FSB_TO_AGBNO(mp, mp->m_sb.sb_logstart)); in xfs_rmaproot_init() 712 XFS_FSB_TO_AGBNO(mp, mp->m_sb.sb_logstart) - logblocks); in xfs_agfblock_init() 828 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGF_DADDR(mp)), in xfs_ag_init_headers() 835 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGFL_DADDR(mp)), in xfs_ag_init_headers() 842 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGI_DADDR(mp)), in xfs_ag_init_headers() 849 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_BNO_BLOCK(mp)), in xfs_ag_init_headers() 856 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_CNT_BLOCK(mp)), in xfs_ag_init_headers() 863 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_IBT_BLOCK(mp)), in xfs_ag_init_headers() [all …]
|
H A D | xfs_log_rlimit.c | 25 struct xfs_mount *mp) in xfs_log_calc_max_attrsetm_res() argument 33 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res() 46 struct xfs_mount *mp, in xfs_log_calc_trans_resv_for_minlogblocks() argument 59 if (xfs_has_rmapbt(mp) && xfs_has_reflink(mp)) in xfs_log_calc_trans_resv_for_minlogblocks() 62 xfs_trans_resv_calc(mp, resv); in xfs_log_calc_trans_resv_for_minlogblocks() 64 if (xfs_has_reflink(mp)) { in xfs_log_calc_trans_resv_for_minlogblocks() 73 } else if (xfs_has_rmapbt(mp)) { in xfs_log_calc_trans_resv_for_minlogblocks() 106 struct xfs_mount *mp, in xfs_log_get_max_trans_res() argument 149 struct xfs_mount *mp) in xfs_log_calc_minimum_size() argument 156 xfs_log_get_max_trans_res(mp, &tres); in xfs_log_calc_minimum_size() [all …]
|
H A D | xfs_sb.c | 973 mp->m_maxagi = mp->m_sb.sb_agcount; in xfs_sb_mount_common() 980 mp->m_blockwmask = mp->m_blockwsize - 1; in xfs_sb_mount_common() 984 mp->m_alloc_mnr[0] = mp->m_alloc_mxr[0] / 2; in xfs_sb_mount_common() 985 mp->m_alloc_mnr[1] = mp->m_alloc_mxr[1] / 2; in xfs_sb_mount_common() 994 mp->m_rmap_mnr[0] = mp->m_rmap_mxr[0] / 2; in xfs_sb_mount_common() 995 mp->m_rmap_mnr[1] = mp->m_rmap_mxr[1] / 2; in xfs_sb_mount_common() 999 mp->m_refc_mnr[0] = mp->m_refc_mxr[0] / 2; in xfs_sb_mount_common() 1000 mp->m_refc_mnr[1] = mp->m_refc_mxr[1] / 2; in xfs_sb_mount_common() 1002 mp->m_bsize = XFS_FSB_TO_BB(mp, 1); in xfs_sb_mount_common() 1291 XFS_AG_DADDR(mp, agno, XFS_SB_BLOCK(mp)), in xfs_sb_read_secondary() [all …]
|
H A D | xfs_format.h | 438 #define XFS_DADDR_TO_FSB(mp,d) XFS_AGB_TO_FSB(mp, \ argument 580 #define XFS_AGF_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGF_DADDR(mp)) argument 651 #define XFS_AGI_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGI_DADDR(mp)) argument 658 #define XFS_AGFL_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_AGFL_DADDR(mp)) argument 972 ((mp)->m_sb.sb_inodesize - XFS_DINODE_SIZE(mp)) 1107 #define XFS_INO_AGNO_BITS(mp) (mp)->m_agno_log argument 1109 XFS_INO_AGNO_BITS(mp) + XFS_INO_AGINO_BITS(mp) 1120 XFS_AGB_TO_FSB(mp, XFS_INO_TO_AGNO(mp,i), XFS_INO_TO_AGBNO(mp,i)) 1144 #define XFS_BLOCKMASK(mp) ((mp)->m_blockmask) argument 1145 #define XFS_BLOCKWSIZE(mp) ((mp)->m_blockwsize) argument [all …]
|
/openbmc/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-context.c | 41 mp->notify_prev->notify_next = mp; in pvr2_context_set_notify() 51 mp->notify_next->notify_prev = mp->notify_prev; in pvr2_context_set_notify() 56 mp->notify_prev->notify_next = mp->notify_next; in pvr2_context_set_notify() 74 mp->exist_next->exist_prev = mp->exist_prev; in pvr2_context_destroy() 79 mp->exist_prev->exist_next = mp->exist_next; in pvr2_context_destroy() 89 kfree(mp); in pvr2_context_destroy() 117 if (mp->setup_func) mp->setup_func(mp); in pvr2_context_check() 135 if (mp->disconnect_flag && !mp->mc_first) { in pvr2_context_check() 207 mp = kzalloc(sizeof(*mp),GFP_KERNEL); in pvr2_context_create() 217 mp->exist_prev->exist_next = mp; in pvr2_context_create() [all …]
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_metapage.c | 106 if (mp) { in insert_metapage() 110 a->mp[index] = mp; in insert_metapage() 124 BUG_ON(a->mp[index] != mp); in remove_metapage() 154 if (mp) { in insert_metapage() 178 if (mp) { in alloc_metapage() 223 if (mp->count || mp->nohomeok || test_bit(META_dirty, &mp->flag) || in drop_metapage() 309 if (mp && test_bit(META_io, &mp->flag)) { in last_write_complete() 365 if (!mp || !test_bit(META_dirty, &mp->flag)) in metapage_writepage() 540 if (mp->count || mp->nohomeok || in metapage_release_folio() 745 if (mp->count || mp->nohomeok) { in put_metapage() [all …]
|
H A D | jfs_metapage.h | 45 #define mark_metapage_dirty(mp) set_bit(META_dirty, &(mp)->flag) argument 75 release_metapage(mp); in write_metapage() 81 write_metapage(mp); in flush_metapage() 88 release_metapage(mp); in discard_metapage() 95 if (!mp->nohomeok++) { in metapage_nohomeok() 96 mark_metapage_dirty(mp); in metapage_nohomeok() 118 if (!--mp->nohomeok) in _metapage_homeok() 119 put_page(mp->page); in _metapage_homeok() 124 hold_metapage(mp); in metapage_homeok() 125 _metapage_homeok(mp); in metapage_homeok() [all …]
|
/openbmc/linux/drivers/net/ethernet/apple/ |
H A D | mace.c | 156 mp->mdev = mdev; in mace_probe() 173 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) | in mace_probe() 197 mp->rx_cmds = mp->tx_cmds + NCMDS_TX * N_TX_RING + 1; in mace_probe() 251 mp->chipid >> 8, mp->chipid & 0xff); in mace_probe() 426 for (i = mp->tx_empty; i != mp->tx_fill; ) { in mace_clean_rings() 573 if (!mp->tx_bad_runt && mp->tx_active < MAX_TX_ACTIVE) { in mace_xmit_start() 791 if (!mp->tx_bad_runt && i != mp->tx_fill && mp->tx_active < MAX_TX_ACTIVE) { in mace_interrupt() 810 struct mace_data *mp = from_timer(mp, t, tx_timeout); in mace_tx_timeout() local 821 if (mp->tx_active == 0 && !mp->tx_bad_runt) in mace_tx_timeout() 827 cp = mp->tx_cmds + NCMDS_TX * mp->tx_empty; in mace_tx_timeout() [all …]
|
H A D | macmace.c | 109 mp->rx_tail = 0; in mace_load_rxdma_base() 133 mp->rx_slot = 0; in mace_rxdma_reset() 154 mp->tx_slot = mp->tx_sloti = 0; in mace_txdma_reset() 219 mp->chipid = mp->mace->chipid_hi << 8 | mp->mace->chipid_lo; in mace_probe() 388 mp->tx_ring = dma_alloc_coherent(mp->device, in mace_open() 394 mp->rx_ring = dma_alloc_coherent(mp->device, in mace_open() 420 mp->tx_ring, mp->tx_ring_phys); in mace_open() 461 mp->tx_count--; in mace_xmit_start() 708 mp->rx_tail++; in mace_dma_intr() 753 mp->rx_ring, mp->rx_ring_phys); in mac_mace_device_remove() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 610 skb = netdev_alloc_skb(mp->dev, mp->skb_size); in rxq_refill() 1278 return rdl(mp, MIB_COUNTERS(mp->port_num) + offset); in mib_read() 2152 int_cause = rdlp(mp, INT_CAUSE) & mp->int_mask; in mv643xx_eth_collect_events() 2270 queue_mask = mp->work_tx | mp->work_tx_end | mp->work_rx; in mv643xx_eth_poll() 2305 wrlp(mp, INT_MASK, mp->int_mask); in mv643xx_eth_poll() 2367 mv643xx_eth_set_features(mp->dev, mp->dev->features); in port_start() 2476 wrlp(mp, INT_MASK, mp->int_mask); in mv643xx_eth_open() 2619 wrlp(mp, INT_MASK, mp->int_mask); in mv643xx_eth_netpoll() 3175 mp->t_clk = clk_get_rate(mp->clk); in mv643xx_eth_probe() 3177 mp->t_clk = clk_get_rate(mp->shared->clk); in mv643xx_eth_probe() [all …]
|
/openbmc/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_malloc.c | 184 ++mp->nump; in ___mp0_get_mem_cluster() 192 --mp->nump; in ___mp0_free_mem_cluster() 256 mp && !sym_m_pool_match(mp->dev_dmat, dev_dmat); in ___get_dma_pool() 257 mp = mp->next); in ___get_dma_pool() 258 return mp; in ___get_dma_pool() 265 if (mp) { in ___cre_dma_pool() 273 return mp; in ___cre_dma_pool() 307 if (!mp) in __sym_calloc_dma() 309 if (!mp) in __sym_calloc_dma() 329 if (!mp) in __sym_mfree_dma() [all …]
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pci-meson.c | 118 if (IS_ERR(mp->cfg_base)) in meson_pcie_get_mems() 128 ret = phy_init(mp->phy); in meson_pcie_power_on() 134 phy_exit(mp->phy); in meson_pcie_power_on() 143 phy_power_off(mp->phy); in meson_pcie_power_off() 144 phy_exit(mp->phy); in meson_pcie_power_off() 152 ret = phy_reset(mp->phy); in meson_pcie_reset() 404 struct meson_pcie *mp; in meson_pcie_probe() local 407 mp = devm_kzalloc(dev, sizeof(*mp), GFP_KERNEL); in meson_pcie_probe() 408 if (!mp) in meson_pcie_probe() 411 pci = &mp->pci; in meson_pcie_probe() [all …]
|
/openbmc/linux/drivers/isdn/capi/ |
H A D | capi.c | 158 mp->nack++; in capiminor_add_ack() 203 kfree(mp); in capiminor_destroy() 216 mp = kzalloc(sizeof(*mp), GFP_KERNEL); in capiminor_alloc() 217 if (!mp) { in capiminor_alloc() 255 return mp; in capiminor_alloc() 273 if (mp) in capiminor_get() 277 return mp; in capiminor_get() 309 if (mp) { in capincci_free_minor() 326 if (mp) { in capincci_minor_opencount() 931 if (mp) in capi_ioctl() [all …]
|