Home
last modified time | relevance | path

Searched refs:_type (Results 1 – 15 of 15) sorted by relevance

/fs/bcachefs/
A Ddarray.h14 #define DARRAY_PREALLOCATED(_type, _nr) \ argument
17 _type *data; \
18 _type preallocated[_nr]; \
21 #define DARRAY(_type) DARRAY_PREALLOCATED(_type, 0) argument
133 #define DEFINE_DARRAY_CLASS(_type) \ argument
134 DEFINE_CLASS(_type, _type, darray_exit(&(_T)), (_type) {}, void)
136 #define DEFINE_DARRAY(_type) \ argument
137 typedef DARRAY(_type) darray_##_type; \
138 DEFINE_DARRAY_CLASS(darray_##_type)
140 #define DEFINE_DARRAY_NAMED(_name, _type) \ argument
[all …]
A Dbtree_update.h302 #define bch2_bkey_make_mut_noupdate_typed(_trans, _k, _type) \ argument
303 bkey_i_to_##_type(__bch2_bkey_make_mut_noupdate(_trans, _k, \
304 KEY_TYPE_##_type, sizeof(struct bkey_i_##_type)))
332 #define bch2_bkey_make_mut_typed(_trans, _iter, _k, _flags, _type) \ argument
333 bkey_i_to_##_type(__bch2_bkey_make_mut(_trans, _iter, _k, _flags,\
334 KEY_TYPE_##_type, sizeof(struct bkey_i_##_type)))
400 bkey_i_to_##_type(__bch2_bkey_get_mut(_trans, _iter, \
402 KEY_TYPE_##_type, sizeof(struct bkey_i_##_type)))
425 #define bch2_bkey_alloc(_trans, _iter, _flags, _type) \ argument
426 bkey_i_to_##_type(__bch2_bkey_alloc(_trans, _iter, _flags, \
[all …]
A Dvstructs.h19 #define __vstruct_bytes(_type, _u64s) \ argument
21 BUILD_BUG_ON(offsetof(_type, _data) % sizeof(u64)); \
23 (size_t) (offsetof(_type, _data) + (_u64s) * sizeof(u64)); \
29 #define __vstruct_blocks(_type, _sector_block_bits, _u64s) \ argument
30 (round_up(__vstruct_bytes(_type, _u64s), \
A Dxattr.h33 #define X_SEARCH(_type, _name, _len) ((struct xattr_search_key) \ argument
34 { .type = _type, .name = QSTR_INIT(_name, _len) })
A Ddisk_accounting.h91 #define disk_accounting_key_init(_k, _type, ...) \ argument
94 (_k).type = BCH_DISK_ACCOUNTING_##_type; \
95 (_k)._type = (struct bch_acct_##_type) { __VA_ARGS__ }; \
A Dutil.h45 #define type_is_exact(_val, _type) \ argument
46 __builtin_types_compatible_p(typeof(_val), _type)
48 #define type_is(_val, _type) \ argument
49 (__builtin_types_compatible_p(typeof(_val), _type) || \
50 __builtin_types_compatible_p(typeof(_val), const _type))
A Dchecksum.h41 #define csum_vstruct(_c, _type, _nonce, _i) \ argument
45 bch2_checksum(_c, _type, _nonce, _start, vstruct_end(_i) - _start);\
A Dopts.c234 #define type_compatible_or_null(_p, _type) \ argument
236 __builtin_types_compatible_p(typeof(_p), typeof(_type)), _p, NULL)
252 #define x(_name, _bits, _flags, _type, _sb_opt, _default, _hint, _help) \ argument
263 _type \
A Dbtree_iter.h649 #define bch2_bkey_get_iter_typed(_trans, _iter, _btree_id, _pos, _flags, _type)\ argument
650 bkey_s_c_to_##_type(__bch2_bkey_get_iter(_trans, _iter, \
651 _btree_id, _pos, _flags, KEY_TYPE_##_type))
683 #define bch2_bkey_get_val_typed(_trans, _btree_id, _pos, _flags, _type, _val)\ argument
685 KEY_TYPE_##_type, sizeof(*_val), _val)
A Dopts.h571 #define x(_name, _bits, _mode, _type, _sb_opt, _default, ...) \ argument
/fs/ceph/
A Dxattr.c374 #define CEPH_XATTR_NAME(_type, _name) XATTR_CEPH_PREFIX #_type "." #_name argument
375 #define CEPH_XATTR_NAME2(_type, _name, _name2) \ argument
376 XATTR_CEPH_PREFIX #_type "." #_name "." #_name2
378 #define XATTR_NAME_CEPH(_type, _name, _flags) \ argument
380 .name = CEPH_XATTR_NAME(_type, _name), \
386 #define XATTR_RSTAT_FIELD(_type, _name) \ argument
387 XATTR_NAME_CEPH(_type, _name, VXATTR_FLAG_RSTAT)
390 .name = CEPH_XATTR_NAME(_type, _name), \
398 .name = CEPH_XATTR_NAME2(_type, _name, _field), \
404 #define XATTR_QUOTA_FIELD(_type, _name) \ argument
[all …]
/fs/xfs/
A Dxfs_drain.h81 #define xfs_group_intent_get(_mp, _fsbno, _type) \ argument
82 xfs_group_get_by_fsb((_mp), (_fsbno), (_type))
/fs/xfs/libxfs/
A Dxfs_group.h91 #define xfs_group_marked(_mp, _type, _mark) \ argument
92 xa_marked(&(_mp)->m_groups[(_type)].xa, (_mark))
/fs/configfs/
A Ddir.c972 #define type_print(_type) if (sd->s_type & _type) pr_info("%*s %s\n", level, " ", #_type) in configfs_dump_one() argument
/fs/btrfs/
A Dsysfs.c2529 #define QGROUP_RSV_ATTR(_name, _type) \ argument
2537 return btrfs_show_u64(&qgroup->rsv.values[_type], \

Completed in 34 milliseconds