Home
last modified time | relevance | path

Searched refs:btp (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_dir2_block.c164 struct xfs_dir2_block_tail *btp, in xfs_dir2_block_need_space() argument
183 if (btp->stale) { in xfs_dir2_block_need_space()
208 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
211 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space()
277 struct xfs_dir2_block_tail *btp, in xfs_dir2_block_compact() argument
288 fromidx = toidx = be32_to_cpu(btp->count) - 1; in xfs_dir2_block_compact()
304 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_compact()
305 *lfloghigh -= be32_to_cpu(btp->stale) - 1; in xfs_dir2_block_compact()
306 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); in xfs_dir2_block_compact()
309 (xfs_dir2_data_aoff_t)((be32_to_cpu(btp->stale) - 1) * sizeof(*blp)), in xfs_dir2_block_compact()
[all …]
Dxfs_dir2_data.c41 xfs_dir2_block_tail_t *btp=NULL; /* block tail */ in __xfs_dir3_data_check() local
83 btp = xfs_dir2_block_tail_p(geo, hdr); in __xfs_dir3_data_check()
84 lep = xfs_dir2_block_leaf_p(btp); in __xfs_dir3_data_check()
93 if (be32_to_cpu(btp->count) >= in __xfs_dir3_data_check()
94 ((char *)btp - p) / sizeof(struct xfs_dir2_leaf_entry)) in __xfs_dir3_data_check()
197 for (i = 0; i < be32_to_cpu(btp->count); i++) { in __xfs_dir3_data_check()
202 if (i >= be32_to_cpu(btp->count)) in __xfs_dir3_data_check()
214 for (i = stale = 0; i < be32_to_cpu(btp->count); i++) { in __xfs_dir3_data_check()
222 if (count != be32_to_cpu(btp->count) - be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()
224 if (stale != be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()
Dxfs_da_format.h571 xfs_dir2_block_leaf_p(struct xfs_dir2_block_tail *btp) in xfs_dir2_block_leaf_p() argument
573 return ((struct xfs_dir2_leaf_entry *)btp) - be32_to_cpu(btp->count); in xfs_dir2_block_leaf_p()
Dxfs_dir2_leaf.c399 xfs_dir2_block_tail_t *btp; /* block's tail */ in xfs_dir2_block_to_leaf() local
437 btp = xfs_dir2_block_tail_p(args->geo, hdr); in xfs_dir2_block_to_leaf()
438 blp = xfs_dir2_block_leaf_p(btp); in xfs_dir2_block_to_leaf()
446 leafhdr.count = be32_to_cpu(btp->count); in xfs_dir2_block_to_leaf()
447 leafhdr.stale = be32_to_cpu(btp->stale); in xfs_dir2_block_to_leaf()
455 memcpy(ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir2_block_to_leaf()
Dxfs_dir2_sf.c57 xfs_dir2_block_tail_t *btp; /* tail area of the block */ in xfs_dir2_block_sfsize() local
81 btp = xfs_dir2_block_tail_p(geo, hdr); in xfs_dir2_block_sfsize()
82 blp = xfs_dir2_block_leaf_p(btp); in xfs_dir2_block_sfsize()
87 for (i = 0; i < be32_to_cpu(btp->count); i++) { in xfs_dir2_block_sfsize()
/linux-4.19.296/fs/xfs/
Dxfs_buf.c573 struct xfs_buftarg *btp, in xfs_buf_find() argument
592 ASSERT(!(BBTOB(cmap.bm_len) < btp->bt_meta_sectorsize)); in xfs_buf_find()
593 ASSERT(!(BBTOB(cmap.bm_bn) & (xfs_off_t)btp->bt_meta_sectormask)); in xfs_buf_find()
599 eofs = XFS_FSB_TO_BB(btp->bt_mount, btp->bt_mount->m_sb.sb_dblocks); in xfs_buf_find()
601 xfs_alert(btp->bt_mount, in xfs_buf_find()
608 pag = xfs_perag_get(btp->bt_mount, in xfs_buf_find()
609 xfs_daddr_to_agno(btp->bt_mount, cmap.bm_bn)); in xfs_buf_find()
621 XFS_STATS_INC(btp->bt_mount, xb_miss_locked); in xfs_buf_find()
642 XFS_STATS_INC(btp->bt_mount, xb_busy_locked); in xfs_buf_find()
646 XFS_STATS_INC(btp->bt_mount, xb_get_locked_waited); in xfs_buf_find()
[all …]
/linux-4.19.296/include/linux/
Dtrace_events.h472 int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *prog);
473 int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_prog *prog);
497 static inline int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *p) in bpf_probe_register() argument
501 static inline int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_prog *p) in bpf_probe_unregister() argument