Searched refs:mp (Results 126 - 150 of 376) sorted by relevance

1234567891011>>

/linux-master/net/bridge/
H A Dbr_mdb.c231 struct net_bridge_mdb_entry *mp,
247 ifindex = mp->br->dev->ifindex;
248 mtimer = &mp->timer;
253 e.vid = mp->addr.vid;
254 if (mp->addr.proto == htons(ETH_P_IP)) {
255 e.addr.u.ip4 = mp->addr.dst.ip4;
257 } else if (mp->addr.proto == htons(ETH_P_IPV6)) {
258 e.addr.u.ip6 = mp->addr.dst.ip6;
261 ether_addr_copy(e.addr.u.mac_addr, mp->addr.dst.mac_addr);
264 e.addr.proto = mp
230 __mdb_fill_info(struct sk_buff *skb, struct net_bridge_mdb_entry *mp, struct net_bridge_port_group *p) argument
323 struct net_bridge_mdb_entry *mp; local
413 nlmsg_populate_mdb_fill(struct sk_buff *skb, struct net_device *dev, struct net_bridge_mdb_entry *mp, struct net_bridge_port_group *pg, int type) argument
520 br_mdb_notify(struct net_device *dev, struct net_bridge_mdb_entry *mp, struct net_bridge_port_group *pg, int type) argument
721 br_mdb_replace_group_sg(const struct br_mdb_config *cfg, struct net_bridge_mdb_entry *mp, struct net_bridge_port_group *pg, struct net_bridge_mcast *brmctx, unsigned char flags) argument
742 br_mdb_add_group_sg(const struct br_mdb_config *cfg, struct net_bridge_mdb_entry *mp, struct net_bridge_mcast *brmctx, unsigned char flags, struct netlink_ext_ack *extack) argument
934 br_mdb_replace_group_star_g(const struct br_mdb_config *cfg, struct net_bridge_mdb_entry *mp, struct net_bridge_port_group *pg, struct net_bridge_mcast *brmctx, unsigned char flags, struct netlink_ext_ack *extack) argument
966 br_mdb_add_group_star_g(const struct br_mdb_config *cfg, struct net_bridge_mdb_entry *mp, struct net_bridge_mcast *brmctx, unsigned char flags, struct netlink_ext_ack *extack) argument
1027 struct net_bridge_mdb_entry *mp; local
1344 struct net_bridge_mdb_entry *mp; local
1458 br_mdb_flush_host(struct net_bridge *br, struct net_bridge_mdb_entry *mp, const struct br_mdb_flush_desc *desc) argument
1479 br_mdb_flush_pgs(struct net_bridge *br, struct net_bridge_mdb_entry *mp, const struct br_mdb_flush_desc *desc) argument
1514 struct net_bridge_mdb_entry *mp; local
1583 br_mdb_get_reply_alloc(const struct net_bridge_mdb_entry *mp) argument
1604 br_mdb_get_reply_fill(struct sk_buff *skb, struct net_bridge_mdb_entry *mp, u32 portid, u32 seq) argument
1661 struct net_bridge_mdb_entry *mp; local
[all...]
/linux-master/fs/xfs/
H A Dxfs_trans_dquot.c244 xfs_mount_t *mp = tp->t_mountp; local
246 if (!XFS_IS_QUOTA_ON(mp) ||
247 xfs_is_quota_inode(&mp->m_sb, ip->i_ino))
250 if (XFS_IS_UQUOTA_ON(mp) && ip->i_udquot)
252 if (XFS_IS_GQUOTA_ON(mp) && ip->i_gdquot)
254 if (XFS_IS_PQUOTA_ON(mp) && ip->i_pdquot)
698 struct xfs_mount *mp,
719 mp->m_super->s_dev, type);
782 struct xfs_mount *mp,
788 struct xfs_quotainfo *q = mp
697 xfs_quota_warn( struct xfs_mount *mp, struct xfs_dquot *dqp, int type) argument
780 xfs_trans_dqresv( struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *dqp, int64_t nblks, long ninos, uint flags) argument
889 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 ninos, uint flags) argument
954 struct xfs_mount *mp = ip->i_mount; local
997 struct xfs_mount *mp = tp->t_mountp; local
[all...]
H A Dxfs_itable.h10 struct xfs_mount *mp; member in struct:xfs_ibulk
58 void xfs_bulkstat_to_bstat(struct xfs_mount *mp, struct xfs_bstat *bs1,
H A Dxfs_sysfs.h56 int xfs_error_sysfs_init(struct xfs_mount *mp);
57 void xfs_error_sysfs_del(struct xfs_mount *mp);
H A Dxfs_dquot.h139 static inline int xfs_this_quota_on(struct xfs_mount *mp, xfs_dqtype_t type) argument
143 return XFS_IS_UQUOTA_ON(mp);
145 return XFS_IS_GQUOTA_ON(mp);
147 return XFS_IS_PQUOTA_ON(mp);
213 int xfs_qm_dqget(struct xfs_mount *mp, xfs_dqid_t id,
218 int xfs_qm_dqget_next(struct xfs_mount *mp, xfs_dqid_t id,
220 int xfs_qm_dqget_uncached(struct xfs_mount *mp,
237 time64_t xfs_dquot_set_timeout(struct xfs_mount *mp, time64_t timeout);
H A Dxfs_fsmap.h32 int xfs_getfsmap(struct xfs_mount *mp, struct xfs_fsmap_head *head,
H A Dxfs_pnfs.c59 struct xfs_mount *mp = XFS_M(sb); local
61 xfs_notice_once(mp,
67 memcpy(buf, &mp->m_sb.sb_uuid, sizeof(uuid_t));
120 struct xfs_mount *mp = ip->i_mount; local
130 if (xfs_is_shutdown(mp))
158 limit = mp->m_super->s_maxbytes;
174 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + length);
175 offset_fsb = XFS_B_TO_FSBT(mp, offset);
215 *device_generation = mp->m_generation;
266 struct xfs_mount *mp local
[all...]
H A Dxfs_stats.h165 #define XFS_STATS_INC(mp, v) \
168 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v++; \
171 #define XFS_STATS_DEC(mp, v) \
174 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v--; \
177 #define XFS_STATS_ADD(mp, v, inc) \
180 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v += (inc); \
183 #define XFS_STATS_INC_OFF(mp, off) \
186 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->a[off]++; \
189 #define XFS_STATS_DEC_OFF(mp, off) \
192 per_cpu_ptr(mp
[all...]
H A Dxfs_reflink.c174 struct xfs_mount *mp = ip->i_mount; local
190 pag = xfs_perag_get(mp, XFS_FSB_TO_AGNO(mp, irec->br_startblock));
191 agbno = XFS_FSB_TO_AGBNO(mp, irec->br_startblock);
290 struct xfs_mount *mp = ip->i_mount; local
291 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset);
292 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, offset + count);
389 struct xfs_mount *mp = ip->i_mount; local
399 resblks = XFS_DIOSTRAT_SPACE_RES(mp, resaligned);
404 error = xfs_trans_alloc_inode(ip, &M_RES(mp)
457 struct xfs_mount *mp = ip->i_mount; local
727 struct xfs_mount *mp = ip->i_mount; local
922 xfs_reflink_recover_cow( struct xfs_mount *mp) argument
1027 struct xfs_mount *mp = src->i_mount; local
1086 struct xfs_mount *mp = dest->i_mount; local
1130 xfs_reflink_ag_has_free_space( struct xfs_mount *mp, xfs_agnumber_t agno) argument
1159 struct xfs_mount *mp = ip->i_mount; local
1363 struct xfs_mount *mp = src->i_mount; local
1566 struct xfs_mount *mp = ip->i_mount; local
1657 struct xfs_mount *mp = ip->i_mount; local
[all...]
H A Dxfs_bmap_item.c140 struct xfs_mount *mp)
147 xfs_log_item_init(mp, &buip->bui_item, XFS_LI_BUI, &xfs_bui_item_ops);
289 struct xfs_mount *mp = tp->t_mountp; local
290 struct xfs_bui_log_item *buip = xfs_bui_init(mp);
296 list_sort(mp, items, xfs_bmap_update_diff_items);
324 struct xfs_mount *mp,
332 agno = XFS_FSB_TO_AGNO(mp, bi->bi_bmap.br_startblock);
341 bi->bi_pag = xfs_perag_intent_get(mp, agno);
410 struct xfs_mount *mp,
432 if (!xfs_verify_ino(mp, ma
139 xfs_bui_init( struct xfs_mount *mp) argument
323 xfs_bmap_update_get_group( struct xfs_mount *mp, struct xfs_bmap_intent *bi) argument
409 xfs_bui_validate( struct xfs_mount *mp, struct xfs_bui_log_item *buip) argument
445 xfs_bui_recover_work( struct xfs_mount *mp, struct xfs_defer_pending *dfp, struct xfs_inode **ipp, struct xfs_map_extent *map) argument
489 struct xfs_mount *mp = lip->li_log->l_mp; local
639 struct xfs_mount *mp = log->l_mp; local
[all...]
H A Dxfs_icreate_item.c148 struct xfs_mount *mp = log->l_mp; local
150 struct xfs_ino_geometry *igeo = M_IGEO(mp);
173 if (agno >= mp->m_sb.sb_agcount) {
178 if (!agbno || agbno == NULLAGBLOCK || agbno >= mp->m_sb.sb_agblocks) {
183 if (isize != mp->m_sb.sb_inodesize) {
193 if (!length || length >= mp->m_sb.sb_agblocks) {
210 if ((count >> mp->m_sb.sb_inopblog) != length) {
223 bb_per_cluster = XFS_FSB_TO_BB(mp, igeo->blocks_per_cluster);
228 daddr = XFS_AGB_TO_DADDR(mp, agno,
247 xfs_warn(mp,
[all...]
H A Dxfs_acl.c32 struct xfs_mount *mp,
43 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, mp, aclp,
50 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, mp, aclp,
132 struct xfs_mount *mp = ip->i_mount; local
137 .valuelen = XFS_ACL_MAX_SIZE(mp),
164 acl = xfs_acl_from_disk(mp, args.value, args.valuelen,
165 XFS_ACL_MAX_ENTRIES(mp));
225 struct xfs_mount *mp = ip->i_mount; local
229 error = xfs_trans_alloc(mp, &M_RES(mp)
31 xfs_acl_from_disk( struct xfs_mount *mp, const struct xfs_acl *aclp, int len, int max_entries) argument
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_ag_resv.h43 struct xfs_mount *mp,
50 pag = xfs_perag_get(mp, agno);
42 xfs_ag_resv_rmapbt_alloc( struct xfs_mount *mp, xfs_agnumber_t agno) argument
H A Dxfs_rmap_btree.c318 struct xfs_mount *mp = bp->b_mount; local
339 if (!xfs_has_rmapbt(mp))
360 } else if (level >= mp->m_rmap_maxlevels)
363 return xfs_btree_agblock_verify(bp, mp->m_rmap_mxr[level != 0]);
527 struct xfs_mount *mp,
534 cur = xfs_btree_alloc_cursor(mp, tp, &xfs_rmapbt_ops,
535 mp->m_rmap_maxlevels, xfs_rmapbt_cur_cache);
645 struct xfs_mount *mp = pag->pag_mount; local
647 cur = xfs_btree_alloc_cursor(mp, tp, &xfs_rmapbt_mem_ops,
659 struct xfs_mount *mp,
526 xfs_rmapbt_init_cursor( struct xfs_mount *mp, struct xfs_trans *tp, struct xfs_buf *agbp, struct xfs_perag *pag) argument
658 xfs_rmapbt_mem_init( struct xfs_mount *mp, struct xfbtree *xfbt, struct xfs_buftarg *btp, xfs_agnumber_t agno) argument
767 xfs_rmapbt_compute_maxlevels( struct xfs_mount *mp) argument
804 xfs_rmapbt_calc_size( struct xfs_mount *mp, unsigned long long len) argument
815 xfs_rmapbt_max_size( struct xfs_mount *mp, xfs_agblock_t agblocks) argument
830 xfs_rmapbt_calc_reserves( struct xfs_mount *mp, struct xfs_trans *tp, struct xfs_perag *pag, xfs_extlen_t *ask, xfs_extlen_t *used) argument
[all...]
H A Dxfs_attr_remote.h9 int xfs_attr3_rmt_blocks(struct xfs_mount *mp, int attrlen);
H A Dxfs_rmap.c221 struct xfs_mount *mp = pag->pag_mount; local
229 if (irec->rm_startblock <= XFS_AGFL_BLOCK(mp)) {
232 if (irec->rm_blockcount != XFS_AGFL_BLOCK(mp) + 1)
241 if (!(xfs_verify_ino(mp, irec->rm_owner) ||
266 !xfs_verify_fileext(mp, irec->rm_offset, irec->rm_blockcount))
288 struct xfs_mount *mp = cur->bc_mp; local
291 xfs_warn(mp,
294 xfs_warn(mp,
297 xfs_warn(mp,
545 struct xfs_mount *mp local
622 struct xfs_mount *mp = cur->bc_mp; local
916 struct xfs_mount *mp = tp->t_mountp; local
972 struct xfs_mount *mp = cur->bc_mp; local
1168 struct xfs_mount *mp = tp->t_mountp; local
1207 struct xfs_mount *mp = cur->bc_mp; local
1719 struct xfs_mount *mp = cur->bc_mp; local
2155 struct xfs_mount *mp = cur->bc_mp; local
2350 struct xfs_mount *mp = cur->bc_mp; local
2637 struct xfs_mount *mp = tp->t_mountp; local
2704 xfs_rmap_update_is_needed( struct xfs_mount *mp, int whichfork) argument
2790 xfs_rmap_convert_extent( struct xfs_mount *mp, struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, struct xfs_bmbt_irec *PREV) argument
2922 xfs_rmap_shareable( struct xfs_mount *mp, const struct xfs_rmap_irec *rmap) argument
[all...]
/linux-master/fs/xfs/scrub/
H A Dparent.c103 struct xfs_mount *mp = sc->mp; local
110 if (sc->ip == mp->m_rootip) {
111 if (sc->ip->i_ino != mp->m_sb.sb_rootino ||
193 struct xfs_mount *mp = sc->mp; local
205 if (!xfs_verify_dir_ino(mp, sc->ip->i_ino)) {
219 if (!xfs_verify_dir_ino(mp, parent_ino)) {
H A Drcbag_btree.h54 unsigned int rcbagbt_maxrecs(struct xfs_mount *mp, unsigned int blocklen,
64 struct xfs_btree_cur *rcbagbt_mem_cursor(struct xfs_mount *mp,
66 int rcbagbt_mem_init(struct xfs_mount *mp, struct xfbtree *xfbtree,
H A Dinode_repair.c172 struct xfs_mount *mp = sc->mp; local
184 xfs_dinode_good_version(mp, dip->di_version))
187 if (xfs_verify_cksum((char *)dip, mp->m_sb.sb_inodesize,
200 xfs_dinode_calc_crc(mp, dip);
212 struct xfs_mount *mp = sc->mp; local
216 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock;
218 xrep_dinode_buf_core(sc, bp, i << mp
473 struct xfs_mount *mp = sc->mp; local
541 struct xfs_mount *mp = sc->mp; local
614 struct xfs_mount *mp = sc->mp; local
[all...]
H A Dialloc.c260 struct xfs_mount *mp = bs->cur->bc_mp; local
265 agbno = XFS_AGINO_TO_AGBNO(mp, agino);
266 len = XFS_B_TO_FSB(mp, nr_inodes * mp->m_sb.sb_inodesize);
306 struct xfs_mount *mp = bs->cur->bc_mp; local
322 fsino = XFS_AGINO_TO_INO(mp, bs->cur->bc_ag.pag->pag_agno, agino);
368 struct xfs_mount *mp = bs->cur->bc_mp; local
379 M_IGEO(mp)->inodes_per_cluster);
382 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino + cluster_base);
399 imap.im_blkno = XFS_AGB_TO_DADDR(mp, agn
501 struct xfs_mount *mp = bs->sc->mp; local
577 struct xfs_mount *mp = bs->cur->bc_mp; local
[all...]
/linux-master/kernel/
H A Dparams.c624 * Create a kobject if for a (per-module) parameter if mp NULL, and
639 if (!mk->mp) {
641 mk->mp = kzalloc(sizeof(*mk->mp), GFP_KERNEL);
642 if (!mk->mp)
644 mk->mp->grp.name = "parameters";
646 mk->mp->grp.attrs = kzalloc(sizeof(mk->mp->grp.attrs[0]),
649 if (!mk->mp->grp.attrs)
654 new_mp = krealloc(mk->mp,
[all...]
/linux-master/fs/jfs/
H A Djfs_xtree.c79 struct metapage *mp; member in struct:xtsplit
129 struct metapage *mp; local
164 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
192 XT_PUTPAGE(mp);
222 struct metapage *mp; /* page buffer */ local
255 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc);
338 btsp->mp = mp;
385 btsp->mp = mp;
519 struct metapage *mp; /* meta-page buffer */ local
943 struct metapage *mp; local
1343 struct metapage *mp; /* meta-page buffer */ local
1502 struct metapage *mp; /* meta-page buffer */ local
1948 struct metapage *mp; /* meta-page buffer */ local
2192 struct metapage *mp; local
2751 struct metapage *mp; local
[all...]
H A Djfs_dmap.c157 struct metapage *mp; local
169 mp = read_metapage(ipbmap,
172 if (mp == NULL) {
178 dbmp_le = (struct dbmap_disk *) mp->data;
226 release_metapage(mp);
242 release_metapage(mp);
291 struct metapage *mp; local
298 mp = read_metapage(ipbmap,
301 if (mp == NULL) {
306 dbmp_le = (struct dbmap_disk *) mp
357 struct metapage *mp; local
458 struct metapage *mp; local
730 struct metapage *mp; local
988 struct metapage *mp; local
1325 struct metapage *mp; local
1690 struct metapage *mp; local
1807 struct metapage *mp; local
2470 struct metapage *mp; local
3185 struct metapage *mp; local
3366 struct metapage *mp, *l2mp, *l1mp = NULL, *l0mp = NULL; local
[all...]
/linux-master/crypto/
H A Dvmac.c149 #define nh_16(mp, kp, nw, rh, rl) \
154 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
155 pe64_to_cpup((mp)+i+1)+(kp)[i+1]); \
160 #define nh_16_2(mp, kp, nw, rh, rl, rh1, rl1) \
165 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
166 pe64_to_cpup((mp)+i+1)+(kp)[i+1]); \
168 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i+2], \
169 pe64_to_cpup((mp)+i+1)+(kp)[i+3]); \
175 #define nh_vmac_nhbytes(mp, kp, nw, rh, rl) \
180 MUL64(th, tl, pe64_to_cpup((mp)
[all...]
/linux-master/net/bridge/netfilter/
H A Debt_arp.c69 const unsigned char *mp; local
75 mp = skb_header_pointer(skb, sizeof(struct arphdr),
77 if (mp == NULL)
80 !ether_addr_equal_masked(mp, info->smaddr,
86 mp = skb_header_pointer(skb, sizeof(struct arphdr) +
89 if (mp == NULL)
92 !ether_addr_equal_masked(mp, info->dmaddr,

Completed in 194 milliseconds

1234567891011>>