Home
last modified time | relevance | path

Searched refs:n_parts_total (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Def10.c3541 size_t outlen, n_parts_total, i, n_parts; in efx_ef10_mtd_probe() local
3555 n_parts_total = MCDI_DWORD(outbuf, NVRAM_PARTITIONS_OUT_NUM_PARTITIONS); in efx_ef10_mtd_probe()
3556 if (n_parts_total > in efx_ef10_mtd_probe()
3560 parts = kcalloc(n_parts_total, sizeof(*parts), GFP_KERNEL); in efx_ef10_mtd_probe()
3565 for (i = 0; i < n_parts_total; i++) { in efx_ef10_mtd_probe()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Def10.c3572 size_t outlen, n_parts_total, i, n_parts; in efx_ef10_mtd_probe() local
3586 n_parts_total = MCDI_DWORD(outbuf, NVRAM_PARTITIONS_OUT_NUM_PARTITIONS); in efx_ef10_mtd_probe()
3587 if (n_parts_total > in efx_ef10_mtd_probe()
3591 parts = kcalloc(n_parts_total, sizeof(*parts), GFP_KERNEL); in efx_ef10_mtd_probe()
3596 for (i = 0; i < n_parts_total; i++) { in efx_ef10_mtd_probe()

Completed in 10 milliseconds