Lines Matching defs:state
33 int atari_partition(struct parsed_partitions *state)
45 rs = read_part_sector(state, 0, §);
50 hd_size = state->bdev->bd_inode->i_size >> 9;
65 strlcat(state->pp_buf, " AHDI", PAGE_SIZE);
66 for (slot = 1; pi < &rs->part[4] && slot < state->limit; slot++, pi++) {
76 put_partition (state, slot, be32_to_cpu(pi->st),
84 strlcat(state->pp_buf, " XGM<", PAGE_SIZE);
87 xrs = read_part_sector(state, partsect, §2);
101 put_partition(state, slot,
118 if (++slot == state->limit) {
123 strlcat(state->pp_buf, " >", PAGE_SIZE);
130 strlcat(state->pp_buf, " ICD<", PAGE_SIZE);
131 for (; pi < &rs->icdpart[8] && slot < state->limit; slot++, pi++) {
136 put_partition (state, slot,
140 strlcat(state->pp_buf, " >", PAGE_SIZE);
146 strlcat(state->pp_buf, "\n", PAGE_SIZE);