Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Dalloc_background_format.h30 __u8 nr_fields; member
49 __u8 nr_fields; member
H A Dbkey.c272 EBUG_ON(format->nr_fields != BKEY_NR_FIELDS); in __bch2_bkey_unpack_key()
297 EBUG_ON(format->nr_fields != BKEY_NR_FIELDS); in __bkey_unpack_pos()
324 EBUG_ON(format->nr_fields != BKEY_NR_FIELDS); in bch2_bkey_pack_key()
443 for (unsigned i = 0; i < f->nr_fields; i++) { in bkey_format_has_too_big_fields()
592 .nr_fields = BKEY_NR_FIELDS, in bch2_bkey_format_done()
648 if (f->nr_fields != BKEY_NR_FIELDS) { in bch2_bkey_format_invalid()
650 f->nr_fields, BKEY_NR_FIELDS); in bch2_bkey_format_invalid()
658 for (i = 0; i < f->nr_fields; i++) { in bch2_bkey_format_invalid()
1085 .nr_fields = BKEY_NR_FIELDS, in bch2_bkey_pack_test()
1098 for (i = 0; i < out_s.format->nr_fields; i++) { in bch2_bkey_pack_test()
H A Dinode.c83 unsigned nr_fields = 0, last_nonzero_fieldnr = 0; in bch2_inode_pack_inlined() local
100 nr_fields++; \ in bch2_inode_pack_inlined()
110 last_nonzero_fieldnr = nr_fields; \ in bch2_inode_pack_inlined()
123 nr_fields = last_nonzero_fieldnr; in bch2_inode_pack_inlined()
129 SET_INODEv3_NR_FIELDS(&k->v, nr_fields); in bch2_inode_pack_inlined()
193 unsigned nr_fields) in bch2_inode_unpack_v2() argument
200 if (fieldnr < nr_fields) { \ in bch2_inode_unpack_v2()
236 unsigned nr_fields = INODEv3_NR_FIELDS(inode.v); in bch2_inode_unpack_v3() local
251 if (fieldnr < nr_fields) { \ in bch2_inode_unpack_v3()
H A Dbcachefs_format.h127 __u8 nr_fields; member
325 .nr_fields = BKEY_NR_FIELDS, \
H A Dmove.c967 for (unsigned i = 0; i < f->nr_fields; i++) in bformat_needs_redo()
H A Dalloc_background.c116 if (fieldnr < a.v->nr_fields) { \ in bch2_alloc_unpack_v2()
152 if (fieldnr < a.v->nr_fields) { \ in bch2_alloc_unpack_v3()
/linux/tools/perf/
H A Dbuiltin-trace.c392 et->fmt = calloc(evsel->tp_format->format.nr_fields, sizeof(struct syscall_arg_fmt)); in evsel__syscall_arg_fmt()
2126 RAW_SYSCALL_ARGS_NUM : sc->tp_format->format.nr_fields)) in trace__read_syscall_info()
4853 memcpy(fmt + skip, scfmt->arg, (evsel->tp_format->format.nr_fields - skip) * sizeof(*fmt));