tag | line | file | source code |
SECTOR_SIZE | 162 | drivers/block/ide-cd.c | #define SECTORS_PER_FRAME (CD_FRAMESIZE / SECTOR_SIZE) |
SECTOR_SIZE | 536 | drivers/block/ide-cd.c | int n = (rq->buffer - rq->bh->b_data) / SECTOR_SIZE; |
SECTOR_SIZE | 867 | drivers/block/ide-cd.c | dest = info->sector_buffer + info->nsectors_buffered * SECTOR_SIZE; |
SECTOR_SIZE | 869 | drivers/block/ide-cd.c | cdrom_in_bytes (drive, dest, SECTOR_SIZE); |
SECTOR_SIZE | 873 | drivers/block/ide-cd.c | dest += SECTOR_SIZE; |
SECTOR_SIZE | 878 | drivers/block/ide-cd.c | char dum[SECTOR_SIZE]; |
SECTOR_SIZE | 957 | drivers/block/ide-cd.c | if ((len % SECTOR_SIZE) != 0) { |
SECTOR_SIZE | 966 | drivers/block/ide-cd.c | sectors_to_transfer = len / SECTOR_SIZE; |
SECTOR_SIZE | 976 | drivers/block/ide-cd.c | char dum[SECTOR_SIZE]; |
SECTOR_SIZE | 1011 | drivers/block/ide-cd.c | , rq->buffer, SECTOR_SIZE); |
SECTOR_SIZE | 1012 | drivers/block/ide-cd.c | rq->buffer += SECTOR_SIZE; |
SECTOR_SIZE | 1050 | drivers/block/ide-cd.c | (rq->sector - info->sector_buffered) * SECTOR_SIZE, |
SECTOR_SIZE | 1051 | drivers/block/ide-cd.c | SECTOR_SIZE); |
SECTOR_SIZE | 1052 | drivers/block/ide-cd.c | rq->buffer += SECTOR_SIZE; |
SECTOR_SIZE | 510 | drivers/char/ftape/ecc.c | end = data + nblocks * (SECTOR_SIZE / sizeof(long)); |
SECTOR_SIZE | 549 | drivers/char/ftape/ecc.c | data += SECTOR_SIZE / sizeof(long); |
SECTOR_SIZE | 709 | drivers/char/ftape/ecc.c | dp = &data[l * SECTOR_SIZE]; |
SECTOR_SIZE | 761 | drivers/char/ftape/ecc.c | parity_bytes = &mseg->data[(mseg->blocks - 3) * SECTOR_SIZE]; |
SECTOR_SIZE | 762 | drivers/char/ftape/ecc.c | for (i = 0; i < SECTOR_SIZE; i += sizeof(long)) { |
SECTOR_SIZE | 765 | drivers/char/ftape/ecc.c | SECTOR_SIZE / sizeof(long)); |
SECTOR_SIZE | 794 | drivers/char/ftape/ecc.c | for (col = 0; col < SECTOR_SIZE; col += sizeof(long)) { |
SECTOR_SIZE | 801 | drivers/char/ftape/ecc.c | if (col >= SECTOR_SIZE) { |
SECTOR_SIZE | 877 | drivers/char/ftape/ecc.c | while ((col += sizeof(long)) < SECTOR_SIZE) { |
SECTOR_SIZE | 884 | drivers/char/ftape/ecc.c | } while (col < SECTOR_SIZE); |
SECTOR_SIZE | 854 | drivers/char/ftape/fdc-io.c | set_dma_count(fdc.dma, SECTOR_SIZE * buff->sector_count); |
SECTOR_SIZE | 201 | drivers/char/ftape/fdc-isr.c | buff->ptr += SECTOR_SIZE; |
SECTOR_SIZE | 256 | drivers/char/ftape/fdc-isr.c | nr_xferred = buff->sector_count * SECTOR_SIZE - dma_residue; |
SECTOR_SIZE | 265 | drivers/char/ftape/fdc-isr.c | nr_not_xferred = ((dma_residue + (SECTOR_SIZE - 1)) / SECTOR_SIZE); |
SECTOR_SIZE | 273 | drivers/char/ftape/fdc-isr.c | buff->ptr += buff->sector_count * SECTOR_SIZE; |
SECTOR_SIZE | 114 | drivers/char/ftape/ftape-bsm.c | offset = 2 * SECTOR_SIZE; /* skip failed sector log */ |
SECTOR_SIZE | 38 | drivers/char/ftape/ftape-bsm.h | #define FAILED_SECTOR_LOG_SIZE (2 * SECTOR_SIZE - 256) |
SECTOR_SIZE | 42 | drivers/char/ftape/ftape-bsm.h | #define BAD_SECTOR_MAP_SIZE (29 * SECTOR_SIZE - 256) |
SECTOR_SIZE | 198 | drivers/char/ftape/ftape-eof.c | byte_count >= eof_mark_ptr->sector * SECTOR_SIZE) { |
SECTOR_SIZE | 374 | drivers/char/ftape/ftape-eof.c | address + 29 * SECTOR_SIZE); |
SECTOR_SIZE | 380 | drivers/char/ftape/ftape-eof.c | end = find_end_of_eof_list(start, address + 29 * SECTOR_SIZE); |
SECTOR_SIZE | 428 | drivers/char/ftape/ftape-eof.c | buffer + 29 * SECTOR_SIZE) + 3; |
SECTOR_SIZE | 118 | drivers/char/ftape/ftape-read.c | mseg.blocks = buffer[tail].bytes / SECTOR_SIZE; |
SECTOR_SIZE | 139 | drivers/char/ftape/ftape-read.c | memcpy(destination, mseg.data, (mseg.blocks - 3) * SECTOR_SIZE); |
SECTOR_SIZE | 145 | drivers/char/ftape/ftape-read.c | return (mseg.blocks - 3) * SECTOR_SIZE; |
SECTOR_SIZE | 243 | drivers/char/ftape/ftape-read.c | bytes_read = sector_count * SECTOR_SIZE; |
SECTOR_SIZE | 555 | drivers/char/ftape/ftape-read.c | sizeof(deblock_buffer) / SECTOR_SIZE); |
SECTOR_SIZE | 48 | drivers/char/ftape/ftape-rw.c | byte deblock_buffer[(SECTORS_PER_SEGMENT - 3) * SECTOR_SIZE]; |
SECTOR_SIZE | 49 | drivers/char/ftape/ftape-rw.c | byte scratch_buffer[(SECTORS_PER_SEGMENT - 3) * SECTOR_SIZE]; |
SECTOR_SIZE | 128 | drivers/char/ftape/ftape-rw.c | buff->ptr = buff->address + buff->data_offset * SECTOR_SIZE; |
SECTOR_SIZE | 145 | drivers/char/ftape/ftape-rw.h | extern byte deblock_buffer[(SECTORS_PER_SEGMENT - 3) * SECTOR_SIZE]; |
SECTOR_SIZE | 146 | drivers/char/ftape/ftape-rw.h | extern byte scratch_buffer[(SECTORS_PER_SEGMENT - 3) * SECTOR_SIZE]; |
SECTOR_SIZE | 90 | drivers/char/ftape/ftape-write.c | memcpy(mseg.data, source, (mseg.blocks - 3) * SECTOR_SIZE); |
SECTOR_SIZE | 95 | drivers/char/ftape/ftape-write.c | result = (mseg.blocks - 3) * SECTOR_SIZE; |
SECTOR_SIZE | 567 | drivers/char/ftape/ftape-write.c | ((SECTOR_SIZE - 1 + result + data_remaining) / SECTOR_SIZE)); |
SECTOR_SIZE | 78 | drivers/scsi/scsi.c | #define SECTORS_PER_PAGE (PAGE_SIZE/SECTOR_SIZE) |
SECTOR_SIZE | 2308 | drivers/scsi/scsi.c | if(len % SECTOR_SIZE != 0 || len > PAGE_SIZE) |
SECTOR_SIZE | 3370 | drivers/scsi/scsi.c | dma_sectors = PAGE_SIZE / SECTOR_SIZE; |
SECTOR_SIZE | 34 | fs/fat/cache.c | SECTOR_BITS),SECTOR_SIZE,0,FAT_READAHEAD))) { |
SECTOR_SIZE | 42 | fs/fat/cache.c | >> SECTOR_BITS),SECTOR_SIZE,0,FAT_READAHEAD))) { |
SECTOR_SIZE | 51 | fs/fat/cache.c | (SECTOR_SIZE-1)) >> 1]); |
SECTOR_SIZE | 55 | fs/fat/cache.c | p_first = &((unsigned char *) bh->b_data)[first & (SECTOR_SIZE-1)]; |
SECTOR_SIZE | 57 | fs/fat/cache.c | (SECTOR_SIZE-1)]; |
SECTOR_SIZE | 64 | fs/fat/cache.c | ((unsigned short *) bh->b_data)[(first & (SECTOR_SIZE-1)) >> |
SECTOR_SIZE | 81 | fs/fat/cache.c | fat_length*copy,SECTOR_SIZE,0,FAT_READAHEAD))) break; |
SECTOR_SIZE | 82 | fs/fat/cache.c | memcpy(c_bh->b_data,bh->b_data,SECTOR_SIZE); |
SECTOR_SIZE | 88 | fs/fat/cache.c | +1,SECTOR_SIZE,0,FAT_READAHEAD))) { |
SECTOR_SIZE | 92 | fs/fat/cache.c | memcpy(c_bh2->b_data,bh2->b_data,SECTOR_SIZE); |
SECTOR_SIZE | 139 | fs/fat/file.c | bh = getblk(inode->i_dev,sector,SECTOR_SIZE); |
SECTOR_SIZE | 193 | fs/fat/file.c | int count_max = (filp->f_pos & (SECTOR_SIZE-1)) + count; |
SECTOR_SIZE | 196 | fs/fat/file.c | to_reada = count_max / SECTOR_SIZE; |
SECTOR_SIZE | 197 | fs/fat/file.c | if (count_max & (SECTOR_SIZE-1)) to_reada++; |
SECTOR_SIZE | 235 | fs/fat/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
SECTOR_SIZE | 237 | fs/fat/file.c | size = MIN(SECTOR_SIZE-offset,left_in_file); |
SECTOR_SIZE | 307 | fs/fat/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
SECTOR_SIZE | 308 | fs/fat/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
SECTOR_SIZE | 311 | fs/fat/file.c | && (size == SECTOR_SIZE |
SECTOR_SIZE | 316 | fs/fat/file.c | if (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE))){ |
SECTOR_SIZE | 320 | fs/fat/file.c | }else if (!(bh = bread(inode->i_dev,sector,SECTOR_SIZE))) { |
SECTOR_SIZE | 329 | fs/fat/file.c | written = left = SECTOR_SIZE-offset; |
SECTOR_SIZE | 330 | fs/fat/file.c | to = (char *) bh->b_data+(filp->f_pos & (SECTOR_SIZE-1)); |
SECTOR_SIZE | 349 | fs/fat/file.c | update_vm_cache(inode, filp->f_pos, bh->b_data + (filp->f_pos & (SECTOR_SIZE-1)), written); |
SECTOR_SIZE | 373 | fs/fat/file.c | cluster = SECTOR_SIZE*MSDOS_SB(inode->i_sb)->cluster_size; |
SECTOR_SIZE | 267 | fs/fat/inode.c | fat_clusters = MSDOS_SB(sb)->fat_length*SECTOR_SIZE*8/ |
SECTOR_SIZE | 271 | fs/fat/inode.c | MSDOS_MAX_EXTRA || (logical_sector_size & (SECTOR_SIZE-1)) |
SECTOR_SIZE | 343 | fs/fat/inode.c | tmp.f_bsize = MSDOS_SB(sb)->cluster_size*SECTOR_SIZE; |
SECTOR_SIZE | 403 | fs/fat/inode.c | SECTOR_SIZE; |
SECTOR_SIZE | 412 | fs/fat/inode.c | SECTOR_SIZE))) { |
SECTOR_SIZE | 436 | fs/fat/inode.c | inode->i_size += SECTOR_SIZE*MSDOS_SB(inode-> |
SECTOR_SIZE | 465 | fs/fat/inode.c | inode->i_blksize = MSDOS_SB(inode->i_sb)->cluster_size*SECTOR_SIZE; |
SECTOR_SIZE | 510 | fs/fat/inode.c | SECTOR_SIZE))) { |
SECTOR_SIZE | 194 | fs/fat/misc.c | if (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE))) |
SECTOR_SIZE | 197 | fs/fat/misc.c | memset(bh->b_data,0,SECTOR_SIZE); |
SECTOR_SIZE | 211 | fs/fat/misc.c | if (inode->i_size & (SECTOR_SIZE-1)) { |
SECTOR_SIZE | 213 | fs/fat/misc.c | inode->i_size = (inode->i_size+SECTOR_SIZE) & |
SECTOR_SIZE | 214 | fs/fat/misc.c | ~(SECTOR_SIZE-1); |
SECTOR_SIZE | 216 | fs/fat/misc.c | inode->i_size += SECTOR_SIZE*cluster_size; |
SECTOR_SIZE | 301 | fs/fat/misc.c | if (!(*bh = breada(dir->i_dev,sector,SECTOR_SIZE,0,FAT_READAHEAD))) { |
SECTOR_SIZE | 307 | fs/fat/misc.c | (SECTOR_SIZE-1))); |
SECTOR_SIZE | 308 | fs/fat/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
SECTOR_SIZE | 375 | fs/fat/misc.c | if (!(bh = breada(sb->s_dev,sector,SECTOR_SIZE,0,FAT_READAHEAD))) return -EIO; |
SECTOR_SIZE | 39 | include/linux/ftape.h | #define BUFF_SIZE (SECTORS_PER_SEGMENT * SECTOR_SIZE) |
SECTOR_SIZE | 16 | include/linux/msdos_fs.h | #define MSDOS_DPS (SECTOR_SIZE/sizeof(struct msdos_dir_entry)) |