Home
last modified time | relevance | path

Searched +full:5 +full:mp (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/linux/fs/xfs/
H A Dxfs_error.h11 void xfs_error_report(const char *tag, int level, struct xfs_mount *mp,
13 void xfs_corruption_error(const char *tag, int level, struct xfs_mount *mp,
23 #define XFS_ERROR_REPORT(e, lvl, mp) \ argument
24 xfs_error_report(e, lvl, mp, __FILE__, __LINE__, __return_address)
25 #define XFS_CORRUPTION_ERROR(e, lvl, mp, buf, bufsize) \ argument
26 xfs_corruption_error(e, lvl, mp, buf, bufsize, \
31 #define XFS_ERRLEVEL_HIGH 5
37 int xfs_errortag_init(struct xfs_mount *mp);
38 void xfs_errortag_del(struct xfs_mount *mp);
39 bool xfs_errortag_test(struct xfs_mount *mp, const char *file, int line,
[all …]
H A Dxfs_mount.h18 /* dynamic preallocation free space thresholds, 5% down to 1% */
64 struct xfs_mount *mp; member
351 #define M_IGEO(mp) (&(mp)->m_ino_geo) argument
364 #define XFS_FEAT_LOGV2 (1ULL << 5) /* version 2 logs */
408 static inline bool xfs_has_ ## name (const struct xfs_mount *mp) \
410 return mp->m_features & XFS_FEAT_ ## NAME; \
416 static inline void xfs_add_ ## name (struct xfs_mount *mp) \
418 mp->m_features |= XFS_FEAT_ ## NAME; \
419 xfs_sb_version_add ## name(&mp->m_sb); \
446 static inline bool xfs_has_rtgroups(const struct xfs_mount *mp) in __XFS_ADD_FEAT()
[all …]
H A Dxfs_log.h17 #define XLOG_REG_TYPE_IFORMAT 5
116 int xfs_log_force(struct xfs_mount *mp, uint flags);
117 int xfs_log_force_seq(struct xfs_mount *mp, xfs_csn_t seq, uint flags,
119 int xfs_log_mount(struct xfs_mount *mp,
123 int xfs_log_mount_finish(struct xfs_mount *mp);
125 xfs_lsn_t xlog_assign_tail_lsn(struct xfs_mount *mp);
126 xfs_lsn_t xlog_assign_tail_lsn_locked(struct xfs_mount *mp);
127 void xfs_log_space_wake(struct xfs_mount *mp);
128 int xfs_log_reserve(struct xfs_mount *mp, int length, int count,
130 int xfs_log_regrant(struct xfs_mount *mp, struct xlog_ticket *tic);
[all …]
H A Dxfs_stats.h26 __XBTS_killroot = 5,
175 #define XFS_STATS_INC(mp, v) \ argument
178 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v++; \
181 #define XFS_STATS_DEC(mp, v) \ argument
184 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v--; \
187 #define XFS_STATS_ADD(mp, v, inc) \ argument
190 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v += (inc); \
193 #define XFS_STATS_INC_OFF(mp, off) \ argument
196 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->a[off]++; \
199 #define XFS_STATS_DEC_OFF(mp, off) \ argument
[all …]
H A Dxfs_iwalk.c54 struct xfs_mount *mp; member
98 struct xfs_mount *mp, in xfs_iwalk_ichunk_ra() argument
102 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iwalk_ichunk_ra()
107 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino); in xfs_iwalk_ichunk_ra()
115 xfs_buf_readahead(mp->m_ddev_targp, in xfs_iwalk_ichunk_ra()
117 igeo->blocks_per_cluster * mp->m_bsize, in xfs_iwalk_ichunk_ra()
176 struct xfs_mount *mp = iwag->mp; in xfs_iwalk_ag_recs() local
191 error = iwag->inobt_walk_fn(mp, tp, pag_agno(pag), irec, in xfs_iwalk_ag_recs()
209 error = iwag->iwalk_fn(mp, tp, in xfs_iwalk_ag_recs()
262 struct xfs_mount *mp = iwag->mp; in xfs_iwalk_ag_start() local
[all …]
H A Dxfs_inode.c394 * Currently supports between 2 and 5 inodes with exclusive locking. We in xfs_lock_inodes()
400 ASSERT(ips && inodes >= 2 && inodes <= 5); in xfs_lock_inodes()
469 if ((attempts % 5) == 0) { in xfs_lock_inodes()
517 if ((++attempts % 5) == 0) in xfs_lock_two_inodes()
592 struct xfs_mount *mp = tp->t_mountp; in xfs_icreate() local
600 error = xfs_iget(mp, tp, ino, XFS_IGET_CREATE, XFS_ILOCK_EXCL, &ip); in xfs_icreate()
658 struct xfs_mount *mp = dp->i_mount; in xfs_create() local
672 if (xfs_is_shutdown(mp)) in xfs_create()
683 resblks = xfs_mkdir_space_res(mp, name->len); in xfs_create()
684 tres = &M_RES(mp)->tr_mkdir; in xfs_create()
[all …]
H A Dxfs_qm.h97 xfs_quota_inode(struct xfs_mount *mp, xfs_dqtype_t type) in xfs_quota_inode() argument
101 return mp->m_quotainfo->qi_uquotaip; in xfs_quota_inode()
103 return mp->m_quotainfo->qi_gquotaip; in xfs_quota_inode()
105 return mp->m_quotainfo->qi_pquotaip; in xfs_quota_inode()
140 #define XFS_QM_TRANS_MAXDQS 5
157 extern int xfs_qm_scall_getquota(struct xfs_mount *mp,
161 extern int xfs_qm_scall_getquota_next(struct xfs_mount *mp,
165 extern int xfs_qm_scall_setqlim(struct xfs_mount *mp,
188 int xfs_qm_qino_load(struct xfs_mount *mp, xfs_dqtype_t type,
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 …]
/linux/drivers/hid/
H A Dhid-wiimote-core.c326 cmd[5] = size; in wiiproto_req_wmem()
351 cmd[5] = (size >> 8) & 0xff; in wiiproto_req_rmem()
444 rmem[3] == 0xff && rmem[4] == 0xff && rmem[5] == 0xff) in wiimote_cmd_read_ext()
447 if (rmem[4] == 0x00 && rmem[5] == 0x00) in wiimote_cmd_read_ext()
449 if (rmem[4] == 0x01 && rmem[5] == 0x01) in wiimote_cmd_read_ext()
451 if (rmem[4] == 0x04 && rmem[5] == 0x02) in wiimote_cmd_read_ext()
453 if (rmem[4] == 0x01 && rmem[5] == 0x20) in wiimote_cmd_read_ext()
456 rmem[4] == 0x01 && rmem[5] == 0x03) in wiimote_cmd_read_ext()
459 rmem[4] == 0x01 && rmem[5] == 0x03) in wiimote_cmd_read_ext()
462 rmem[4] == 0x01 && rmem[5] == 0x03) in wiimote_cmd_read_ext()
[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_COMMAND, 1 << rxq->index); in rxq_enable()
[all …]
/linux/drivers/pci/controller/dwc/
H A Dpci-meson.c25 #define PCIE_CAP_MAX_PAYLOAD_SIZE(x) ((x) << 5)
74 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()
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Dqcom,snps-dwc3.yaml28 - qcom,glymur-dwc3-mp
53 - qcom,sc8180x-dwc3-mp
55 - qcom,sc8280xp-dwc3-mp
75 - qcom,x1e80100-dwc3-mp
225 maxItems: 5
300 - qcom,sc8280xp-dwc3-mp
302 - qcom,x1e80100-dwc3-mp
329 maxItems: 5
354 - qcom,sc8180x-dwc3-mp
384 minItems: 5
[all …]
H A Dqcom,dwc3.yaml49 - qcom,sc8180x-dwc3-mp
51 - qcom,sc8280xp-dwc3-mp
71 - qcom,x1e80100-dwc3-mp
233 maxItems: 5
308 - qcom,sc8280xp-dwc3-mp
310 - qcom,x1e80100-dwc3-mp
337 maxItems: 5
361 - qcom,sc8180x-dwc3-mp
392 minItems: 5
395 minItems: 5
[all …]
/linux/fs/jfs/
H A Djfs_metapage.h42 #define META_forcewrite 5
45 #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()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_sb.c195 struct xfs_mount *mp, in xfs_validate_sb_read() argument
202 * Version 5 superblock feature mask validation. Reject combinations in xfs_validate_sb_read()
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()
[all …]
H A Dxfs_sb.h17 extern int xfs_sync_sb(struct xfs_mount *mp, bool wait);
18 extern int xfs_sync_sb_buf(struct xfs_mount *mp, bool update_rtsb);
19 extern void xfs_sb_mount_common(struct xfs_mount *mp, struct xfs_sb *sbp);
20 void xfs_sb_mount_rextsize(struct xfs_mount *mp, struct xfs_sb *sbp);
21 void xfs_mount_sb_set_rextsize(struct xfs_mount *mp,
29 extern int xfs_update_secondary_sbs(struct xfs_mount *mp);
31 #define XFS_FS_GEOM_MAX_STRUCT_VER (5)
32 extern void xfs_fs_geometry(struct xfs_mount *mp, struct xfs_fsop_geom *geo,
34 extern int xfs_sb_read_secondary(struct xfs_mount *mp,
37 extern int xfs_sb_get_secondary(struct xfs_mount *mp,
[all …]
H A Dxfs_format.h34 #define XFS_SB_VERSION_5 5 /* CRC enabled filesystem */
162 /* version 5 superblock fields start here */
256 /* version 5 superblock fields start here */
396 #define XFS_SB_FEAT_INCOMPAT_NREXT64 (1 << 5) /* large extent counters */
467 #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))
[all …]
H A Dxfs_trans_resv.c76 struct xfs_mount *mp, in xfs_allocfree_block_count() argument
81 blocks = num_ops * 2 * (2 * mp->m_alloc_maxlevels - 1); in xfs_allocfree_block_count()
82 if (xfs_has_rmapbt(mp)) in xfs_allocfree_block_count()
83 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_block_count()
95 struct xfs_mount *mp, in xfs_refcountbt_block_count() argument
98 return num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_refcountbt_block_count()
103 struct xfs_mount *mp, in xfs_rtrefcountbt_block_count() argument
106 return num_ops * (2 * mp->m_rtrefc_maxlevels - 1); in xfs_rtrefcountbt_block_count()
140 struct xfs_mount *mp, in xfs_calc_inode_res() argument
146 mp->m_sb.sb_inodesize + in xfs_calc_inode_res()
[all …]
H A Dxfs_health.h65 #define XFS_SICK_FS_NLINKS (1 << 5) /* inode link counts */
82 #define XFS_SICK_AG_CNTBT (1 << 5) /* free space by length */
95 #define XFS_SICK_INO_XATTR (1 << 5) /* extended attributes */
199 void xfs_fs_mark_sick(struct xfs_mount *mp, unsigned int mask);
200 void xfs_fs_mark_corrupt(struct xfs_mount *mp, unsigned int mask);
201 void xfs_fs_mark_healthy(struct xfs_mount *mp, unsigned int mask);
202 void xfs_fs_measure_sickness(struct xfs_mount *mp, unsigned int *sick,
205 void xfs_rgno_mark_sick(struct xfs_mount *mp, xfs_rgnumber_t rgno,
208 void xfs_agno_mark_sick(struct xfs_mount *mp, xfs_agnumber_t agno,
224 void xfs_health_unmount(struct xfs_mount *mp);
[all …]
H A Dxfs_inode_buf.c46 struct xfs_mount *mp = bp->b_mount; in xfs_inode_buf_verify() local
53 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xfs_inode_buf_verify()
59 dip = xfs_buf_offset(bp, (i << mp->m_sb.sb_inodelog)); in xfs_inode_buf_verify()
62 xfs_dinode_good_version(mp, dip->di_version) && in xfs_inode_buf_verify()
65 XFS_TEST_ERROR(mp, XFS_ERRTAG_ITOBP_INOTOBP))) { in xfs_inode_buf_verify()
73 xfs_alert(mp, in xfs_inode_buf_verify()
132 struct xfs_mount *mp, in xfs_imap_to_bp() argument
139 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, imap->im_blkno, in xfs_imap_to_bp()
142 xfs_agno_mark_sick(mp, xfs_daddr_to_agno(mp, imap->im_blkno), in xfs_imap_to_bp()
378 struct xfs_mount *mp, in xfs_dinode_verify_fork() argument
[all …]
/linux/fs/gfs2/
H A Dbmap.c178 * @mp: The metapath to return the result in
200 * | |0 1 2 3 4 5 9|
208 * | 5|
209 * | 4 4 4 4 4 5 5 1|
210 * |0 5 6 7 8 9 0 1 2|
217 * | 1 1 1 1 1 5|
219 * |0 3 4 5 6 7 2|
234 struct metapath *mp, unsigned int height) in find_metapath() argument
238 mp->mp_fheight = height; in find_metapath()
240 mp->mp_list[i] = do_div(block, sdp->sd_inptrs); in find_metapath()
[all …]
/linux/fs/xfs/scrub/
H A Dhealth.c47 * 5. Now we know that A is corrupt and the user wants to repair, so run the
67 * of 5-7 still apply, but with a sick_mask that covers everything being
168 struct xfs_mount *mp) in xchk_mark_all_healthy() argument
173 xfs_fs_mark_healthy(mp, XFS_SICK_FS_INDIRECT); in xchk_mark_all_healthy()
174 while ((pag = xfs_perag_next(mp, pag))) in xchk_mark_all_healthy()
176 while ((rtg = xfs_rtgroup_next(mp, rtg))) in xchk_mark_all_healthy()
207 xchk_mark_all_healthy(sc->mp); in xchk_update_health()
221 pag = xfs_perag_get(sc->mp, sc->sm->sm_agno); in xchk_update_health()
249 xfs_fs_mark_corrupt(sc->mp, mask); in xchk_update_health()
251 xfs_fs_mark_healthy(sc->mp, mask); in xchk_update_health()
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Drouter_mpath_nh_res.sh306 multipath4_test "Weighted MP 2:1" 2 1
308 multipath4_test "Weighted MP 11:45" 11 45
316 multipath6_l4_test "Weighted MP 2:1" 2 1
318 multipath6_l4_test "Weighted MP 11:45" 11 45
332 multipath4_test "Weighted MP 2:1" 1 1
334 multipath4_test "Weighted MP 11:45" 1 1
342 multipath6_l4_test "Weighted MP 2:1" 1 1
344 multipath6_l4_test "Weighted MP 11:45" 1 1
350 log_info "Running multipath tests with an idle timer of 5 seconds"
351 ip nexthop replace id 103 group 101/102 type resilient idle_timer 5
[all …]
/linux/drivers/isdn/capi/
H A Dcapi.c147 static int capiminor_add_ack(struct capiminor *mp, u16 datahandle) in capiminor_add_ack() argument
158 spin_lock_bh(&mp->ackqlock); in capiminor_add_ack()
159 list_add_tail(&n->list, &mp->ackqueue); in capiminor_add_ack()
160 mp->nack++; in capiminor_add_ack()
161 spin_unlock_bh(&mp->ackqlock); in capiminor_add_ack()
165 static int capiminor_del_ack(struct capiminor *mp, u16 datahandle) in capiminor_del_ack() argument
169 spin_lock_bh(&mp->ackqlock); in capiminor_del_ack()
170 list_for_each_entry_safe(p, tmp, &mp->ackqueue, list) { in capiminor_del_ack()
173 mp->nack--; in capiminor_del_ack()
174 spin_unlock_bh(&mp->ackqlock); in capiminor_del_ack()
[all …]
/linux/tools/memory-model/Documentation/
H A Dlitmus-tests.txt68 1 C MP+pooncerelease+poacquireonce
72 5 P0(int *x, int *y)
94 tools/memory-model/litmus-tests/MP+pooncerelease+poacquireonce.litmus
111 Lines 5-9 show the first process and lines 11-18 the second process. Each
183 herd7 -conf linux-kernel.cfg litmus-tests/MP+pooncerelease+poacquireonce.litmus
188 1 Test MP+pooncerelease+poacquireonce Allowed
192 5 1:r0=1; 1:r1=1;
197 10 Observation MP+pooncerelease+poacquireonce Never 0 3
198 11 Time MP+pooncerelease+poacquireonce 0.00
212 Another important part of this output is shown in lines 2-5, repeated here:
[all …]

12345678910>>...12