Home
last modified time | relevance | path

Searched refs:zonenum (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/mtd/
Dmtdpstore.c64 u64 zonenum = div_u64(off, cxt->info.kmsg_size); in mtdpstore_mark_used() local
66 dev_dbg(&mtd->dev, "mark zone %llu used\n", zonenum); in mtdpstore_mark_used()
67 set_bit(zonenum, cxt->usedmap); in mtdpstore_mark_used()
74 u64 zonenum = div_u64(off, cxt->info.kmsg_size); in mtdpstore_mark_unused() local
76 dev_dbg(&mtd->dev, "mark zone %llu unused\n", zonenum); in mtdpstore_mark_unused()
77 clear_bit(zonenum, cxt->usedmap); in mtdpstore_mark_unused()
85 u64 zonenum; in mtdpstore_block_mark_unused() local
88 zonenum = div_u64(off, cxt->info.kmsg_size); in mtdpstore_block_mark_unused()
90 dev_dbg(&mtd->dev, "mark zone %llu unused\n", zonenum); in mtdpstore_block_mark_unused()
91 clear_bit(zonenum, cxt->usedmap); in mtdpstore_block_mark_unused()
[all …]
/linux-6.1.9/fs/pstore/
Dzone.c753 unsigned int zonenum, len; in psz_kmsg_write_record() local
756 zonenum = (cxt->kmsg_write_cnt + i) % cxt->kmsg_max_cnt; in psz_kmsg_write_record()
757 zone = cxt->kpszs[zonenum]; in psz_kmsg_write_record()
771 pr_debug("write %s to zone id %d\n", zone->name, zonenum); in psz_kmsg_write_record()
777 cxt->kmsg_write_cnt = zonenum + 1; in psz_kmsg_write_record()
786 zonenum); in psz_kmsg_write_record()
895 int zonenum = smp_processor_id(); in psz_pstore_write() local
899 return psz_record_write(cxt->fpszs[zonenum], record); in psz_pstore_write()
Dram.c319 int zonenum; in ramoops_pstore_write() local
327 zonenum = smp_processor_id(); in ramoops_pstore_write()
329 zonenum = 0; in ramoops_pstore_write()
331 persistent_ram_write(cxt->fprzs[zonenum], record->buf, in ramoops_pstore_write()