Displaying 1 result from an estimated 1 matches for "sample_it".
Did you mean:
sample_id
2023 Feb 20
1
[PATCH drm-next v2 03/16] maple_tree: split up MA_STATE() macro
...dakr at redhat.com> [230217 08:44]:
>> Split up the MA_STATE() macro such that components using the maple tree
>> can easily inherit from struct ma_state and build custom tree walk
>> macros to hide their internals from users.
>>
>> Example:
>>
>> struct sample_iter {
>> struct ma_state mas;
>> struct sample_mgr *mgr;
>> struct sample_entry *entry;
>> };
>>
>> \#define SAMPLE_ITER(name, __mgr) \
>> struct sample_iter name = { \
>> .mas = __MA_STATE(&(__mgr)->mt, 0, 0),
>> .mgr = __mgr,
>...