Lines Matching refs:partition

555 	os_partition_t *par = &aux->partition;
617 os_partition_t * par = &(aux->partition);
618 struct st_partstat * STps = &(STp->ps[STp->partition]);
653 printk(OSST_DEB_MSG "%s:D: Skipping frame, partition num %d\n",
661 printk(OSST_DEB_MSG "%s:D: Skipping frame, partition version %d\n", name, par->par_desc_ver);
911 STp->ps[STp->partition].rw = OS_WRITING_COMPLETE;
924 if (minlast >= 0 && STp->ps[STp->partition].rw != ST_READING)
1087 ntohl(aux->update_frame_cntr), ntohs(aux->partition.wrt_pass_cntr),
1103 struct st_partstat * STps = &(STp->ps[STp->partition]);
1141 struct st_partstat * STps = &(STp->ps[STp->partition]);
1241 printk(OSST_DEB_MSG "%s:D: Skipping config partition\n", name);
1269 struct st_partstat * STps = &(STp->ps[STp->partition]);
1385 STp->ps[STp->partition].drv_file, STp->ps[STp->partition].drv_block,
1386 STp->ps[STp->partition].rw == ST_WRITING?'w':'r',
1387 STp->ps[STp->partition].rw == ST_WRITING?STp->buffer->buffer_bytes:
1388 STp->buffer->read_pointer, STp->ps[STp->partition].eof);
1391 if (STp->ps[STp->partition].drv_block >= 0) {
1394 if (STp->ps[STp->partition].rw == ST_WRITING)
1408 struct st_partstat * STps = &(STp->ps[STp->partition]);
1773 struct st_partstat * STps = & STp->ps[STp->partition];
1826 printk(KERN_WARNING "%s:I: Bad frame in header partition, skipped\n", name);
2318 header->partition[0].partition_num = OS_DATA_PARTITION;
2319 header->partition[0].par_desc_ver = OS_PARTITION_VERSION;
2320 header->partition[0].wrt_pass_cntr = htons(STp->wrt_pass_cntr);
2321 header->partition[0].first_frame_ppos = htonl(STp->first_data_ppos);
2322 header->partition[0].last_frame_ppos = htonl(STp->capacity);
2323 header->partition[0].eod_frame_ppos = htonl(STp->eod_frame_ppos);
2412 aux->partition.partition_num != OS_CONFIG_PARTITION ||
2413 ntohl(aux->partition.first_frame_ppos) != 0 ||
2414 ntohl(aux->partition.last_frame_ppos) != 0xbb7 ) {
2418 aux->partition.partition_num, ntohl(aux->partition.first_frame_ppos),
2419 ntohl(aux->partition.last_frame_ppos));
2499 STp->wrt_pass_cntr = ntohs(header->partition[0].wrt_pass_cntr);
2500 STp->first_data_ppos = ntohl(header->partition[0].first_frame_ppos);
2501 STp->eod_frame_ppos = ntohl(header->partition[0].eod_frame_ppos);
2513 ntohl(header->partition[0].last_frame_ppos),
2514 ntohl(header->partition[0].eod_frame_ppos));
2528 header->partition[0].partition_num != OS_DATA_PARTITION ||
2529 header->partition[0].par_desc_ver != OS_PARTITION_VERSION ||
2530 header->partition[0].last_frame_ppos != htonl(STp->capacity) ||
2651 STp->ps[STp->partition].rw = ST_WRITING;
2978 STps = &(STp->ps[STp->partition]);
3027 struct st_partstat * STps = &(STp->ps[STp->partition]);
3091 STps = &(STp->ps[STp->partition]);
3201 STps = &(STp->ps[STp->partition]);
3256 printk(OSST_DEB_MSG "%s:D: Reaching config partition.\n", name);
3261 /* error recovery may have bumped us past the header partition */
3264 printk(OSST_DEB_MSG "%s:D: Skipping over config partition.\n", name);
3277 STp->ps[STp->partition].rw = ST_WRITING;
3454 STps = &(STp->ps[STp->partition]);
3747 STps = &(STp->ps[STp->partition]);
4078 STps = &(STp->ps[STp->partition]);
4393 STp->partition = 0;
4596 STp->partition = STp->new_partition = 0;
4707 STp->partition = STp->new_partition = 0;
4741 STp->partition = STp->new_partition = 0;
4830 struct st_partstat * STps = &(STp->ps[STp->partition]);
4861 STps = &(STp->ps[STp->partition]);
4966 STps = &(STp->ps[STp->partition]);
5027 /* Old position must be restored if partition will be changed */
5028 i = !STp->can_partitions || (STp->new_partition != STp->partition);
5134 STp->partition = STp->new_partition = 0;
5211 mt_status.mt_resid = STp->partition;
5922 tpnt->partition = 0;