Home
last modified time | relevance | path

Searched refs:start_sec (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/scsi/
Dscsi_debug.c1708 static int prot_verify_read(struct scsi_cmnd *SCpnt, sector_t start_sec, in prot_verify_read() argument
1715 sector_t tmp_sec = start_sec; in prot_verify_read()
1718 start_sec = do_div(tmp_sec, sdebug_store_sectors); in prot_verify_read()
1720 sdt = (struct sd_dif_tuple *)(dif_storep + dif_offset(start_sec)); in prot_verify_read()
1728 sector = start_sec + i; in prot_verify_read()
1776 sector = start_sec; in prot_verify_read()
1866 static int prot_verify_write(struct scsi_cmnd *SCpnt, sector_t start_sec, in prot_verify_write() argument
1874 sector_t tmp_sec = start_sec; in prot_verify_write()
1937 != (start_sec & 0xffffffff)) { in prot_verify_write()
1968 start_sec++; in prot_verify_write()
[all …]
Dgdth_proc.c590 ha->hdr[i].start_sec = 0; in gdth_get_info()
598 ha->hdr[k].start_sec = phg->entry[j].start_sec; in gdth_get_info()
616 (u32)(ha->hdr[i].size/2048), ha->hdr[i].start_sec); in gdth_get_info()
Dgdth.h671 u32 start_sec; /* start sector */ member
899 u32 start_sec; /* start sector */ member
/linux-2.6.39/mm/
Dmemory_hotplug.c306 int start_sec, end_sec; in __add_pages() local
308 start_sec = pfn_to_section_nr(phys_start_pfn); in __add_pages()
311 for (i = start_sec; i <= end_sec; i++) { in __add_pages()
/linux-2.6.39/drivers/staging/rts_pstor/
Drtsx_scsi.c686 u32 start_sec; in read_write() local
728 start_sec = ((u32)srb->cmnd[2] << 24) | ((u32)srb->cmnd[3] << 16) | in read_write()
732 start_sec = ((u32)(srb->cmnd[1] & 0x1F) << 16) | in read_write()
737 start_sec = ((u32)srb->cmnd[4] << 24) | ((u32)srb->cmnd[5] << 16) | in read_write()
749 if ((start_sec > get_card_size(chip, lun)) || in read_write()
750 ((start_sec + sec_cnt) > get_card_size(chip, lun))) { in read_write()
785 retval = card_rw(srb, chip, start_sec, sec_cnt); in read_write()
Dms.c2505 static int mspro_set_rw_cmd(struct rtsx_chip *chip, u32 start_sec, u16 sec_cnt, u8 cmd) in mspro_set_rw_cmd() argument
2513 data[3] = (u8)(start_sec >> 24); in mspro_set_rw_cmd()
2514 data[4] = (u8)(start_sec >> 16); in mspro_set_rw_cmd()
2515 data[5] = (u8)(start_sec >> 8); in mspro_set_rw_cmd()
2516 data[6] = (u8)start_sec; in mspro_set_rw_cmd()
/linux-2.6.39/drivers/isdn/hardware/eicon/
Ddebug.c195 static dword start_sec; variable
218 diva_os_get_time (&start_sec, &start_usec); in diva_maint_init()