Lines Matching defs:state
61 int ibm_partition(struct parsed_partitions *state)
63 struct block_device *bdev = state->bdev;
115 data = read_part_sector(state, labelsect, §);
149 strlcat(state->pp_buf, tmp, PAGE_SIZE);
156 strlcat(state->pp_buf, tmp, PAGE_SIZE);
161 put_partition(state, 1, offset*(blocksize >> 9),
166 strlcat(state->pp_buf, tmp, PAGE_SIZE);
185 strlcat(state->pp_buf, "(nonl)", PAGE_SIZE);
189 put_partition(state, 1, offset*(blocksize >> 9),
205 strlcat(state->pp_buf, tmp, PAGE_SIZE);
212 data = read_part_sector(state, blk * (blocksize/512),
227 data = read_part_sector(state,
241 if (counter >= state->limit)
243 put_partition(state, counter + 1,
248 data = read_part_sector(state,
261 strlcat(state->pp_buf, "\n", PAGE_SIZE);