Searched refs:mp (Results 201 - 225 of 376) sorted by relevance

1234567891011>>

/linux-master/fs/xfs/
H A Dxfs_trans.h108 void xfs_log_item_init(struct xfs_mount *mp, struct xfs_log_item *item,
164 int xfs_trans_alloc(struct xfs_mount *mp, struct xfs_trans_res *resp,
169 int xfs_trans_alloc_empty(struct xfs_mount *mp,
190 int xfs_trans_read_buf_map(struct xfs_mount *mp,
200 struct xfs_mount *mp,
210 return xfs_trans_read_buf_map(mp, tp, target, &map, 1,
256 int xfs_trans_alloc_icreate(struct xfs_mount *mp, struct xfs_trans_res *resv,
199 xfs_trans_read_buf( struct xfs_mount *mp, struct xfs_trans *tp, struct xfs_buftarg *target, xfs_daddr_t blkno, int numblks, xfs_buf_flags_t flags, struct xfs_buf **bpp, const struct xfs_buf_ops *ops) argument
H A Dxfs_trace.h152 TP_PROTO(struct xfs_mount *mp, const struct xfs_defer_op_type *ops,
154 TP_ARGS(mp, ops, error),
161 __entry->dev = mp->m_super->s_dev;
211 TP_PROTO(struct xfs_mount *mp, unsigned int shrinker_hits),
212 TP_ARGS(mp, shrinker_hits),
218 __entry->dev = mp->m_super->s_dev;
227 TP_PROTO(struct xfs_mount *mp, void *caller_ip),
228 TP_ARGS(mp, caller_ip),
237 if (mp) {
238 __entry->dev = mp
[all...]
H A Dxfs_file.c47 struct xfs_mount *mp = ip->i_mount; local
51 if (!is_power_of_2(mp->m_sb.sb_rextsize)) {
55 rextbytes = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize);
62 mask = XFS_FSB_TO_B(mp, mp->m_sb.sb_rextsize) - 1;
64 mask = mp->m_sb.sb_blocksize - 1;
145 struct xfs_mount *mp = ip->i_mount; local
155 if (xfs_is_shutdown(mp))
167 error = blkdev_issue_flush(mp
326 struct xfs_mount *mp = XFS_I(inode)->i_mount; local
356 struct xfs_mount *mp = ip->i_mount; local
1173 struct xfs_mount *mp = src->i_mount; local
[all...]
H A Dxfs_trans_ail.c421 struct xfs_mount *mp = ailp->ail_log->l_mp; local
445 XFS_STATS_INC(mp, xs_push_ail_flush);
473 XFS_STATS_INC(mp, xs_push_ail);
489 XFS_STATS_INC(mp, xs_push_ail_success);
507 XFS_STATS_INC(mp, xs_push_ail_flushing);
515 XFS_STATS_INC(mp, xs_push_ail_pinned);
522 XFS_STATS_INC(mp, xs_push_ail_locked);
900 xfs_mount_t *mp)
909 ailp->ail_log = mp->m_log;
917 mp
899 xfs_trans_ail_init( xfs_mount_t *mp) argument
930 xfs_trans_ail_destroy( xfs_mount_t *mp) argument
[all...]
H A Dxfs_attr_list.c214 struct xfs_mount *mp = dp->i_mount; local
236 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, mp,
241 xfs_da3_node_hdr_from_disk(mp, &nodehdr, node);
270 if (XFS_IS_CORRUPT(mp, cursor->blkno == 0)) {
299 struct xfs_mount *mp = dp->i_mount; local
333 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo,
378 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf);
406 struct xfs_mount *mp = context->dp->i_mount; local
411 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf);
/linux-master/drivers/tee/optee/
H A Doptee_private.h304 const struct optee_msg_param *mp)
308 p->u.value.a = mp->u.value.a;
309 p->u.value.b = mp->u.value.b;
310 p->u.value.c = mp->u.value.c;
313 static inline void optee_to_msg_param_value(struct optee_msg_param *mp, argument
316 mp->attr = OPTEE_MSG_ATTR_TYPE_VALUE_INPUT + p->attr -
318 mp->u.value.a = p->u.value.a;
319 mp->u.value.b = p->u.value.b;
320 mp->u.value.c = p->u.value.c;
303 optee_from_msg_param_value(struct tee_param *p, u32 attr, const struct optee_msg_param *mp) argument
H A Dffa_abi.c124 u32 attr, const struct optee_msg_param *mp)
132 p->u.memref.size = mp->u.fmem.size;
134 if (mp->u.fmem.global_id != OPTEE_MSG_FMEM_INVALID_GLOBAL_ID)
135 shm = optee_shm_from_ffa_handle(optee, mp->u.fmem.global_id);
139 offs_low = mp->u.fmem.offs_low;
140 offs_high = mp->u.fmem.offs_high;
163 const struct optee_msg_param *mp = msg_params + n; local
164 u32 attr = mp->attr & OPTEE_MSG_ATTR_TYPE_MASK;
174 optee_from_msg_param_value(p, attr, mp);
179 from_msg_param_ffa_mem(optee, p, attr, mp);
123 from_msg_param_ffa_mem(struct optee *optee, struct tee_param *p, u32 attr, const struct optee_msg_param *mp) argument
189 to_msg_param_ffa_mem(struct optee_msg_param *mp, const struct tee_param *p) argument
236 struct optee_msg_param *mp = msg_params + n; local
[all...]
H A Dsmc_abi.c83 const struct optee_msg_param *mp)
91 p->u.memref.size = mp->u.tmem.size;
92 shm = (struct tee_shm *)(unsigned long)mp->u.tmem.shm_ref;
103 p->u.memref.shm_offs = mp->u.tmem.buf_ptr - pa;
110 const struct optee_msg_param *mp)
116 p->u.memref.size = mp->u.rmem.size;
117 shm = (struct tee_shm *)(unsigned long)mp->u.rmem.shm_ref;
120 p->u.memref.shm_offs = mp->u.rmem.offs;
146 const struct optee_msg_param *mp = msg_params + n; local
147 u32 attr = mp
82 from_msg_param_tmp_mem(struct tee_param *p, u32 attr, const struct optee_msg_param *mp) argument
109 from_msg_param_reg_mem(struct tee_param *p, u32 attr, const struct optee_msg_param *mp) argument
179 to_msg_param_tmp_mem(struct optee_msg_param *mp, const struct tee_param *p) argument
207 to_msg_param_reg_mem(struct optee_msg_param *mp, const struct tee_param *p) argument
236 struct optee_msg_param *mp = msg_params + n; local
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_defer.h131 void xfs_defer_ops_capture_abort(struct xfs_mount *mp,
137 void xfs_defer_cancel_recovery(struct xfs_mount *mp,
139 int xfs_defer_finish_recovery(struct xfs_mount *mp,
H A Dxfs_alloc_btree.c315 struct xfs_mount *mp = bp->b_mount; local
324 if (xfs_has_crc(mp)) {
362 } else if (level >= mp->m_alloc_maxlevels)
365 return xfs_btree_agblock_verify(bp, mp->m_alloc_mxr[level != 0]);
550 struct xfs_mount *mp,
557 cur = xfs_btree_alloc_cursor(mp, tp, &xfs_bnobt_ops,
558 mp->m_alloc_maxlevels, xfs_allocbt_cur_cache);
576 struct xfs_mount *mp,
583 cur = xfs_btree_alloc_cursor(mp, tp, &xfs_cntbt_ops,
584 mp
549 xfs_bnobt_init_cursor( struct xfs_mount *mp, struct xfs_trans *tp, struct xfs_buf *agbp, struct xfs_perag *pag) argument
575 xfs_cntbt_init_cursor( struct xfs_mount *mp, struct xfs_trans *tp, struct xfs_buf *agbp, struct xfs_perag *pag) argument
637 xfs_allocbt_maxrecs( struct xfs_mount *mp, int blocklen, int leaf) argument
667 xfs_allocbt_calc_size( struct xfs_mount *mp, unsigned long long len) argument
[all...]
/linux-master/net/bridge/
H A Dbr_switchdev.c504 struct net_bridge_mdb_entry *mp; local
512 mp = br_mdb_ip_get(br, &data->ip);
513 if (!mp)
515 for (pp = &mp->ports; (p = mlock_dereference(*pp, br)) != NULL;
528 const struct net_bridge_mdb_entry *mp)
530 if (mp->addr.proto == htons(ETH_P_IP))
531 ip_eth_mc_map(mp->addr.dst.ip4, mdb->addr);
533 else if (mp->addr.proto == htons(ETH_P_IPV6))
534 ipv6_eth_mc_map(&mp->addr.dst.ip6, mdb->addr);
537 ether_addr_copy(mdb->addr, mp
527 br_switchdev_mdb_populate(struct switchdev_obj_port_mdb *mdb, const struct net_bridge_mdb_entry *mp) argument
542 br_switchdev_host_mdb_one(struct net_device *dev, struct net_device *lower_dev, struct net_bridge_mdb_entry *mp, int type) argument
567 br_switchdev_host_mdb(struct net_device *dev, struct net_bridge_mdb_entry *mp, int type) argument
597 br_switchdev_mdb_queue_one(struct list_head *mdb_list, struct net_device *dev, unsigned long action, enum switchdev_obj_id id, const struct net_bridge_mdb_entry *mp, struct net_device *orig_dev) argument
635 br_switchdev_mdb_notify(struct net_device *dev, struct net_bridge_mdb_entry *mp, struct net_bridge_port_group *pg, int type) argument
679 const struct net_bridge_mdb_entry *mp; local
[all...]
H A Dbr_multicast.c350 struct net_bridge_mdb_entry *mp; local
356 mp = br_mdb_ip_get(br, &pg->key.addr);
357 if (!mp)
366 for (pg_lst = mlock_dereference(mp->ports, br);
562 struct net_bridge_mdb_entry *mp; local
569 mp = br_mdb_ip_get(src->br, &sg_ip);
570 if (!mp)
573 for (pp = &mp->ports;
586 br_multicast_del_pg(mp, p, pp);
628 struct net_bridge_mdb_entry *mp; local
638 br_multicast_del_mdb_entry(struct net_bridge_mdb_entry *mp) argument
651 struct net_bridge_mdb_entry *mp = from_timer(mp, t, timer); local
804 br_multicast_del_pg(struct net_bridge_mdb_entry *mp, struct net_bridge_port_group *pg, struct net_bridge_port_group __rcu **pp) argument
837 struct net_bridge_mdb_entry *mp; local
882 struct net_bridge_mdb_entry *mp = br_mdb_ip_get(br, &pg->key.addr); local
1281 struct net_bridge_mdb_entry *mp; local
1474 br_multicast_host_join(const struct net_bridge_mcast *brmctx, struct net_bridge_mdb_entry *mp, bool notify) argument
1491 br_multicast_host_leave(struct net_bridge_mdb_entry *mp, bool notify) argument
1514 struct net_bridge_mdb_entry *mp; local
2767 br_multicast_find_port(struct net_bridge_mdb_entry *mp, struct net_bridge_port *p, const unsigned char *src) argument
3431 struct net_bridge_mdb_entry *mp; local
3511 struct net_bridge_mdb_entry *mp; local
3602 struct net_bridge_mdb_entry *mp; local
4362 struct net_bridge_mdb_entry *mp; local
[all...]
/linux-master/fs/xfs/scrub/
H A Dbmap.c329 struct xfs_mount *mp = info->sc->mp; local
335 agno = XFS_FSB_TO_AGNO(mp, irec->br_startblock);
336 agbno = XFS_FSB_TO_AGBNO(mp, irec->br_startblock);
396 struct xfs_mount *mp = ip->i_mount; local
402 if (!xfs_verify_dablk(mp, irec->br_startoff))
407 if (!xfs_verify_dablk(mp, off))
418 struct xfs_mount *mp = info->sc->mp; local
429 if (!xfs_verify_fileext(mp, ire
529 struct xfs_mount *mp = sc->mp; local
787 struct xfs_mount *mp = info->sc->mp; local
917 struct xfs_mount *mp = sc->mp; local
[all...]
H A Dattr.c77 bmp_sz = sizeof(long) * BITS_TO_LONGS(sc->mp->m_attr_geo->blksize);
256 unsigned int mapsize = sc->mp->m_attr_geo->blksize;
283 unsigned int mapsize = sc->mp->m_attr_geo->blksize;
315 struct xfs_mount *mp = ds->state->mp; local
333 nameidx >= mp->m_attr_geo->blksize) {
369 struct xfs_mount *mp = ds->state->mp; local
388 bitmap_zero(ab->usedmap, mp->m_attr_geo->blksize);
391 if (xfs_has_crc(ds->sc->mp)) {
456 struct xfs_mount *mp = ds->state->mp; local
[all...]
H A Drmap.c190 if (!xfs_has_reflink(sc->mp))
377 struct xfs_mount *mp,
400 struct xfs_mount *mp = sc->mp; local
407 error = xagb_bitmap_set(&cr->fs_owned, XFS_SB_BLOCK(mp),
408 XFS_AGFL_BLOCK(mp) - XFS_SB_BLOCK(mp) + 1);
413 if (xfs_ag_contains_log(mp, sc->sa.pag->pag_agno)) {
415 XFS_FSB_TO_AGBNO(mp, mp
376 xchk_rmapbt_walk_agfl( struct xfs_mount *mp, xfs_agblock_t agbno, void *priv) argument
[all...]
H A Dtrace.h184 __entry->dev = sc->mp->m_super->s_dev;
215 __entry->dev = sc->mp->m_super->s_dev;
274 __entry->dev = sc->mp->m_super->s_dev;
276 __entry->agno = xfs_daddr_to_agno(sc->mp, daddr);
277 __entry->agbno = xfs_daddr_to_agbno(sc->mp, daddr);
308 __entry->dev = sc->mp->m_super->s_dev;
426 __entry->dev = sc->mp->m_super->s_dev;
448 __entry->dev = sc->mp->m_super->s_dev;
476 __entry->dev = sc->mp->m_super->s_dev;
517 __entry->dev = sc->mp
[all...]
H A Dalloc_repair.c213 trace_xrep_abt_found(sc->mp, sc->sa.pag->pag_agno, &arec);
265 struct xfs_mount *mp,
366 struct xfs_mount *mp = sc->mp; local
397 error = xfs_agfl_walk(mp, agf, agfl_bp, xrep_abt_walk_agfl, ra);
487 trace_xrep_newbt_alloc_ag_blocks(sc->mp, sc->sa.pag->pag_agno,
557 trace_xrep_newbt_free_blocks(sc->mp, resv->pag->pag_agno, free_agbno,
738 bno_cur = xfs_bnobt_init_cursor(sc->mp, NULL, NULL, pag);
741 cnt_cur = xfs_cntbt_init_cursor(sc->mp, NULL, NULL, pag);
851 struct xfs_mount *mp local
264 xrep_abt_walk_agfl( struct xfs_mount *mp, xfs_agblock_t agbno, void *priv) argument
[all...]
/linux-master/include/uapi/linux/
H A Dhdlcdrv.h54 struct hdlcdrv_params mp; member in union:hdlcdrv_ioctl::__anon12812
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-vid-common.c824 struct v4l2_pix_format_mplane *mp = &mp_fmt->fmt.pix_mp; local
825 struct v4l2_plane_pix_format *ppix = &mp->plane_fmt[0];
829 memset(mp->reserved, 0, sizeof(mp->reserved));
832 mp->width = pix->width;
833 mp->height = pix->height;
834 mp->pixelformat = pix->pixelformat;
835 mp->field = pix->field;
836 mp->colorspace = pix->colorspace;
837 mp
852 struct v4l2_pix_format_mplane *mp = &fmt.fmt.pix_mp; local
[all...]
/linux-master/fs/
H A Dpnode.h50 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp,
58 const struct mountpoint *mp);
/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c1750 struct msr_counter *mp; local
1793 for (mp = sys.tp; mp; mp = mp->next) {
1795 if (mp->format == FORMAT_RAW) {
1796 if (mp->width == 64)
1797 outp += sprintf(outp, "%s%18.18s", (printed++ ? delim : ""), mp->name);
1799 outp += sprintf(outp, "%s%10.10s", (printed++ ? delim : ""), mp->name);
1801 if ((mp
1947 struct msr_counter *mp; local
2060 struct msr_counter *mp; local
2446 struct msr_counter *mp; local
2511 struct msr_counter *mp; local
2544 struct msr_counter *mp; local
2657 struct msr_counter *mp; local
2744 struct msr_counter *mp; local
2856 struct msr_counter *mp; local
2973 get_mp(int cpu, struct msr_counter *mp, unsigned long long *counterp) argument
3456 struct msr_counter *mp; local
[all...]
/linux-master/net/8021q/
H A Dvlanproc.c266 const struct vlan_priority_tci_mapping *mp local
268 while (mp) {
270 mp->priority, ((mp->vlan_qos >> 13) & 0x7));
271 mp = mp->next;
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_mbox.c65 struct lpfc_dmabuf *mp; local
67 mp = kmalloc(sizeof(*mp), GFP_KERNEL);
68 if (!mp)
71 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys);
72 if (!mp->virt) {
73 kfree(mp);
77 memset(mp->virt, 0, LPFC_BPL_SIZE);
80 INIT_LIST_HEAD(&mp
103 struct lpfc_dmabuf *mp; local
137 struct lpfc_dmabuf *mp; local
351 lpfc_read_topology(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, struct lpfc_dmabuf *mp) argument
668 struct lpfc_dmabuf *mp; local
811 struct lpfc_dmabuf *mp; local
2332 struct lpfc_dmabuf *mp = NULL; local
2380 struct lpfc_dmabuf *mp = mbox->ctx_buf; local
2410 struct lpfc_dmabuf *mp = mbox->ctx_buf; local
2466 struct lpfc_dmabuf *mp = NULL; local
[all...]
H A Dlpfc_ct.c84 struct lpfc_dmabuf *mp, uint32_t size)
86 if (!mp) {
100 struct lpfc_dmabuf *mp, uint32_t size)
102 lpfc_ct_ignore_hbq_buffer(phba, piocbq, mp, size);
119 struct lpfc_dmabuf *mp, *bmp; local
125 mp = cmdiocb->rsp_dmabuf;
127 if (mp) {
128 lpfc_mbuf_free(phba, mp->virt, mp->phys);
129 kfree(mp);
83 lpfc_ct_ignore_hbq_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, struct lpfc_dmabuf *mp, uint32_t size) argument
99 lpfc_ct_unsol_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, struct lpfc_dmabuf *mp, uint32_t size) argument
162 struct lpfc_dmabuf *mp = NULL; local
340 struct lpfc_dmabuf *mp = NULL; local
493 struct lpfc_dmabuf *mp; local
846 lpfc_ns_rsp(struct lpfc_vport *vport, struct lpfc_dmabuf *mp, uint8_t fc4_type, uint32_t Size) argument
1863 struct lpfc_dmabuf *mp; local
1889 struct lpfc_dmabuf *mp, *bmp; local
3667 struct lpfc_dmabuf *mp, *bmp; local
[all...]
/linux-master/fs/jfs/
H A Dxattr.c63 struct metapage *mp; /* metapage containing ea list */ member in struct:ea_buffer
213 struct metapage *mp; local
256 if (!(mp = get_metapage(ip, blkno + i, bytes_to_write, 1))) {
261 memcpy(mp->data, cp, nb);
270 if ((rc = flush_metapage(mp))) {
280 flush_metapage(mp);
362 struct metapage *mp; local
396 if (!(mp = read_metapage(ip, blkno + i, bytes_to_read, 1)))
399 memcpy(cp, mp->data, nb);
400 release_metapage(mp);
[all...]

Completed in 256 milliseconds

1234567891011>>