Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_dir2_block.c190 struct xfs_dir2_block_tail *btp, in xfs_dir2_block_need_space() argument
209 if (btp->stale) { in xfs_dir2_block_need_space()
234 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
237 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space()
303 struct xfs_dir2_block_tail *btp, in xfs_dir2_block_compact() argument
314 fromidx = toidx = be32_to_cpu(btp->count) - 1; in xfs_dir2_block_compact()
330 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_compact()
331 *lfloghigh -= be32_to_cpu(btp->stale) - 1; in xfs_dir2_block_compact()
332 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); in xfs_dir2_block_compact()
335 (xfs_dir2_data_aoff_t)((be32_to_cpu(btp->stale) - 1) * sizeof(*blp)), in xfs_dir2_block_compact()
[all …]
H 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()
260 for (i = 0; i < be32_to_cpu(btp->count); i++) { in __xfs_dir3_data_check()
265 if (i >= be32_to_cpu(btp->count)) in __xfs_dir3_data_check()
277 for (i = stale = 0; i < be32_to_cpu(btp->count); i++) { in __xfs_dir3_data_check()
285 if (count != be32_to_cpu(btp->count) - be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()
287 if (stale != be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()
H 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()
H 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()
H 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()
/openbmc/linux/fs/xfs/
H A Dxfs_buf.c518 struct xfs_buftarg *btp, in xfs_buf_map_verify() argument
524 ASSERT(!(BBTOB(map->bm_len) < btp->bt_meta_sectorsize)); in xfs_buf_map_verify()
525 ASSERT(!(BBTOB(map->bm_bn) & (xfs_off_t)btp->bt_meta_sectormask)); in xfs_buf_map_verify()
531 eofs = XFS_FSB_TO_BB(btp->bt_mount, btp->bt_mount->m_sb.sb_dblocks); in xfs_buf_map_verify()
533 xfs_alert(btp->bt_mount, in xfs_buf_map_verify()
609 struct xfs_buftarg *btp, in xfs_buf_find_insert() argument
621 error = _xfs_buf_alloc(btp, map, nmaps, flags, &new_bp); in xfs_buf_find_insert()
678 struct xfs_buftarg *btp, in xfs_buf_get_map() argument
695 error = xfs_buf_map_verify(btp, &cmap); in xfs_buf_get_map()
699 pag = xfs_perag_get(btp->bt_mount, in xfs_buf_get_map()
[all …]
/openbmc/linux/include/linux/
H A Dnmi.h231 void nmi_backtrace_stall_snap(const struct cpumask *btp);
232 void nmi_backtrace_stall_check(const struct cpumask *btp);
234 static inline void nmi_backtrace_stall_snap(const struct cpumask *btp) {} in nmi_backtrace_stall_snap() argument
235 static inline void nmi_backtrace_stall_check(const struct cpumask *btp) {} in nmi_backtrace_stall_check() argument
H A Dtrace_events.h766 int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *prog);
767 int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_prog *prog);
769 void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp);
795 static inline int bpf_probe_register(struct bpf_raw_event_map *btp, struct bpf_prog *p) in bpf_probe_register() argument
799 static inline int bpf_probe_unregister(struct bpf_raw_event_map *btp, struct bpf_prog *p) in bpf_probe_unregister() argument
807 static inline void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp) in bpf_put_raw_tracepoint() argument
/openbmc/linux/arch/x86/kernel/
H A Dnmi.c598 void nmi_backtrace_stall_snap(const struct cpumask *btp) in nmi_backtrace_stall_snap()
603 for_each_cpu(cpu, btp) { in nmi_backtrace_stall_snap()
612 void nmi_backtrace_stall_check(const struct cpumask *btp) in nmi_backtrace_stall_check()
623 for_each_cpu(cpu, btp) { in nmi_backtrace_stall_check()
591 nmi_backtrace_stall_snap(const struct cpumask * btp) nmi_backtrace_stall_snap() argument
605 nmi_backtrace_stall_check(const struct cpumask * btp) nmi_backtrace_stall_check() argument
/openbmc/linux/kernel/trace/
H A Dbpf_trace.c58 struct bpf_raw_event_map *btp, *ret = NULL; in bpf_get_raw_tracepoint_module() local
65 btp = &btm->module->bpf_raw_events[i]; in bpf_get_raw_tracepoint_module()
66 if (!strcmp(btp->tp->name, name)) { in bpf_get_raw_tracepoint_module()
68 ret = btp; in bpf_get_raw_tracepoint_module()
2292 struct bpf_raw_event_map *btp = __start__bpf_raw_tp; in bpf_get_raw_tracepoint() local
2294 for (; btp < __stop__bpf_raw_tp; btp++) { in bpf_get_raw_tracepoint()
2295 if (!strcmp(btp->tp->name, name)) in bpf_get_raw_tracepoint()
2296 return btp; in bpf_get_raw_tracepoint()
2302 void bpf_put_raw_tracepoint(struct bpf_raw_event_map *btp) in bpf_put_raw_tracepoint() argument
2307 mod = __module_address((unsigned long)btp); in bpf_put_raw_tracepoint()
[all …]
/openbmc/linux/kernel/bpf/
H A Dsyscall.c3361 struct bpf_raw_event_map *btp; member
3369 bpf_probe_unregister(raw_tp->btp, raw_tp->link.prog); in bpf_raw_tp_link_release()
3370 bpf_put_raw_tracepoint(raw_tp->btp); in bpf_raw_tp_link_release()
3389 raw_tp_link->btp->tp->name); in bpf_raw_tp_link_show_fdinfo()
3417 const char *tp_name = raw_tp_link->btp->tp->name; in bpf_raw_tp_link_fill_link_info()
3688 struct bpf_raw_event_map *btp; in bpf_raw_tp_link_attach() local
3719 btp = bpf_get_raw_tracepoint(tp_name); in bpf_raw_tp_link_attach()
3720 if (!btp) in bpf_raw_tp_link_attach()
3730 link->btp = btp; in bpf_raw_tp_link_attach()
3738 err = bpf_probe_register(link->btp, prog); in bpf_raw_tp_link_attach()
[all …]
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/xfsprogs/files/
H A D0005-Replace-off64_t-stat64-with-off_t-stat.patch618 @@ -638,7 +638,7 @@ libxfs_readbufr_map(struct xfs_buftarg *btp, struct xfs_buf *bp, int flags)