Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/nvdimm/test/
Dndtest.c23 LABEL_SIZE = SZ_128K, enumerator
265 if ((hdr->in_offset + hdr->in_length) > LABEL_SIZE) in ndtest_config_get()
269 len = min(hdr->in_length, LABEL_SIZE - hdr->in_offset); in ndtest_config_get()
280 if ((hdr->in_offset + hdr->in_length) > LABEL_SIZE) in ndtest_config_set()
283 len = min(hdr->in_length, LABEL_SIZE - hdr->in_offset); in ndtest_config_set()
897 res = ndtest_alloc_resource(p, LABEL_SIZE, NULL); in ndtest_nvdimm_init()
903 d->config_size = LABEL_SIZE; in ndtest_nvdimm_init()
909 if (!ndtest_alloc_resource(p, LABEL_SIZE, in ndtest_nvdimm_init()
913 if (!ndtest_alloc_resource(p, LABEL_SIZE, in ndtest_nvdimm_init()
Dnfit.c106 LABEL_SIZE = SZ_128K, enumerator
460 nd_cmd->config_size = LABEL_SIZE; in nfit_test_cmd_get_config_size()
474 if (offset >= LABEL_SIZE) in nfit_test_cmd_get_config_data()
480 len = min(nd_cmd->in_length, LABEL_SIZE - offset); in nfit_test_cmd_get_config_data()
496 if (offset >= LABEL_SIZE) in nfit_test_cmd_set_config_data()
503 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-v5.15/drivers/scsi/
Dhpsa.c1227 #define LABEL_SIZE 25 in hpsa_show_dev_msg() macro
1228 char label[LABEL_SIZE]; in hpsa_show_dev_msg()
1235 snprintf(label, LABEL_SIZE, "controller"); in hpsa_show_dev_msg()
1238 snprintf(label, LABEL_SIZE, "enclosure"); in hpsa_show_dev_msg()
1243 snprintf(label, LABEL_SIZE, "external"); in hpsa_show_dev_msg()
1245 snprintf(label, LABEL_SIZE, "%s", in hpsa_show_dev_msg()
1248 snprintf(label, LABEL_SIZE, "RAID-%s", in hpsa_show_dev_msg()
1253 snprintf(label, LABEL_SIZE, "rom"); in hpsa_show_dev_msg()
1256 snprintf(label, LABEL_SIZE, "tape"); in hpsa_show_dev_msg()
1259 snprintf(label, LABEL_SIZE, "changer"); in hpsa_show_dev_msg()
[all …]
/Linux-v5.15/drivers/s390/block/
Ddasd_eckd.c158 #define LABEL_SIZE 140 macro
736 return LABEL_SIZE; in dasd_eckd_cdl_reclen()
2873 ect->dl = LABEL_SIZE - 44; in dasd_eckd_build_format()
3399 blksize = LABEL_SIZE - 44; in dasd_eckd_format_evaluate_tracks()