Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_dir2_block.c209 if (btp->stale) { in xfs_dir2_block_need_space()
332 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); in xfs_dir2_block_compact()
337 btp->stale = cpu_to_be32(1); in xfs_dir2_block_compact()
440 } else if (btp->stale) { in xfs_dir2_block_addname()
467 if (!btp->stale) { in xfs_dir2_block_addname()
601 xfs_dir2_block_tail_t *btp; in xfs_dir2_block_log_leaf() local
618 xfs_dir2_block_tail_t *btp; in xfs_dir2_block_log_tail() local
826 be32_add_cpu(&btp->stale, 1); in xfs_dir2_block_removename()
1026 btp->stale = 0; in xfs_dir2_leaf_to_block()
1138 i = (uint)sizeof(*btp) + in xfs_dir2_sf_to_block()
[all …]
A Dxfs_dir2_data.c104 xfs_dir2_block_tail_t *btp=NULL; /* block tail */ in __xfs_dir3_data_check() local
132 btp = xfs_dir2_block_tail_p(geo, hdr); in __xfs_dir3_data_check()
133 lep = xfs_dir2_block_leaf_p(btp); in __xfs_dir3_data_check()
135 if (be32_to_cpu(btp->count) >= in __xfs_dir3_data_check()
239 for (i = 0; i < be32_to_cpu(btp->count); i++) { in __xfs_dir3_data_check()
244 if (i >= be32_to_cpu(btp->count)) in __xfs_dir3_data_check()
256 for (i = stale = 0; i < be32_to_cpu(btp->count); i++) { in __xfs_dir3_data_check()
264 if (count != be32_to_cpu(btp->count) - be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()
266 if (stale != be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()
A Dxfs_da_format.h538 xfs_dir2_block_leaf_p(struct xfs_dir2_block_tail *btp) in xfs_dir2_block_leaf_p() argument
540 return ((struct xfs_dir2_leaf_entry *)btp) - be32_to_cpu(btp->count); in xfs_dir2_block_leaf_p()
A Dxfs_dir2_leaf.c391 xfs_dir2_block_tail_t *btp; /* block's tail */ in xfs_dir2_block_to_leaf() local
428 btp = xfs_dir2_block_tail_p(args->geo, hdr); in xfs_dir2_block_to_leaf()
429 blp = xfs_dir2_block_leaf_p(btp); in xfs_dir2_block_to_leaf()
436 leafhdr.count = be32_to_cpu(btp->count); in xfs_dir2_block_to_leaf()
437 leafhdr.stale = be32_to_cpu(btp->stale); in xfs_dir2_block_to_leaf()
446 be32_to_cpu(btp->count) * sizeof(struct xfs_dir2_leaf_entry)); in xfs_dir2_block_to_leaf()
A Dxfs_dir2_sf.c174 xfs_dir2_block_tail_t *btp; /* tail area of the block */ in xfs_dir2_block_sfsize() local
198 btp = xfs_dir2_block_tail_p(geo, hdr); in xfs_dir2_block_sfsize()
199 blp = xfs_dir2_block_leaf_p(btp); in xfs_dir2_block_sfsize()
204 for (i = 0; i < be32_to_cpu(btp->count); i++) { in xfs_dir2_block_sfsize()
/linux-6.3-rc2/fs/xfs/
A Dxfs_buf.c531 eofs = XFS_FSB_TO_BB(btp->bt_mount, btp->bt_mount->m_sb.sb_dblocks); in xfs_buf_map_verify()
1949 fs_put_dax(btp->bt_daxdev, btp->bt_mount); in xfs_free_buftarg()
1951 kmem_free(btp); in xfs_free_buftarg()
1956 xfs_buftarg_t *btp, in xfs_setsize_buftarg() argument
1971 btp->bt_logical_sectorsize = bdev_logical_block_size(btp->bt_bdev); in xfs_setsize_buftarg()
1972 btp->bt_logical_sectormask = bdev_logical_block_size(btp->bt_bdev) - 1; in xfs_setsize_buftarg()
2001 btp = kmem_zalloc(sizeof(*btp), KM_NOFS); in xfs_alloc_buftarg()
2003 btp->bt_mount = mp; in xfs_alloc_buftarg()
2006 btp->bt_daxdev = fs_dax_get_by_bdev(bdev, &btp->bt_dax_part_off, in xfs_alloc_buftarg()
2032 return btp; in xfs_alloc_buftarg()
[all …]
/linux-6.3-rc2/include/linux/
A Dnmi.h218 void nmi_backtrace_stall_snap(const struct cpumask *btp);
219 void nmi_backtrace_stall_check(const struct cpumask *btp);
221 static inline void nmi_backtrace_stall_snap(const struct cpumask *btp) {} in nmi_backtrace_stall_snap() argument
222 static inline void nmi_backtrace_stall_check(const struct cpumask *btp) {} in nmi_backtrace_stall_check() argument
A Dtrace_events.h744 int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *prog);
745 int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_prog *prog);
747 void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp);
771 static inline int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *p) in bpf_probe_register() argument
775 static inline int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_prog *p) in bpf_probe_unregister() argument
783 static inline void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp) in bpf_put_raw_tracepoint() argument
/linux-6.3-rc2/kernel/trace/
A Dbpf_trace.c54 struct bpf_raw_event_map *btp, *ret = NULL; in bpf_get_raw_tracepoint_module() local
61 btp = &btm->module->bpf_raw_events[i]; in bpf_get_raw_tracepoint_module()
62 if (!strcmp(btp->tp->name, name)) { in bpf_get_raw_tracepoint_module()
64 ret = btp; in bpf_get_raw_tracepoint_module()
2236 for (; btp < __stop__bpf_raw_tp; btp++) { in bpf_get_raw_tracepoint()
2237 if (!strcmp(btp->tp->name, name)) in bpf_get_raw_tracepoint()
2238 return btp; in bpf_get_raw_tracepoint()
2249 mod = __module_address((unsigned long)btp); in bpf_put_raw_tracepoint()
2316 struct tracepoint *tp = btp->tp; in __bpf_probe_register()
2334 return __bpf_probe_register(btp, prog); in bpf_probe_register()
[all …]
/linux-6.3-rc2/arch/x86/kernel/
A Dnmi.c593 void nmi_backtrace_stall_snap(const struct cpumask *btp) in nmi_backtrace_stall_snap() argument
598 for_each_cpu(cpu, btp) { in nmi_backtrace_stall_snap()
607 void nmi_backtrace_stall_check(const struct cpumask *btp) in nmi_backtrace_stall_check() argument
618 for_each_cpu(cpu, btp) { in nmi_backtrace_stall_check()
/linux-6.3-rc2/kernel/bpf/
A Dsyscall.c3159 struct bpf_raw_event_map *btp; member
3168 bpf_put_raw_tracepoint(raw_tp->btp); in bpf_raw_tp_link_release()
3187 raw_tp_link->btp->tp->name); in bpf_raw_tp_link_show_fdinfo()
3314 struct bpf_raw_event_map *btp; in bpf_raw_tp_link_attach() local
3345 btp = bpf_get_raw_tracepoint(tp_name); in bpf_raw_tp_link_attach()
3346 if (!btp) in bpf_raw_tp_link_attach()
3356 link->btp = btp; in bpf_raw_tp_link_attach()
3364 err = bpf_probe_register(link->btp, prog); in bpf_raw_tp_link_attach()
3373 bpf_put_raw_tracepoint(btp); in bpf_raw_tp_link_attach()
4453 struct bpf_raw_event_map *btp = raw_tp->btp; in bpf_task_fd_query() local
[all …]

Completed in 50 milliseconds