Home
last modified time | relevance | path

Searched refs:LABEL_SIZE (Results 1 – 2 of 2) sorted by relevance

/tools/testing/nvdimm/test/
Dndtest.c23 LABEL_SIZE = SZ_128K, enumerator
204 if ((hdr->in_offset + hdr->in_length) > LABEL_SIZE) in ndtest_config_get()
208 len = min(hdr->in_length, LABEL_SIZE - hdr->in_offset); in ndtest_config_get()
219 if ((hdr->in_offset + hdr->in_length) > LABEL_SIZE) in ndtest_config_set()
222 len = min(hdr->in_length, LABEL_SIZE - hdr->in_offset); in ndtest_config_set()
761 res = ndtest_alloc_resource(p, LABEL_SIZE, NULL); in ndtest_nvdimm_init()
767 d->config_size = LABEL_SIZE; in ndtest_nvdimm_init()
773 if (!ndtest_alloc_resource(p, LABEL_SIZE, in ndtest_nvdimm_init()
777 if (!ndtest_alloc_resource(p, LABEL_SIZE, in ndtest_nvdimm_init()
Dnfit.c104 LABEL_SIZE = SZ_128K, enumerator
458 nd_cmd->config_size = LABEL_SIZE; in nfit_test_cmd_get_config_size()
472 if (offset >= LABEL_SIZE) in nfit_test_cmd_get_config_data()
478 len = min(nd_cmd->in_length, LABEL_SIZE - offset); in nfit_test_cmd_get_config_data()
494 if (offset >= LABEL_SIZE) in nfit_test_cmd_set_config_data()
501 len = min(nd_cmd->in_length, LABEL_SIZE - offset); in nfit_test_cmd_set_config_data()
1914 t->label[i] = test_alloc(t, LABEL_SIZE, &t->label_dma[i]); in nfit_test0_alloc()
1927 t->dcr[i] = test_alloc(t, LABEL_SIZE, &t->dcr_dma[i]); in nfit_test0_alloc()
1961 t->label[i] = test_alloc(t, LABEL_SIZE, &t->label_dma[i]); in nfit_test1_alloc()