Searched refs:max_xfer (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/drivers/nvdimm/ |
D | label.c | 415 size_t config_size, read_size, max_xfer, offset; in nd_label_data_init() local 424 if (ndd->nsarea.status || ndd->nsarea.max_xfer == 0) { in nd_label_data_init() 426 ndd->nsarea.max_xfer, ndd->nsarea.config_size); in nd_label_data_init() 458 max_xfer = min_t(size_t, ndd->nsarea.max_xfer, config_size); in nd_label_data_init() 459 if (read_size < max_xfer) { in nd_label_data_init() 461 max_xfer -= ((max_xfer - 1) - (config_size - 1) % max_xfer) / in nd_label_data_init() 462 DIV_ROUND_UP(config_size, max_xfer); in nd_label_data_init() 464 if (max_xfer < read_size) in nd_label_data_init() 465 max_xfer = read_size; in nd_label_data_init() 469 read_size = min(DIV_ROUND_UP(read_size, max_xfer) * max_xfer, in nd_label_data_init() [all …]
|
D | dimm_devs.c | 100 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_get_config_data() 146 max_cmd_size = min_t(u32, len, ndd->nsarea.max_xfer); in nvdimm_set_config_data()
|
/Linux-v5.10/include/uapi/linux/ |
D | ndctl.h | 26 __u32 max_xfer; member
|
/Linux-v5.10/include/uapi/scsi/ |
D | cxlflash_ioctl.h | 82 __u64 max_xfer; /* Returned max transfer size, blocks */ member
|
/Linux-v5.10/drivers/scsi/ |
D | ips.c | 1792 if ((scb->data_len + e_len) > ha->max_xfer) { in ips_fill_scb_sg_single() 1793 e_len = ha->max_xfer - scb->data_len; in ips_fill_scb_sg_single() 2451 ha->max_xfer = 0x10000; in ips_hainit() 2455 ha->max_xfer = 0x20000; in ips_hainit() 2459 ha->max_xfer = 0x40000; in ips_hainit() 2464 ha->max_xfer = 0x80000; in ips_hainit()
|
D | ips.h | 1014 uint32_t max_xfer; /* Maximum Xfer size */ member
|
/Linux-v5.10/drivers/scsi/cxlflash/ |
D | superpipe.c | 1476 attach->max_xfer = sdev->host->max_sectors * MAX_SECTOR_UNIT; in cxlflash_disk_attach() 1477 attach->max_xfer /= gli->blk_len; in cxlflash_disk_attach()
|
/Linux-v5.10/arch/powerpc/platforms/pseries/ |
D | papr_scm.c | 757 get_size_hdr->max_xfer = 8; in papr_scm_ndctl()
|
/Linux-v5.10/tools/testing/nvdimm/test/ |
D | nfit.c | 462 nd_cmd->max_xfer = SZ_4K; in nfit_test_cmd_get_config_size() 2975 .max_xfer = SZ_4K, in nfit_ctl_test() 2985 || cmd.cfg_size.max_xfer != SZ_4K) { in nfit_ctl_test()
|