Lines Matching defs:size
242 /* no size to convey if the pfn instance is disabled */
249 static DEVICE_ATTR_RO(size);
378 * re-enable the namespace with correct size so that we can access
509 "init failed, page size mismatch %d\n",
517 "init failed, struct page size mismatch %d\n",
584 dev_err(&nd_pfn->dev, "pfn array size exceeds capacity of %s\n",
722 resource_size_t start, size;
760 * Note, we use 64 here for the standard size of struct page,
766 size = resource_size(&nsio->res);
767 npfns = PHYS_PFN(size - SZ_8K);
781 end_trunc = start + size - ALIGN_DOWN(start + size, align);
784 * The altmap should be padded out to the block size used
788 * Also make sure size of struct page is less than 64. We
789 * want to make sure we use large enough size here so that
791 * struct page size. But we also want to make sure we notice
802 if (offset >= size) {
808 npfns = PHYS_PFN(size - offset - end_trunc);