| /linux/fs/xfs/ |
| H A D | xfs_buf_mem.c | 58 struct xfs_buftarg *btp; in xmbuf_alloc() local 61 btp = kzalloc_flex(*btp, bt_cache, 1); in xmbuf_alloc() 62 if (!btp) in xmbuf_alloc() 84 error = xfs_buf_cache_init(btp->bt_cache); in xmbuf_alloc() 89 btp->bt_mount = mp; in xmbuf_alloc() 90 btp->bt_dev = (dev_t)-1U; in xmbuf_alloc() 91 btp->bt_bdev = NULL; /* in-memory buftargs have no bdev */ in xmbuf_alloc() 92 btp->bt_file = file; in xmbuf_alloc() 93 btp->bt_meta_sectorsize = XMBUF_BLOCKSIZE; in xmbuf_alloc() 94 btp->bt_meta_sectormask = XMBUF_BLOCKSIZE - 1; in xmbuf_alloc() [all …]
|
| H A D | xfs_buf.c | 387 struct xfs_buftarg *btp, in xfs_buf_map_verify() argument 391 ASSERT(!(BBTOB(map->bm_len) < btp->bt_meta_sectorsize)); in xfs_buf_map_verify() 392 ASSERT(!(BBTOB(map->bm_bn) & (xfs_off_t)btp->bt_meta_sectormask)); in xfs_buf_map_verify() 398 if (map->bm_bn < 0 || map->bm_bn >= btp->bt_nr_sectors) { in xfs_buf_map_verify() 399 xfs_alert(btp->bt_mount, in xfs_buf_map_verify() 401 __func__, map->bm_bn, btp->bt_nr_sectors); in xfs_buf_map_verify() 489 struct xfs_buftarg *btp, in xfs_buf_find_insert() argument 502 error = xfs_buf_alloc(btp, map, nmaps, flags, &new_bp); in xfs_buf_find_insert() 542 struct xfs_buftarg *btp, in xfs_buftarg_get_pag() argument 545 struct xfs_mount *mp = btp->bt_mount; in xfs_buftarg_get_pag() [all …]
|
| H A D | xfs_buf_mem.h | 13 static inline bool xfs_buftarg_is_mem(const struct xfs_buftarg *btp) in xfs_buftarg_is_mem() argument 15 return btp->bt_bdev == NULL; in xfs_buftarg_is_mem() 20 void xmbuf_free(struct xfs_buftarg *btp); 22 bool xmbuf_verify_daddr(struct xfs_buftarg *btp, xfs_daddr_t daddr);
|
| H A D | xfs_buf.h | 377 int xfs_configure_buftarg(struct xfs_buftarg *btp, unsigned int sectorsize, 387 int xfs_init_buftarg(struct xfs_buftarg *btp, size_t logical_sectorsize, 389 void xfs_destroy_buftarg(struct xfs_buftarg *btp);
|
| H A D | xfs_discard.c | 123 struct xfs_buftarg *btp = in xfs_discard_extents() local 128 __blkdev_issue_discard(btp->bt_bdev, in xfs_discard_extents()
|
| /linux/include/linux/ |
| H A D | nmi.h | 225 void nmi_backtrace_stall_snap(const struct cpumask *btp); 226 void nmi_backtrace_stall_check(const struct cpumask *btp); 228 static inline void nmi_backtrace_stall_snap(const struct cpumask *btp) {} in nmi_backtrace_stall_snap() argument 229 static inline void nmi_backtrace_stall_check(const struct cpumask *btp) {} in nmi_backtrace_stall_check() argument
|
| H A D | trace_events.h | 775 int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_raw_tp_link *link); 776 int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_raw_tp_link *link); 779 void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp); 806 static inline int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_raw_tp_link *link) in bpf_probe_register() argument 810 static inline int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_raw_tp_link *link) in bpf_probe_unregister() argument 818 static inline void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp) in bpf_put_raw_tracepoint() argument
|
| H A D | bpf.h | 1894 struct bpf_raw_event_map *btp; member
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 57 struct bpf_raw_event_map *btp, *ret = NULL; in bpf_get_raw_tracepoint_module() local 64 btp = &btm->module->bpf_raw_events[i]; in bpf_get_raw_tracepoint_module() 65 if (!strcmp(btp->tp->name, name)) { in bpf_get_raw_tracepoint_module() 67 ret = btp; in bpf_get_raw_tracepoint_module() 2053 struct bpf_raw_event_map *btp = __start__bpf_raw_tp; in bpf_get_raw_tracepoint() local 2055 for (; btp < __stop__bpf_raw_tp; btp++) { in bpf_get_raw_tracepoint() 2056 if (!strcmp(btp->tp->name, name)) in bpf_get_raw_tracepoint() 2057 return btp; in bpf_get_raw_tracepoint() 2063 void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp) in bpf_put_raw_tracepoint() argument 2068 mod = __module_address((unsigned long)btp); in bpf_put_raw_tracepoint() [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | rcbag.h | 13 int rcbag_init(struct xfs_mount *mp, struct xfs_buftarg *btp,
|
| H A D | rcbag.c | 33 struct xfs_buftarg *btp, in rcbag_init() argument 46 error = rcbagbt_mem_init(mp, &bag->xfbtree, btp); in rcbag_init()
|
| H A D | rcbag_btree.h | 67 struct xfs_buftarg *btp);
|
| /linux/fs/xfs/libxfs/ |
| 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 | 70 struct xfs_buftarg *btp, xfs_agnumber_t agno);
|
| H A D | xfs_rtrmap_btree.h | 208 struct xfs_buftarg *btp, xfs_rgnumber_t rgno);
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 3784 bpf_probe_unregister(raw_tp->btp, raw_tp); in bpf_raw_tp_link_release() 3785 bpf_put_raw_tracepoint(raw_tp->btp); in bpf_raw_tp_link_release() 3805 raw_tp_link->btp->tp->name, in bpf_raw_tp_link_show_fdinfo() 3834 const char *tp_name = raw_tp_link->btp->tp->name; in bpf_raw_tp_link_fill_link_info() 4229 struct bpf_raw_event_map *btp; in bpf_raw_tp_link_attach() local 4260 btp = bpf_get_raw_tracepoint(tp_name); in bpf_raw_tp_link_attach() 4261 if (!btp) in bpf_raw_tp_link_attach() 4271 tracepoint_is_faultable(btp->tp)); in bpf_raw_tp_link_attach() 4272 link->btp = btp; in bpf_raw_tp_link_attach() 4281 err = bpf_probe_register(link->btp, link); in bpf_raw_tp_link_attach() [all …]
|
| H A D | verifier.c | 24863 struct bpf_raw_event_map *btp; in bpf_check_attach_target() local 25022 btp = bpf_get_raw_tracepoint(tname); in bpf_check_attach_target() 25023 if (!btp) in bpf_check_attach_target() 25025 fname = kallsyms_lookup((unsigned long)btp->bpf_func, NULL, NULL, NULL, in bpf_check_attach_target() 25027 bpf_put_raw_tracepoint(btp); in bpf_check_attach_target()
|