Lines Matching refs:sz
75 size_t sz; in afs_read_footer() local
78 ret = mtd_read(mtd, ptr, sizeof(fs), &sz, (u_char *)&fs); in afs_read_footer()
79 if (ret >= 0 && sz != sizeof(fs)) in afs_read_footer()
131 size_t sz; in afs_read_iis() local
135 ret = mtd_read(mtd, ptr, sizeof(*iis), &sz, (u_char *)iis); in afs_read_iis()
139 if (sz != sizeof(*iis)) { in afs_read_iis()
169 u_int mask, off, idx, sz; in parse_afs_partitions() local
184 for (idx = off = sz = 0; off < mtd->size; off += mtd->erasesize) { in parse_afs_partitions()
200 sz += sizeof(struct mtd_partition); in parse_afs_partitions()
201 sz += strlen(iis.name) + 1; in parse_afs_partitions()
205 if (!sz) in parse_afs_partitions()
208 parts = kzalloc(sz, GFP_KERNEL); in parse_afs_partitions()