Lines Matching refs:state
31 adfs_partition(struct parsed_partitions *state, char *name, char *data, in adfs_partition() argument
50 put_partition(state, slot, first_sector, nr_sects); in adfs_partition()
74 riscix_partition(struct parsed_partitions *state, struct block_device *bdev, in riscix_partition() argument
93 put_partition(state, slot++, first_sect, size); in riscix_partition()
97 put_partition(state, slot++, in riscix_partition()
106 put_partition(state, slot++, first_sect, nr_sects); in riscix_partition()
127 linux_partition(struct parsed_partitions *state, struct block_device *bdev, in linux_partition() argument
136 put_partition(state, slot++, first_sect, size); in linux_partition()
145 if (slot == state->limit) in linux_partition()
147 put_partition(state, slot++, first_sect + in linux_partition()
161 adfspart_check_CUMANA(struct parsed_partitions *state, struct block_device *bdev) in adfspart_check_CUMANA() argument
192 if (slot == state->limit) in adfspart_check_CUMANA()
195 dr = adfs_partition(state, name, data, first_sector, slot++); in adfspart_check_CUMANA()
220 slot = riscix_partition(state, bdev, first_sector, in adfspart_check_CUMANA()
226 slot = linux_partition(state, bdev, first_sector, in adfspart_check_CUMANA()
253 adfspart_check_ADFS(struct parsed_partitions *state, struct block_device *bdev) in adfspart_check_ADFS() argument
266 dr = adfs_partition(state, "ADFS", data, 0, slot++); in adfspart_check_ADFS()
288 slot = riscix_partition(state, bdev, start_sect, in adfspart_check_ADFS()
294 slot = linux_partition(state, bdev, start_sect, in adfspart_check_ADFS()
353 adfspart_check_ICS(struct parsed_partitions *state, struct block_device *bdev) in adfspart_check_ICS() argument
378 if (slot == state->limit) in adfspart_check_ICS()
402 put_partition(state, slot++, start, size); in adfspart_check_ICS()
450 adfspart_check_POWERTEC(struct parsed_partitions *state, struct block_device *bdev) in adfspart_check_POWERTEC() argument
474 put_partition(state, slot++, start, size); in adfspart_check_POWERTEC()
512 adfspart_check_EESOX(struct parsed_partitions *state, struct block_device *bdev) in adfspart_check_EESOX() argument
541 put_partition(state, slot++, start, next - start); in adfspart_check_EESOX()
549 put_partition(state, slot++, start, size - start); in adfspart_check_EESOX()