Searched refs:cylinder (Results 1 - 37 of 37) sorted by relevance

/linux-4.1.27/fs/ufs/
H A DMakefile7 ufs-objs := balloc.o cylinder.o dir.o file.o ialloc.o inode.o \
H A Dcylinder.c2 * linux/fs/ufs/cylinder.c
25 * Read cylinder group into cache. The memory space for ufs_cg_private_info
45 * We have already the first fragment of cylinder group block in buffer ufs_read_cylinder()
75 ufs_error (sb, "ufs_read_cylinder", "can't read cylinder group block %u", cgno); ufs_read_cylinder()
79 * Remove cylinder group from cache, doesn't release memory
80 * allocated for cylinder group (this is done at ufs_put_super only).
106 * at the end of working with cylinder ufs_put_cylinder()
121 * Find cylinder group in cache and return it as pointer.
122 * If cylinder group is not in cache, we will load it from disk.
149 * Number of cylinder groups is not higher than UFS_MAX_GROUP_LOADED ufs_load_cylinder()
H A Dufs_fs.h59 * A filesystem consists of a number of cylinder groups.
60 * Each cylinder group has inodes and data.
63 * describes the cylinder groups. The super-block is critical
64 * data and is replicated in each cylinder group to protect against
75 * The beginning of cylinder group cg in fs, is given by
173 /*cylinder group encoding */
211 * Cylinder group macros to locate things in cylinder groups.
212 * They calc file system addresses of cylinder group data structures.
225 * inode number to cylinder group number.
234 * Compute the cylinder and rotational position of a cyl block addr.
358 __fs32 fs_cgoffset; /* cylinder group offset in cylinder */
363 __fs32 fs_ncg; /* number of cylinder groups */
406 /* sizes determined by number of cylinder groups and their sizes */
409 __fs32 fs_cgsize; /* cylinder group size */
411 __fs32 fs_ntrak; /* tracks per cylinder */
413 __fs32 fs_spc; /* sectors per cylinder */
418 __fs32 fs_ipg; /* inodes per cylinder group */
421 struct ufs_csum fs_cstotal; /* cylinder summary information */
451 struct ufs2_csum_total fs_cstotal;/*cylinder summary information*/
510 * Convert cylinder group to base address of its global summary info.
517 * Writable fields in the cylinder group are protected by the associated
524 * Macros for access to old cylinder group array structures
540 __fs32 cg_cgx; /* we are the cgx'th cylinder group */
544 struct ufs_csum cg_cs; /* cylinder summary information */
549 __fs32 cg_btotoff; /* (__u32) block totals per cylinder */
573 __u8 cg_space[1]; /* space for cylinder group maps */
582 __fs32 cg_cgx; /* we are the cgx'th cylinder group */
586 struct ufs_csum cg_cs; /* cylinder summary information */
591 __fs32 cg_btot[32]; /* block totals per cylinder */
716 __u32 c_btotoff; /* (__u32) block totals per cylinder */
734 __u32 s_cgoffset; /* cylinder group offset in cylinder */
740 __u32 s_ncg; /* number of cylinder groups */
762 __u32 s_cgsize; /* cylinder group size */
763 __u32 s_ntrak; /* tracks per cylinder */
765 __u32 s_spc; /* sectors per cylinder */
766 __u32 s_ipg; /* inodes per cylinder group */
H A Dufs.h95 /* cylinder.c */
158 * Give cylinder group number for a file system block.
159 * Give cylinder group block number for a file system block.
H A Dialloc.c252 "cylinder group %u corrupted - error in inode bitmap\n", cg); ufs_new_inode()
H A Dsuper.c515 * Read on-disk structures associated with cylinder groups
555 * Read cylinder group (we read only first fragment from block ufs_read_cylinder_structures()
644 * Put on-disk structures associated with cylinder groups
1249 * Read cylinder group structures ufs_fill_super()
H A Dballoc.c587 * 1. searching on preferred cylinder group ufs_alloc_fragments()
766 * Find a block of the specified size in the specified cylinder group.
768 * @ucpi: pointer to cylinder group info
H A Dutil.h366 * Macros to access cylinder group array structures
/linux-4.1.27/include/uapi/linux/
H A Defs_fs_sb.h28 __be32 fs_cgfsize; /* size of cylinder group in bb's */
29 __be16 fs_cgisize; /* bb's of inodes per cylinder group */
31 __be16 fs_heads; /* heads per cylinder */
32 __be16 fs_ncg; /* # of cylinder groups in filesystem */
/linux-4.1.27/block/partitions/
H A Dsun.c40 __be16 pcylcount; /* Physical cylinder count */ sun_partition()
41 __be16 sparecyl; /* extra sects per cylinder */ sun_partition()
45 __be16 ncyl; /* Data cylinder count */ sun_partition()
46 __be16 nacyl; /* Alt. cylinder count */ sun_partition()
47 __be16 ntrks; /* Tracks per cylinder */ sun_partition()
H A Dibm.c35 /* decode cylinder and heads for large volumes */ cchh2blk()
53 /* decode cylinder and heads for large volumes */ cchhb2blk()
H A Dacorn.c179 * There are unknowns in this code - is the 'cylinder number' of the adfspart_check_CUMANA()
/linux-4.1.27/include/linux/
H A Dgenhd.h30 confused about extended/logical partitions starting past cylinder 1023. */
72 unsigned char cyl; /* starting cylinder */
76 unsigned char end_cyl; /* end cylinder */
502 __u32 d_ntracks; /* # of tracks per cylinder */
504 __u32 d_secpercyl; /* # of data sectors per cylinder */
507 __u16 d_sparespercyl; /* # of spare sectors per cylinder */
512 __u16 d_cylskew; /* sector 0 skew, per cylinder */
563 __le32 d_ntracks; /* # of tracks per cylinder */
571 __le32 d_phys_trk; /* # of physical tracks per cylinder */
/linux-4.1.27/fs/efs/
H A Dinode.c70 ** | cylinder group | cylinder group | cylinder group ..etc efs_iget()
/linux-4.1.27/drivers/usb/storage/
H A Disd200.c1227 unsigned short cylinder; isd200_scsi_to_ata() local
1316 cylinder = (unsigned short)(lba>>8); isd200_scsi_to_ata()
1320 cylinder = (u16)(lba / (id[ATA_ID_SECTORS] * isd200_scsi_to_ata()
1334 ataCdb->write.CylinderHighByte = (unsigned char)(cylinder>>8); isd200_scsi_to_ata()
1335 ataCdb->write.CylinderLowByte = (unsigned char)cylinder; isd200_scsi_to_ata()
1348 cylinder = (unsigned short)(lba>>8); isd200_scsi_to_ata()
1352 cylinder = (u16)(lba / (id[ATA_ID_SECTORS] * isd200_scsi_to_ata()
1366 ataCdb->write.CylinderHighByte = (unsigned char)(cylinder>>8); isd200_scsi_to_ata()
1367 ataCdb->write.CylinderLowByte = (unsigned char)cylinder; isd200_scsi_to_ata()
H A Dshuttle_usbat.c106 #define USBAT_ATA_LBA_ME 0x14 /* cylinder low (R/W) */
107 #define USBAT_ATA_LBA_HI 0x15 /* cylinder high (R/W) */
/linux-4.1.27/drivers/scsi/
H A Dscsicam.c221 * head-cylinder-sector requirements. It minimizes the value for
H A Deata_generic.h374 __u32 cylinder; /* number of cylinders */ member in struct:drive_geom_emul
H A Dfdomain.c1608 Next is the cylinder, head, and sector information. fdomain_16x0_biosparam()
1691 2 = starting sector and cylinder (word, encoded) fdomain_16x0_biosparam()
1694 6 = ending sector and cylinder (word, encoded) fdomain_16x0_biosparam()
H A Dgdth.h669 u8 heads_p_cyl; /* heads/cylinder */
H A Dscsi_debug.c572 static int sdebug_sectors_per; /* sectors per cylinder */
H A Dgdth.c1934 /* evaluate mapping (sectors per head, heads per cylinder) */ gdth_analyse_hdrive()
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Dvtoc.h76 __u16 DS4DSTRK; /* number of tracks in a logical cylinder */
/linux-4.1.27/arch/sparc/include/asm/
H A Dvio.h190 u16 apc; /* Alts per cylinder (SCSI) */
/linux-4.1.27/drivers/block/
H A Dswim3.c185 int cur_cyl; /* cylinder head is on, or -1 */
187 int req_cyl; /* the cylinder for the current r/w request */
549 swim3_err("Wrong cylinder in transfer, want: %d got %d\n", act()
H A Dhd.c64 #define HD_LCYL 0x1f4 /* starting cylinder */
H A Dfloppy.c1380 pr_cont("wrong cylinder"); print_errors()
1381 } else if (ST2 & ST2_BC) { /* cylinder marked as bad */ print_errors()
1382 pr_cont("bad cylinder"); print_errors()
1429 /* wrong cylinder => recal */ interpret_errors()
2119 /* a ``cylinder'' is two tracks plus a little stepping time */ setup_format_params()
/linux-4.1.27/drivers/memstick/core/
H A Dmspro_block.c421 rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "start cylinder: %x\n", mspro_block_attr_show_mbr()
429 rc += scnprintf(buffer + rc, PAGE_SIZE - rc, "end cylinder: %x\n", mspro_block_attr_show_mbr()
/linux-4.1.27/fs/ext2/
H A Dinode.c280 * + if pointer will live in inode - allocate in the same cylinder group.
309 * the same cylinder group then. ext2_find_near()
/linux-4.1.27/drivers/s390/block/
H A Ddasd_eckd.c307 /* check for sequential prestage - enhance cylinder range */ define_extent()
600 /* check for sequential prestage - enhance cylinder range */ prefix_LRE()
1773 /* find the valid cylinder size */ dasd_eckd_check_characteristics()
2266 /* calculate cylinder and head for the current track */ dasd_eckd_build_format()
3013 /* check for sequential prestage - enhance cylinder range */ prepare_itcw()
3945 "The DASD cache mode was set to %x (%i cylinder prestage)\n", dasd_eckd_set_attrib()
H A Ddasd_3990_erp.c1311 "The cylinder data for accessing the DASD is inconsistent\n"); dasd_3990_erp_EOC()
/linux-4.1.27/fs/ext4/
H A Dindirect.c199 * cylinder group.
226 * into the same cylinder group then. ext4_find_near()
/linux-4.1.27/drivers/block/mtip32xx/
H A Dmtip32xx.c3609 * device as having 224 heads and 56 sectors per cylinder. These values are
3610 * chosen so that each cylinder is aligned on a 4KB boundary. Since a
3611 * partition is described in terms of a start and end cylinder this means
/linux-4.1.27/drivers/ata/
H A Dlibata-scsi.c375 * ata_std_bios_param - generic bios head/sector/cylinder calculator used by sd.
381 * Generic bios head/sector/cylinder calculator
/linux-4.1.27/fs/ext3/
H A Dinode.c457 * cylinder group.
486 * into the same cylinder group then. ext3_find_near()
/linux-4.1.27/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c1797 * _scsih_bios_param - fetch head, sector, cylinder info for a disk
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_scsih.c2130 * _scsih_bios_param - fetch head, sector, cylinder info for a disk

Completed in 2211 milliseconds