/linux-master/fs/xfs/libxfs/ |
H A D | xfs_dir2.c | 106 struct xfs_mount *mp) 111 ASSERT(mp->m_sb.sb_versionnum & XFS_SB_VERSION_DIRV2BIT); 112 ASSERT(xfs_dir2_dirblock_bytes(&mp->m_sb) <= XFS_MAX_BLOCKSIZE); 114 mp->m_dir_geo = kzalloc(sizeof(struct xfs_da_geometry), 116 mp->m_attr_geo = kzalloc(sizeof(struct xfs_da_geometry), 118 if (!mp->m_dir_geo || !mp->m_attr_geo) { 119 kfree(mp->m_dir_geo); 120 kfree(mp->m_attr_geo); 125 dageo = mp 105 xfs_da_mount( struct xfs_mount *mp) argument 185 xfs_da_unmount( struct xfs_mount *mp) argument 214 xfs_dir_ino_validate( xfs_mount_t *mp, xfs_ino_t ino) argument 575 struct xfs_mount *mp = dp->i_mount; local 617 struct xfs_mount *mp = args->dp->i_mount; local 676 struct xfs_mount *mp; local 755 xfs_dir2_hashname( struct xfs_mount *mp, const struct xfs_name *name) argument [all...] |
H A D | xfs_ialloc.h | 31 xfs_make_iptr(struct xfs_mount *mp, struct xfs_buf *b, int o) argument 33 return xfs_buf_offset(b, o << (mp)->m_sb.sb_inodelog); 87 int xfs_ialloc_inode_init(struct xfs_mount *mp, struct xfs_trans *tp, 94 void xfs_inobt_btrec_to_irec(struct xfs_mount *mp, 108 int xfs_ialloc_cluster_alignment(struct xfs_mount *mp); 109 void xfs_ialloc_setup_geometry(struct xfs_mount *mp); 110 xfs_ino_t xfs_ialloc_calc_rootino(struct xfs_mount *mp, int sunit);
|
H A D | xfs_alloc.c | 47 struct xfs_mount *mp) 49 unsigned int size = mp->m_sb.sb_sectsize; 51 if (xfs_has_crc(mp)) 59 struct xfs_mount *mp) 61 if (xfs_has_rmapbt(mp)) 62 return XFS_RMAP_BLOCK(mp) + 1; 63 if (xfs_has_finobt(mp)) 64 return XFS_FIBT_BLOCK(mp) + 1; 65 return XFS_IBT_BLOCK(mp) + 1; 70 struct xfs_mount *mp) 46 xfs_agfl_size( struct xfs_mount *mp) argument 58 xfs_refc_block( struct xfs_mount *mp) argument 69 xfs_prealloc_blocks( struct xfs_mount *mp) argument 115 xfs_alloc_set_aside( struct xfs_mount *mp) argument 136 xfs_alloc_ag_max_usable( struct xfs_mount *mp) argument 273 struct xfs_mount *mp = cur->bc_mp; local 491 struct xfs_mount *mp; local 683 struct xfs_mount *mp = bp->b_mount; local 719 struct xfs_mount *mp = bp->b_mount; local 744 struct xfs_mount *mp = bp->b_mount; local 781 struct xfs_mount *mp = pag->pag_mount; local 1947 struct xfs_mount *mp; local 2277 xfs_alloc_compute_maxlevels( xfs_mount_t *mp) argument 2331 xfs_alloc_min_freelist( struct xfs_mount *mp, struct xfs_perag *pag) argument 2469 xfs_agfl_needs_reset( struct xfs_mount *mp, struct xfs_agf *agf) argument 2519 struct xfs_mount *mp = tp->t_mountp; local 2558 struct xfs_mount *mp = tp->t_mountp; local 2597 struct xfs_mount *mp = tp->t_mountp; local 2792 struct xfs_mount *mp = args->mp; local 2991 struct xfs_mount *mp = tp->t_mountp; local 3092 struct xfs_mount *mp = tp->t_mountp; local 3148 struct xfs_mount *mp = bp->b_mount; local 3196 struct xfs_mount *mp = bp->b_mount; local 3269 struct xfs_mount *mp = bp->b_mount; local 3286 struct xfs_mount *mp = bp->b_mount; local 3324 struct xfs_mount *mp = pag->pag_mount; local 3428 struct xfs_mount *mp = args->mp; local 3526 struct xfs_mount *mp = args->mp; local 3614 struct xfs_mount *mp = args->mp; local 3668 struct xfs_mount *mp = args->mp; local 3737 struct xfs_mount *mp = args->mp; local 3793 struct xfs_mount *mp = args->mp; local 3828 struct xfs_mount *mp = args->mp; local 3865 struct xfs_mount *mp = args->mp; local 3942 struct xfs_mount *mp = tp->t_mountp; local 4076 xfs_agfl_walk( struct xfs_mount *mp, struct xfs_agf *agf, struct xfs_buf *agflbp, xfs_agfl_walk_fn walk_fn, void *priv) argument [all...] |
H A D | xfs_bmap.c | 55 xfs_mount_t *mp, /* file system mount structure */ 78 maxleafents = xfs_iext_max_nextents(xfs_has_large_extent_counts(mp), 86 minleafrecs = mp->m_bmap_dmnr[0]; 87 minnoderecs = mp->m_bmap_dmnr[1]; 95 mp->m_bm_maxlevels[whichfork] = level; 96 ASSERT(mp->m_bm_maxlevels[whichfork] <= xfs_bmbt_maxlevels_ondisk()); 101 struct xfs_mount *mp) 103 if (mp->m_sb.sb_inodesize == 256) 104 return XFS_LITINO(mp) - XFS_BMDR_SPACE_CALC(MINABTPTRS); 179 xfs_mount_t *mp; /* moun local 54 xfs_bmap_compute_maxlevels( xfs_mount_t *mp, int whichfork) argument 100 xfs_bmap_compute_attr_offset( struct xfs_mount *mp) argument 232 xfs_bmap_read_buf( struct xfs_mount *mp, struct xfs_trans *tp, xfs_fsblock_t fsbno, struct xfs_buf **bpp) argument 285 xfs_check_block( struct xfs_btree_block *block, xfs_mount_t *mp, int root, short sz) argument 346 struct xfs_mount *mp = ip->i_mount; local 568 struct xfs_mount *mp = ip->i_mount; local 645 struct xfs_mount *mp; /* mount structure */ local 892 xfs_mount_t *mp; /* file system mount struct */ local 1035 xfs_mount_t *mp; /* mount structure */ local 1125 struct xfs_mount *mp = ip->i_mount; local 1154 struct xfs_mount *mp = cur->bc_mp; local 1214 struct xfs_mount *mp = ip->i_mount; local 1449 struct xfs_mount *mp = bma->ip->i_mount; local 2024 struct xfs_mount *mp = ip->i_mount; local 2715 struct xfs_mount *mp = ip->i_mount; local 2951 xfs_bmap_extsize_align( xfs_mount_t *mp, xfs_bmbt_irec_t *gotp, xfs_bmbt_irec_t *prevp, xfs_extlen_t extsz, int rt, int eof, int delay, int convert, xfs_fileoff_t *offp, xfs_extlen_t *lenp) argument 3132 xfs_mount_t *mp; /* mount point structure */ local 3321 struct xfs_mount *mp = args->mp; local 3411 struct xfs_mount *mp = args->mp; local 3485 struct xfs_mount *mp = ap->ip->i_mount; local 3564 struct xfs_mount *mp = args->mp; local 3777 struct xfs_mount *mp = ap->ip->i_mount; local 3967 struct xfs_mount *mp = ip->i_mount; local 4065 struct xfs_mount *mp = ip->i_mount; local 4154 struct xfs_mount *mp = bma->ip->i_mount; local 4191 struct xfs_mount *mp = bma->ip->i_mount; local 4426 struct xfs_mount *mp = ip->i_mount; local 4611 struct xfs_mount *mp = ip->i_mount; local 4743 struct xfs_mount *mp = ip->i_mount; local 4906 struct xfs_mount *mp = ip->i_mount; local 5029 struct xfs_mount *mp = ip->i_mount; local 5116 xfs_mount_t *mp; /* mount structure */ local 5367 struct xfs_mount *mp = ip->i_mount; local 5727 struct xfs_mount *mp = ip->i_mount; local 5808 struct xfs_mount *mp = ip->i_mount; local 5850 struct xfs_mount *mp = ip->i_mount; local 5965 struct xfs_mount *mp = ip->i_mount; local 6071 struct xfs_mount *mp = ip->i_mount; local 6272 xfs_bmap_validate_extent_raw( struct xfs_mount *mp, bool rtfile, int whichfork, struct xfs_bmbt_irec *irec) argument [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | repair.c | 115 struct xfs_mount *mp) 117 xfs_alert_ratelimited(mp, 270 struct xfs_mount *mp = sc->mp; local 287 pag = xfs_perag_get(mp, sm->sm_agno); 331 trace_xrep_calc_ag_resblks(mp, sm->sm_agno, icount, aglen, 339 bnobt_sz = 2 * xfs_allocbt_calc_size(mp, freelen); 340 if (xfs_has_sparseinodes(mp)) 341 inobt_sz = xfs_iallocbt_calc_size(mp, icount / 344 inobt_sz = xfs_iallocbt_calc_size(mp, icoun 114 xrep_failure( struct xfs_mount *mp) argument 455 xrep_findroot_agfl_walk( struct xfs_mount *mp, xfs_agblock_t bno, void *priv) argument 474 struct xfs_mount *mp = ri->sc->mp; local 664 struct xfs_mount *mp = sc->mp; local 699 struct xfs_mount *mp = sc->mp; local 831 struct xfs_mount *mp = sc->mp; local 1175 xrep_trans_alloc_hook_dummy( struct xfs_mount *mp, void **cookiep, struct xfs_trans **tpp) argument [all...] |
H A D | quota_repair.c | 63 struct xfs_mount *mp = sc->mp; local 70 error = xfs_trans_reserve_more(sc->tp, XFS_QM_DQALLOC_SPACE_RES(mp), 83 dq->q_blkno = XFS_FSB_TO_DADDR(mp, irec->br_startblock); 85 trace_xrep_dquot_item_fill_bmap_hole(sc->mp, dq->q_type, dq->q_id); 88 error = xfs_trans_get_buf(sc->tp, mp->m_ddev_targp, dq->q_blkno, 89 mp->m_quotainfo->qi_dqchunklen, 0, &bp); 115 struct xfs_mount *mp = sc->mp; local 116 struct xfs_quotainfo *qi = mp 178 struct xfs_mount *mp = sc->mp; local 270 xrep_quota_fix_timer( struct xfs_mount *mp, const struct xfs_disk_dquot *ddq, __be64 softlimit, __be64 countnow, __be32 *timer, time64_t timelimit) argument [all...] |
H A D | iscan.c | 66 struct xfs_mount *mp = sc->mp; local 67 xfs_agnumber_t skip_agno = XFS_INO_TO_AGNO(mp, iscan->skip_ino); 68 xfs_agnumber_t skip_agino = XFS_INO_TO_AGINO(mp, iscan->skip_ino); 96 struct xfs_mount *mp = sc->mp; local 106 xfs_agino_range(mp, agno, &first, &last); 143 XFS_IS_CORRUPT(mp, lastino >= rec.ir_startino)) { 205 struct xfs_mount *mp = sc->mp; local 266 struct xfs_mount *mp = sc->mp; local 383 struct xfs_mount *mp = sc->mp; local 613 xchk_iscan_rotor( struct xfs_mount *mp) argument [all...] |
H A D | inode.c | 78 struct xfs_mount *mp = sc->mp; local 82 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, sc->sm->sm_ino); 98 if (xfs_internal_inum(mp, sc->sm->sm_ino)) 100 if (!xfs_verify_ino(sc->mp, sc->sm->sm_ino)) 167 pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, sc->sm->sm_ino)); 199 trace_xchk_op_error(sc, agno, XFS_INO_TO_AGBNO(mp, sc->sm->sm_ino), 222 fa = xfs_inode_validate_extsize(sc->mp, value, mode, flags); 237 xfs_extlen_to_rtxmod(sc->mp, valu 274 struct xfs_mount *mp = sc->mp; local 320 struct xfs_mount *mp = sc->mp; local 379 struct xfs_mount *mp = sc->mp; local 724 struct xfs_mount *mp = sc->mp; local [all...] |
H A D | quotacheck_repair.c | 111 trace_xrep_quotacheck_dquot(xqc->sc->mp, dq->q_type, dq->q_id); 147 struct xfs_mount *mp = sc->mp; local 185 error = xfs_qm_dqget(mp, id, dqtype, true, &dq); 204 struct xfs_mount *mp) 208 if (XFS_IS_UQUOTA_ON(mp)) 210 if (XFS_IS_GQUOTA_ON(mp)) 212 if (XFS_IS_PQUOTA_ON(mp)) 223 unsigned int qflags = xqcheck_chkd_flags(sc->mp); 203 xqcheck_chkd_flags( struct xfs_mount *mp) argument
|
/linux-master/fs/xfs/ |
H A D | xfs_iomap.c | 32 #define XFS_ALLOC_ALIGN(mp, off) \ 33 (((off) >> mp->m_allocsize_log) << mp->m_allocsize_log) 101 struct xfs_mount *mp = ip->i_mount; local 127 iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff); 128 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount); 163 struct xfs_mount *mp, 167 ASSERT(offset <= mp->m_super->s_maxbytes); 168 return min(XFS_B_TO_FSB(mp, offset + count), 169 XFS_B_TO_FSB(mp, m 162 xfs_iomap_end_fsb( struct xfs_mount *mp, loff_t offset, loff_t count) argument 176 struct xfs_mount *mp = ip->i_mount; local 248 struct xfs_mount *mp = ip->i_mount; local 423 struct xfs_mount *mp = ip->i_mount; local 559 xfs_mount_t *mp = ip->i_mount; local 791 struct xfs_mount *mp = ip->i_mount; local 965 struct xfs_mount *mp = ip->i_mount; local 1211 struct xfs_mount *mp = XFS_M(inode->i_sb); local 1248 struct xfs_mount *mp = ip->i_mount; local 1293 struct xfs_mount *mp = ip->i_mount; local 1381 struct xfs_mount *mp = ip->i_mount; local [all...] |
H A D | xfs_xattr.c | 32 struct xfs_mount *mp) 40 xlog_use_incompat_feat(mp->m_log); 46 if (xfs_sb_version_haslogxattrs(&mp->m_sb)) 55 if (!xfs_has_reflink(mp) && !xfs_has_rmapbt(mp)) { 61 error = xfs_add_incompat_log_feature(mp, 66 xfs_warn_mount(mp, XFS_OPSTATE_WARNED_LARP, 71 xlog_drop_incompat_feat(mp->m_log); 77 struct xfs_mount *mp) 79 xlog_drop_incompat_feat(mp 31 xfs_attr_grab_log_assist( struct xfs_mount *mp) argument 76 xfs_attr_rele_log_assist( struct xfs_mount *mp) argument 83 xfs_attr_want_log_assist( struct xfs_mount *mp) argument 102 struct xfs_mount *mp = args->dp->i_mount; local [all...] |
H A D | xfs_extent_busy.h | 57 xfs_extent_busy_clear(struct xfs_mount *mp, struct list_head *list, 61 xfs_extent_busy_search(struct xfs_mount *mp, struct xfs_perag *pag, 65 xfs_extent_busy_reuse(struct xfs_mount *mp, struct xfs_perag *pag, 77 xfs_extent_busy_wait_all(struct xfs_mount *mp);
|
H A D | xfs_quota.h | 27 #define XFS_NOT_DQATTACHED(mp, ip) \ 28 ((XFS_IS_UQUOTA_ON(mp) && (ip)->i_udquot == NULL) || \ 29 (XFS_IS_GQUOTA_ON(mp) && (ip)->i_gdquot == NULL) || \ 30 (XFS_IS_PQUOTA_ON(mp) && (ip)->i_pdquot == NULL)) 32 #define XFS_QM_NEED_QUOTACHECK(mp) \ 33 ((XFS_IS_UQUOTA_ON(mp) && \ 34 (mp->m_sb.sb_qflags & XFS_UQUOTA_CHKD) == 0) || \ 35 (XFS_IS_GQUOTA_ON(mp) && \ 36 (mp->m_sb.sb_qflags & XFS_GQUOTA_CHKD) == 0) || \ 37 (XFS_IS_PQUOTA_ON(mp) 182 xfs_trans_reserve_quota_bydquots(struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long nions, uint flags) argument [all...] |
H A D | xfs_iunlink_item.c | 55 struct xfs_mount *mp = tp->t_mountp; local 62 error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &ibp); 83 trace_xfs_iunlink_update_dinode(mp, iup->pag->pag_agno, 84 XFS_INO_TO_AGINO(mp, ip->i_ino), 91 xfs_dinode_calc_crc(mp, dip); 147 struct xfs_mount *mp = tp->t_mountp; local 165 xfs_log_item_init(mp, &iup->item, XFS_LI_IUNLINK,
|
H A D | xfs_qm.h | 96 xfs_quota_inode(struct xfs_mount *mp, xfs_dqtype_t type) argument 100 return mp->m_quotainfo->qi_uquotaip; 102 return mp->m_quotainfo->qi_gquotaip; 104 return mp->m_quotainfo->qi_pquotaip; 156 extern int xfs_qm_scall_getquota(struct xfs_mount *mp, 160 extern int xfs_qm_scall_getquota_next(struct xfs_mount *mp, 164 extern int xfs_qm_scall_setqlim(struct xfs_mount *mp,
|
H A D | xfs_ioctl.c | 640 xfs_bulkstat_to_bstat(breq->mp, &bs1, bstat); 665 struct xfs_mount *mp = XFS_I(file_inode(file))->i_mount; local 668 .mp = mp, 681 if (xfs_is_shutdown(mp)) 757 struct xfs_mount *mp, 784 breq->startino = mp->m_sb.sb_rootino; 798 if (hdr->agno >= mp->m_sb.sb_agcount) 802 breq->startino = XFS_AGINO_TO_INO(mp, hdr->agno, 0); 803 else if (XFS_INO_TO_AGNO(mp, bre 756 xfs_bulk_ireq_setup( struct xfs_mount *mp, const struct xfs_bulk_ireq *hdr, struct xfs_ibulk *breq, void __user *ubuffer) argument 844 struct xfs_mount *mp = XFS_I(file_inode(file))->i_mount; local 891 xfs_ioc_inumbers( struct xfs_mount *mp, unsigned int cmd, struct xfs_inumbers_req __user *arg) argument 930 xfs_ioc_fsgeometry( struct xfs_mount *mp, void __user *arg, int struct_version) argument 955 xfs_ioc_ag_geometry( struct xfs_mount *mp, void __user *arg) argument 994 struct xfs_mount *mp = ip->i_mount; local 1123 struct xfs_mount *mp = ip->i_mount; local 1172 struct xfs_mount *mp = ip->i_mount; local 1199 struct xfs_mount *mp = ip->i_mount; local 1232 struct xfs_mount *mp = ip->i_mount; local 1274 struct xfs_mount *mp = ip->i_mount; local 1316 struct xfs_mount *mp = ip->i_mount; local 1748 xfs_ioc_getlabel( struct xfs_mount *mp, char __user *user_label) argument 1770 xfs_ioc_setlabel( struct file *filp, struct xfs_mount *mp, char __user *newlabel) argument 1881 struct xfs_mount *mp = XFS_I(file_inode(filp))->i_mount; local 1915 xfs_ioctl_fs_counts( struct xfs_mount *mp, struct xfs_fsop_counts __user *uarg) argument 1955 struct xfs_mount *mp = ip->i_mount; local [all...] |
H A D | xfs_buf_item_recover.c | 212 struct xfs_mount *mp, 231 if (!xfs_has_crc(mp)) 302 xfs_alert(mp, 399 xfs_warn(mp, "Unknown buffer type %d!", 413 xfs_warn(mp, warnmsg); 432 xfs_buf_item_init(bp, mp); 446 struct xfs_mount *mp, 458 trace_xfs_log_recover_buf_reg_buf(mp->m_log, buf_f); 495 xfs_alert(mp, 500 xfs_alert(mp, 211 xlog_recover_validate_buf_type( struct xfs_mount *mp, struct xfs_buf *bp, struct xfs_buf_log_format *buf_f, xfs_lsn_t current_lsn) argument 445 xlog_recover_do_reg_buffer( struct xfs_mount *mp, struct xlog_recover_item *item, struct xfs_buf *bp, struct xfs_buf_log_format *buf_f, xfs_lsn_t current_lsn) argument 539 xlog_recover_do_dquot_buffer( struct xfs_mount *mp, struct xlog *log, struct xlog_recover_item *item, struct xfs_buf *bp, struct xfs_buf_log_format *buf_f) argument 586 xlog_recover_do_inode_buffer( struct xfs_mount *mp, struct xlog_recover_item *item, struct xfs_buf *bp, struct xfs_buf_log_format *buf_f) argument 708 xlog_recover_get_buf_lsn( struct xfs_mount *mp, struct xfs_buf *bp, struct xfs_buf_log_format *buf_f) argument 891 struct xfs_mount *mp = log->l_mp; local [all...] |
H A D | xfs_refcount_item.c | 138 struct xfs_mount *mp, 152 xfs_log_item_init(mp, &cuip->cui_item, XFS_LI_CUI, &xfs_cui_item_ops); 295 struct xfs_mount *mp = tp->t_mountp; local 296 struct xfs_cui_log_item *cuip = xfs_cui_init(mp, count); 302 list_sort(mp, items, xfs_refcount_update_diff_items); 330 struct xfs_mount *mp, 335 agno = XFS_FSB_TO_AGNO(mp, ri->ri_startblock); 336 ri->ri_pag = xfs_perag_intent_get(mp, agno); 397 struct xfs_mount *mp, 400 if (!xfs_has_reflink(mp)) 137 xfs_cui_init( struct xfs_mount *mp, uint nextents) argument 329 xfs_refcount_update_get_group( struct xfs_mount *mp, struct xfs_refcount_intent *ri) argument 396 xfs_cui_validate_phys( struct xfs_mount *mp, struct xfs_phys_extent *pmap) argument 420 xfs_cui_recover_work( struct xfs_mount *mp, struct xfs_defer_pending *dfp, struct xfs_phys_extent *pmap) argument 450 struct xfs_mount *mp = lip->li_log->l_mp; local 583 struct xfs_mount *mp = log->l_mp; local [all...] |
H A D | xfs_inode.c | 767 struct xfs_mount *mp = tp->t_mountp; local 781 if ((pip && ino == pip->i_ino) || !xfs_verify_dir_ino(mp, ino)) { 782 xfs_alert(mp, "Allocated a known in-use inode 0x%llx!", ino); 783 xfs_agno_mark_sick(mp, XFS_INO_TO_AGNO(mp, ino), 792 error = xfs_iget(mp, tp, ino, XFS_IGET_CREATE, XFS_ILOCK_EXCL, &ip); 802 if (dir && !(dir->i_mode & S_ISGID) && xfs_has_grpid(mp)) { 830 if (xfs_has_v3inodes(mp)) { 870 if (init_xattrs && xfs_has_attr(mp)) { 971 struct xfs_mount *mp local 979 xfs_dir_hook_add( struct xfs_mount *mp, struct xfs_dir_hook *hook) argument 988 xfs_dir_hook_del( struct xfs_mount *mp, struct xfs_dir_hook *hook) argument 1016 struct xfs_mount *mp = dp->i_mount; local 1176 struct xfs_mount *mp = dp->i_mount; local 1269 xfs_mount_t *mp = tdp->i_mount; local 1413 struct xfs_mount *mp = ip->i_mount; local 1479 xfs_mount_t *mp = ip->i_mount; local 1566 struct xfs_mount *mp = ip->i_mount; local 1615 struct xfs_mount *mp = ip->i_mount; local 1706 struct xfs_mount *mp = ip->i_mount; local 1760 struct xfs_mount *mp = ip->i_mount; local 1797 struct xfs_mount *mp; local 2045 struct xfs_mount *mp = pag->pag_mount; local 2100 struct xfs_mount *mp = tp->t_mountp; local 2158 struct xfs_mount *mp = tp->t_mountp; local 2187 struct xfs_mount *mp = tp->t_mountp; local 2285 struct xfs_mount *mp = pag->pag_mount; local 2382 struct xfs_mount *mp = free_ip->i_mount; local 2463 struct xfs_mount *mp = ip->i_mount; local 2605 xfs_mount_t *mp = dp->i_mount; local 2980 struct xfs_mount *mp = src_dp->i_mount; local 3333 struct xfs_mount *mp = ip->i_mount; local 3493 struct xfs_mount *mp = bp->b_mount; local 3804 struct xfs_mount *mp = tp->t_mountp; local [all...] |
H A D | xfs_attr_inactive.c | 89 struct xfs_mount *mp = bp->b_mount; local 96 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); 137 struct xfs_mount *mp = dp->i_mount; local 212 error = xfs_trans_get_buf(*trans, mp->m_ddev_targp, 214 XFS_FSB_TO_BB(mp, mp->m_attr_geo->fsbcount), 0, 260 struct xfs_mount *mp = dp->i_mount; local 304 error = xfs_trans_get_buf(*trans, mp->m_ddev_targp, blkno, 305 XFS_FSB_TO_BB(mp, mp 335 struct xfs_mount *mp; local [all...] |
H A D | xfs_bmap_util.c | 61 struct xfs_mount *mp = ip->i_mount; local 64 sector_t block = XFS_BB_TO_FSBT(mp, sector); 67 block << (mp->m_super->s_blocksize_bits - 9), 68 count_fsb << (mp->m_super->s_blocksize_bits - 9), 111 struct xfs_mount *mp = ip->i_mount; local 129 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); 261 struct xfs_mount *mp = ip->i_mount; local 312 max_len = mp->m_super->s_maxbytes; 336 max_len = mp->m_super->s_maxbytes; 359 max_len = XFS_FSB_TO_BB(mp, XFS_B_TO_FS 449 struct xfs_mount *mp = ip->i_mount; local 501 struct xfs_mount *mp = ip->i_mount; local 579 struct xfs_mount *mp = ip->i_mount; local 634 xfs_mount_t *mp = ip->i_mount; local 768 struct xfs_mount *mp = ip->i_mount; local 806 struct xfs_mount *mp = ip->i_mount; local 828 struct xfs_mount *mp = ip->i_mount; local 896 struct xfs_mount *mp = ip->i_mount; local 961 struct xfs_mount *mp = ip->i_mount; local 1029 struct xfs_mount *mp = ip->i_mount; local 1490 struct xfs_mount *mp = ip->i_mount; local [all...] |
/linux-master/net/mac80211/ |
H A D | rc80211_minstrel_ht.c | 278 minstrel_ht_update_rates(struct minstrel_priv *mp, struct minstrel_ht_sta *mi); 370 minstrel_ht_get_stats(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, argument 388 for (idx = 0; idx < ARRAY_SIZE(mp->cck_rates); idx++) { 392 if (rate->idx != mp->cck_rates[idx]) 403 for (idx = 0; idx < ARRAY_SIZE(mp->ofdm_rates[0]); idx++) 404 if (rate->idx == mp->ofdm_rates[mi->band][idx]) 416 minstrel_ht_ri_get_stats(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, argument 435 for (idx = 0; idx < ARRAY_SIZE(mp->cck_rates); idx++) { 436 if (rate->legacy != minstrel_cck_bitrates[ mp->cck_rates[idx] ]) 447 for (idx = 0; idx < ARRAY_SIZE(mp 766 minstrel_ht_calc_rate_stats(struct minstrel_priv *mp, struct minstrel_rate_stats *mrs) argument 1059 minstrel_ht_update_stats(struct minstrel_priv *mp, struct minstrel_ht_sta *mi) argument 1197 minstrel_ht_txstat_valid(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, struct ieee80211_tx_rate *rate) argument 1227 minstrel_ht_ri_txstat_valid(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, struct ieee80211_rate_status *rate_status) argument 1289 struct minstrel_priv *mp = priv; local 1382 minstrel_calc_retransmit(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, int index) argument 1442 minstrel_ht_set_rate(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, struct ieee80211_sta_rates *ratetbl, int offset, int index) argument 1550 minstrel_ht_update_rates(struct minstrel_priv *mp, struct minstrel_ht_sta *mi) argument 1579 minstrel_ht_get_sample_rate(struct minstrel_priv *mp, struct minstrel_ht_sta *mi) argument 1602 struct minstrel_priv *mp = priv; local 1652 minstrel_ht_update_cck(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta) argument 1677 minstrel_ht_update_ofdm(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta) argument 1702 struct minstrel_priv *mp = priv; local 1854 struct minstrel_priv *mp = priv; local 1897 minstrel_ht_init_cck_rates(struct minstrel_priv *mp) argument 1916 minstrel_ht_init_ofdm_rates(struct minstrel_priv *mp, enum nl80211_band band) argument 1937 struct minstrel_priv *mp; local 1973 struct minstrel_priv *mp = priv; local [all...] |
/linux-master/drivers/media/pci/bt8xx/ |
H A D | dst_priv.h | 36 int bt878_device_control(struct bt878 *bt, unsigned int cmd, union dst_gpio_packet *mp);
|
/linux-master/arch/arc/kernel/ |
H A D | mcip.c | 81 struct mcip_bcr mp; local 83 READ_BCR(ARC_REG_MCIP_BCR, mp); 89 if (mp.gfrc) 93 if (mp.dbg) 157 struct mcip_bcr mp; local 159 READ_BCR(ARC_REG_MCIP_BCR, mp); 163 mp.ver, mp.num_cores, 164 IS_AVAIL1(mp.ipi, "IPI "), 165 IS_AVAIL1(mp 383 struct mcip_bcr mp; local [all...] |
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-out.c | 318 struct v4l2_pix_format_mplane *mp = &f->fmt.pix_mp; local 322 mp->width = dev->fmt_out_rect.width; 323 mp->height = dev->fmt_out_rect.height; 324 mp->field = dev->field_out; 325 mp->pixelformat = fmt->fourcc; 326 mp->colorspace = dev->colorspace_out; 327 mp->xfer_func = dev->xfer_func_out; 328 mp->ycbcr_enc = dev->ycbcr_enc_out; 329 mp->quantization = dev->quantization_out; 330 mp 351 struct v4l2_pix_format_mplane *mp = &f->fmt.pix_mp; local 447 struct v4l2_pix_format_mplane *mp = &f->fmt.pix_mp; local [all...] |