Home
last modified time | relevance | path

Searched refs:struct_size (Results 1 – 3 of 3) sorted by relevance

/tools/include/linux/
A Doverflow.h139 #define struct_size(p, member, n) \ macro
/tools/testing/cxl/test/
A Dmem.c270 if (cmd->size_out < struct_size(pl, records, ret_limit)) in mock_get_event()
277 memset(cmd->payload_out, 0, struct_size(pl, records, 0)); in mock_get_event()
293 cmd->size_out = struct_size(pl, records, i); in mock_get_event()
1140 po = kzalloc(struct_size(po, record, poison_inject_dev_max), GFP_KERNEL); in cxl_get_injected_po()
1178 memcpy(cmd->payload_out, po, struct_size(po, record, nr_records)); in mock_get_poison()
1179 cmd->size_out = struct_size(po, record, nr_records); in mock_get_poison()
1520 if (count < struct_size(out, ents, 0)) { in mock_get_supported_features()
1527 if (count < struct_size(out, ents, MAX_CXL_TEST_FEATS)) { in mock_get_supported_features()
/tools/testing/nvdimm/test/
A Dnfit.c1890 + struct_size(flush, hint_address, NUM_HINTS) * NUM_DCR in nfit_test0_alloc()

Completed in 16 milliseconds