Searched refs:LABEL_SIZE (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/nvdimm/test/ |
H A D | ndtest.c | 25 LABEL_SIZE = SZ_128K, enumerator 210 if ((hdr->in_offset + hdr->in_length) > LABEL_SIZE) in ndtest_config_get() 214 len = min(hdr->in_length, LABEL_SIZE - hdr->in_offset); in ndtest_config_get() 225 if ((hdr->in_offset + hdr->in_length) > LABEL_SIZE) in ndtest_config_set() 228 len = min(hdr->in_length, LABEL_SIZE - hdr->in_offset); in ndtest_config_set() 767 res = ndtest_alloc_resource(p, LABEL_SIZE, NULL); in ndtest_nvdimm_init() 773 d->config_size = LABEL_SIZE; in ndtest_nvdimm_init() 779 if (!ndtest_alloc_resource(p, LABEL_SIZE, in ndtest_nvdimm_init() 783 if (!ndtest_alloc_resource(p, LABEL_SIZE, in ndtest_nvdimm_init()
|
H A D | nfit.c | 104 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() 1916 t->label[i] = test_alloc(t, LABEL_SIZE, &t->label_dma[i]); in nfit_test0_alloc() 1929 t->dcr[i] = test_alloc(t, LABEL_SIZE, &t->dcr_dma[i]); in nfit_test0_alloc() 1963 t->label[i] = test_alloc(t, LABEL_SIZE, &t->label_dma[i]); in nfit_test1_alloc()
|
/linux/drivers/scsi/ |
H A D | hpsa.c | 1224 #define LABEL_SIZE 25 in hpsa_show_dev_msg() macro 1225 char label[LABEL_SIZE]; in hpsa_show_dev_msg() 1232 snprintf(label, LABEL_SIZE, "controller"); in hpsa_show_dev_msg() 1235 snprintf(label, LABEL_SIZE, "enclosure"); in hpsa_show_dev_msg() 1240 snprintf(label, LABEL_SIZE, "external"); in hpsa_show_dev_msg() 1242 snprintf(label, LABEL_SIZE, "%s", in hpsa_show_dev_msg() 1245 snprintf(label, LABEL_SIZE, "RAID-%s", in hpsa_show_dev_msg() 1250 snprintf(label, LABEL_SIZE, "rom"); in hpsa_show_dev_msg() 1253 snprintf(label, LABEL_SIZE, "tape"); in hpsa_show_dev_msg() 1256 snprintf(label, LABEL_SIZE, "changer"); in hpsa_show_dev_msg() [all …]
|