/linux-master/fs/xfs/ |
H A D | xfs_buf_mem.c | 58 struct xfs_buftarg *btp; local 61 btp = kzalloc(struct_size(btp, bt_cache, 1), GFP_KERNEL); 62 if (!btp) 84 error = xfs_buf_cache_init(btp->bt_cache); 89 btp->bt_mount = mp; 90 btp->bt_dev = (dev_t)-1U; 91 btp->bt_bdev = NULL; /* in-memory buftargs have no bdev */ 92 btp->bt_file = file; 93 btp 116 xmbuf_free( struct xfs_buftarg *btp) argument 197 xmbuf_verify_daddr( struct xfs_buftarg *btp, xfs_daddr_t daddr) argument [all...] |
H A D | xfs_buf_mem.h | 13 static inline bool xfs_buftarg_is_mem(const struct xfs_buftarg *btp) argument 15 return btp->bt_bdev == NULL; 20 void xmbuf_free(struct xfs_buftarg *btp); 24 bool xmbuf_verify_daddr(struct xfs_buftarg *btp, xfs_daddr_t daddr);
|
H A D | xfs_buf.c | 532 struct xfs_buftarg *btp, 538 ASSERT(!(BBTOB(map->bm_len) < btp->bt_meta_sectorsize)); 539 ASSERT(!(BBTOB(map->bm_bn) & (xfs_off_t)btp->bt_meta_sectormask)); 545 eofs = XFS_FSB_TO_BB(btp->bt_mount, btp->bt_mount->m_sb.sb_dblocks); 547 xfs_alert(btp->bt_mount, 623 struct xfs_buftarg *btp, 636 error = _xfs_buf_alloc(btp, map, nmaps, flags, &new_bp); 691 struct xfs_buftarg *btp, 694 struct xfs_mount *mp = btp 531 xfs_buf_map_verify( struct xfs_buftarg *btp, struct xfs_buf_map *map) argument 622 xfs_buf_find_insert( struct xfs_buftarg *btp, struct xfs_buf_cache *bch, struct xfs_perag *pag, struct xfs_buf_map *cmap, struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp) argument 690 xfs_buftarg_get_pag( struct xfs_buftarg *btp, const struct xfs_buf_map *map) argument 702 xfs_buftarg_buf_cache( struct xfs_buftarg *btp, struct xfs_perag *pag) argument 717 xfs_buf_get_map( struct xfs_buftarg *btp, struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp) argument 1061 struct xfs_buftarg *btp = bp->b_target; local 1887 xfs_buftarg_wait( struct xfs_buftarg *btp) argument 1908 xfs_buftarg_drain( struct xfs_buftarg *btp) argument 1989 struct xfs_buftarg *btp = shrink->private_data; local 2011 struct xfs_buftarg *btp = shrink->private_data; local 2016 xfs_destroy_buftarg( struct xfs_buftarg *btp) argument 2026 xfs_free_buftarg( struct xfs_buftarg *btp) argument 2038 xfs_setsize_buftarg( struct xfs_buftarg *btp, unsigned int sectorsize) argument 2057 xfs_init_buftarg( struct xfs_buftarg *btp, size_t logical_sectorsize, const char *descr) argument 2100 struct xfs_buftarg *btp; local [all...] |
H A D | xfs_buf.h | 395 int xfs_init_buftarg(struct xfs_buftarg *btp, size_t logical_sectorsize, 397 void xfs_destroy_buftarg(struct xfs_buftarg *btp);
|
H A D | xfs_trace.h | 4617 TP_PROTO(struct xfs_buftarg *btp), 4618 TP_ARGS(btp), 4627 struct file *file = btp->bt_file; 4629 __entry->dev = btp->bt_mount->m_super->s_dev; 4644 TP_PROTO(struct xfs_buftarg *btp), 4645 TP_ARGS(btp), 4653 struct file *file = btp->bt_file; 4656 __entry->dev = btp->bt_mount->m_super->s_dev;
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_dir2_block.c | 192 struct xfs_dir2_block_tail *btp, 211 if (btp->stale) { 236 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * 239 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) 305 struct xfs_dir2_block_tail *btp, 316 fromidx = toidx = be32_to_cpu(btp->count) - 1; 332 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); 333 *lfloghigh -= be32_to_cpu(btp->stale) - 1; 334 be32_add_cpu(&btp->count, -(be32_to_cpu(btp 189 xfs_dir2_block_need_space( struct xfs_inode *dp, struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_block_tail *btp, struct xfs_dir2_leaf_entry *blp, __be16 **tagpp, struct xfs_dir2_data_unused **dupp, struct xfs_dir2_data_unused **enddupp, int *compact, int len) argument 301 xfs_dir2_block_compact( struct xfs_da_args *args, struct xfs_buf *bp, struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_block_tail *btp, struct xfs_dir2_leaf_entry *blp, int *needlog, int *lfloghigh, int *lfloglow) argument 358 xfs_dir2_block_tail_t *btp; /* block tail */ local 603 xfs_dir2_block_tail_t *btp; local 620 xfs_dir2_block_tail_t *btp; local 638 xfs_dir2_block_tail_t *btp; /* block tail */ local 686 xfs_dir2_block_tail_t *btp; /* block tail */ local 786 xfs_dir2_block_tail_t *btp; /* block tail */ local 867 xfs_dir2_block_tail_t *btp; /* block tail */ local 931 xfs_dir2_block_tail_t *btp; /* block tail */ local 1082 xfs_dir2_block_tail_t *btp; /* block tail pointer */ local [all...] |
H A D | xfs_btree_mem.h | 66 struct xfs_buftarg *btp, const struct xfs_btree_ops *ops);
|
H A D | xfs_rmap_btree.h | 69 struct xfs_buftarg *btp, xfs_agnumber_t agno);
|
H A D | xfs_dir2_data.c | 105 xfs_dir2_block_tail_t *btp=NULL; /* block tail */ local 133 btp = xfs_dir2_block_tail_p(geo, hdr); 134 lep = xfs_dir2_block_leaf_p(btp); 136 if (be32_to_cpu(btp->count) >= 240 for (i = 0; i < be32_to_cpu(btp->count); i++) { 245 if (i >= be32_to_cpu(btp->count)) 257 for (i = stale = 0; i < be32_to_cpu(btp->count); i++) { 265 if (count != be32_to_cpu(btp->count) - be32_to_cpu(btp->stale)) 267 if (stale != be32_to_cpu(btp [all...] |
H A D | xfs_da_format.h | 549 xfs_dir2_block_leaf_p(struct xfs_dir2_block_tail *btp) argument 551 return ((struct xfs_dir2_leaf_entry *)btp) - be32_to_cpu(btp->count);
|
H A D | xfs_btree_mem.c | 118 struct xfs_buftarg *btp, 136 xfbt->target = btp; 115 xfbtree_init( struct xfs_mount *mp, struct xfbtree *xfbt, struct xfs_buftarg *btp, const struct xfs_btree_ops *ops) argument
|
H A D | xfs_dir2_sf.c | 174 xfs_dir2_block_tail_t *btp; /* tail area of the block */ local 198 btp = xfs_dir2_block_tail_p(geo, hdr); 199 blp = xfs_dir2_block_leaf_p(btp); 204 for (i = 0; i < be32_to_cpu(btp->count); i++) {
|
H A D | xfs_dir2_leaf.c | 392 xfs_dir2_block_tail_t *btp; /* block's tail */ local 429 btp = xfs_dir2_block_tail_p(args->geo, hdr); 430 blp = xfs_dir2_block_leaf_p(btp); 437 leafhdr.count = be32_to_cpu(btp->count); 438 leafhdr.stale = be32_to_cpu(btp->stale); 447 be32_to_cpu(btp->count) * sizeof(struct xfs_dir2_leaf_entry));
|
H A D | xfs_rmap_btree.c | 661 struct xfs_buftarg *btp, 665 return xfbtree_init(mp, xfbt, btp, &xfs_rmapbt_mem_ops); 658 xfs_rmapbt_mem_init( struct xfs_mount *mp, struct xfbtree *xfbt, struct xfs_buftarg *btp, xfs_agnumber_t agno) argument
|
H A D | xfs_btree.c | 82 struct xfs_buftarg *btp, 94 if (!xmbuf_verify_daddr(btp, xfbno_to_daddr(sibling))) 199 struct xfs_buftarg *btp = cur->bc_mem.xfbtree->target; local 208 fa = xfs_btree_check_memblock_siblings(btp, bno, 211 fa = xfs_btree_check_memblock_siblings(btp, bno, 993 struct xfs_buftarg *btp = cur->bc_mem.xfbtree->target; local 999 xfs_buf_readahead(btp, xfbno_to_daddr(left), XFBNO_BBSIZE, 1005 xfs_buf_readahead(btp, xfbno_to_daddr(right), XFBNO_BBSIZE, 4756 struct xfs_buftarg *btp = bp->b_target; local 4768 fa = xfs_btree_check_memblock_siblings(btp, bn 81 xfs_btree_check_memblock_siblings( struct xfs_buftarg *btp, xfbno_t bno, __be64 dsibling) argument [all...] |
/linux-master/include/linux/ |
H A D | nmi.h | 224 void nmi_backtrace_stall_snap(const struct cpumask *btp); 225 void nmi_backtrace_stall_check(const struct cpumask *btp); 227 static inline void nmi_backtrace_stall_snap(const struct cpumask *btp) {} argument 228 static inline void nmi_backtrace_stall_check(const struct cpumask *btp) {} argument
|
H A D | trace_events.h | 768 int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *prog); 769 int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_prog *prog); 771 void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp); 797 static inline int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *p) argument 801 static inline int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_prog *p) argument 809 static inline void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp) argument
|
/linux-master/fs/xfs/scrub/ |
H A D | rcbag.h | 13 int rcbag_init(struct xfs_mount *mp, struct xfs_buftarg *btp,
|
H A D | rcbag_btree.h | 67 struct xfs_buftarg *btp);
|
H A D | rcbag.c | 33 struct xfs_buftarg *btp, 46 error = rcbagbt_mem_init(mp, &bag->xfbtree, btp); 31 rcbag_init( struct xfs_mount *mp, struct xfs_buftarg *btp, struct rcbag **bagp) argument
|
H A D | rcbag_btree.c | 233 struct xfs_buftarg *btp) 236 return xfbtree_init(mp, xfbt, btp, &rcbagbt_mem_ops); 230 rcbagbt_mem_init( struct xfs_mount *mp, struct xfbtree *xfbt, struct xfs_buftarg *btp) argument
|
/linux-master/arch/x86/kernel/ |
H A D | nmi.c | 599 void nmi_backtrace_stall_snap(const struct cpumask *btp) argument 604 for_each_cpu(cpu, btp) { 613 void nmi_backtrace_stall_check(const struct cpumask *btp) argument 624 for_each_cpu(cpu, btp) {
|
/linux-master/kernel/trace/ |
H A D | bpf_trace.c | 59 struct bpf_raw_event_map *btp, *ret = NULL; local 66 btp = &btm->module->bpf_raw_events[i]; 67 if (!strcmp(btp->tp->name, name)) { 69 ret = btp; 2352 struct bpf_raw_event_map *btp = __start__bpf_raw_tp; local 2354 for (; btp < __stop__bpf_raw_tp; btp++) { 2355 if (!strcmp(btp->tp->name, name)) 2356 return btp; 2362 void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp) argument 2432 __bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *prog) argument 2450 bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *prog) argument 2455 bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_prog *prog) argument [all...] |
/linux-master/kernel/bpf/ |
H A D | syscall.c | 3503 struct bpf_raw_event_map *btp; member in struct:bpf_raw_tp_link 3511 bpf_probe_unregister(raw_tp->btp, raw_tp->link.prog); 3512 bpf_put_raw_tracepoint(raw_tp->btp); 3531 raw_tp_link->btp->tp->name); 3559 const char *tp_name = raw_tp_link->btp->tp->name; 3815 struct bpf_raw_event_map *btp; local 3846 btp = bpf_get_raw_tracepoint(tp_name); 3847 if (!btp) 3857 link->btp = btp; 5093 struct bpf_raw_event_map *btp = raw_tp->btp; local [all...] |