Searched refs:partition (Results 1 - 25 of 54) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/partitions/
H A Dosf.c50 struct d_partition * partition; local
57 partition = label->d_partitions;
66 for (i = 0 ; i < le16_to_cpu(label->d_npartitions); i++, partition++) {
69 if (le32_to_cpu(partition->p_size))
71 le32_to_cpu(partition->p_offset),
72 le32_to_cpu(partition->p_size));
H A Dmsdos.c8 * in the early extended-partition checks and added DM partitions
13 * /dev/hda *must* have a "DOS" type 0x51 partition in the first slot (hda1).
17 * Check partition table on IDE disks for common CHS translations
29 * the nr_sects and start_sect partition table entries are
43 static inline int is_extended_partition(struct partition *p)
66 struct partition *pt = (struct partition *) (p + 0x1be);
76 /* Assume the partition table is valid if Linux partitions exists */
95 * Create devices for each logical partition in an extended partition
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/udf/
H A Dpartition.c2 * partition.c
31 inline uint32_t udf_get_pblock(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument
33 if (partition >= UDF_SB_NUMPARTS(sb))
35 udf_debug("block=%d, partition=%d, offset=%d: invalid partition\n",
36 block, partition, offset);
39 if (UDF_SB_PARTFUNC(sb, partition))
40 return UDF_SB_PARTFUNC(sb, partition)(sb, block, partition, offset);
42 return UDF_SB_PARTROOT(sb, partition)
45 udf_get_pblock_virt15(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument
95 udf_get_pblock_virt20(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument
100 udf_get_pblock_spar15(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument
[all...]
H A Dballoc.c220 struct udf_bitmap *bitmap, uint16_t partition, uint32_t first_block,
230 if (first_block < 0 || first_block >= UDF_SB_PARTLEN(sb, partition))
233 if (first_block + block_count > UDF_SB_PARTLEN(sb, partition))
234 block_count = UDF_SB_PARTLEN(sb, partition) - first_block;
237 nr_groups = (UDF_SB_PARTLEN(sb, partition) +
273 UDF_SB_LVID(sb)->freeSpaceTable[partition] =
274 cpu_to_le32(le32_to_cpu(UDF_SB_LVID(sb)->freeSpaceTable[partition])-alloc_count);
284 struct udf_bitmap *bitmap, uint16_t partition, uint32_t goal, int *err)
297 if (goal < 0 || goal >= UDF_SB_PARTLEN(sb, partition))
408 UDF_SB_LVID(sb)->freeSpaceTable[partition]
218 udf_bitmap_prealloc_blocks(struct super_block * sb, struct inode * inode, struct udf_bitmap *bitmap, uint16_t partition, uint32_t first_block, uint32_t block_count) argument
282 udf_bitmap_new_block(struct super_block * sb, struct inode * inode, struct udf_bitmap *bitmap, uint16_t partition, uint32_t goal, int *err) argument
670 udf_table_prealloc_blocks(struct super_block * sb, struct inode * inode, struct inode *table, uint16_t partition, uint32_t first_block, uint32_t block_count) argument
739 udf_table_new_block(struct super_block * sb, struct inode * inode, struct inode *table, uint16_t partition, uint32_t goal, int *err) argument
852 uint16_t partition = bloc.partitionReferenceNum; local
882 udf_prealloc_blocks(struct super_block * sb, struct inode * inode, uint16_t partition, uint32_t first_block, uint32_t block_count) argument
914 udf_new_block(struct super_block * sb, struct inode * inode, uint16_t partition, uint32_t goal, int *err) argument
[all...]
H A DMakefile8 partition.o super.o truncate.o symlink.o fsync.o \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dpartition.h33 struct partition { struct
37 unsigned char nr_sects[4]; /* nr of sectors in partition */
43 int consistencyCheck(struct partition *partTable, int doprint, int verbose,
48 void setBeginEnd(struct partition *partTable, int begin, int end,
H A Dmpartition.c31 #include "partition.h"
73 void setBeginEnd(struct partition *partTable, int begin, int end,
95 int consistencyCheck(struct partition *partTable, int doprint, int verbose,
139 "Start position mismatch for partition %d\n",
147 "End position mismatch for partition %d\n",
313 struct partition *partTable=(struct partition *)(buf+ 0x1ae);
430 if (dev->partition < 1 || dev->partition > 4) {
432 "Drive '%c:' is not a partition",
[all...]
H A Dmmount.c59 if ( dev.partition ) {
61 sprintf(part_name, "%d", dev.partition %1000);
H A Dplain_io.c32 #include "partition.h"
289 (solaris) drive C: file="/dev/rdsk/c0t5d0s2" partition=4 FAT=16 nodelay exclusive scsi=&
290 (sunos) drive C: file="/dev/rsd5c" partition=4 FAT=16 nodelay exclusive scsi=1
683 dev && (dev->partition > 4 || dev->partition < 0))
685 "Invalid partition %d (must be between 0 and 4), ignoring it\n",
686 dev->partition);
689 dev && dev->partition && dev->partition <= 4) {
693 struct partition *partTabl
[all...]
H A Dmtools.c21 #include "partition.h"
111 if(sizeof(struct partition) != 16 ||
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dnvram_64.c14 * drivers/char/generic_nvram.c) from the arch & partition
205 list_for_each(p, &nvram_part->partition) {
206 tmp_part = list_entry(p, struct nvram_partition, partition);
244 * Find an nvram partition, sig can be 0 for any
245 * partition or name can be NULL for any name, else
253 list_for_each(p, &nvram_part->partition) {
254 part = list_entry(p, struct nvram_partition, partition);
275 list_for_each(i, &nvram_part->partition) {
276 part = list_entry(i, struct nvram_partition, partition);
280 /* Make os partition
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/docs_src/ref/rep/
H A DMakefile6 newsite.html partition.html pri.html trans.html
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dnvram.h60 struct list_head partition; member in struct:nvram_partition
78 pmac_nvram_OF, /* Open Firmware partition */
79 pmac_nvram_XPRAM, /* MacOS XPRAM partition */
80 pmac_nvram_NR /* MacOS Name Registry partition */
84 /* Return partition offset in nvram */
85 extern int pmac_get_partition(int partition);
120 #define IOC_NVRAM_GET_OFFSET _IOWR('p', 0x42, int) /* Get NVRAM partition offset */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/afs/
H A Dafs_vl.h38 AFSVL_BADPARTITION = 363531, /* Bad partition number */
75 unsigned partition; /* partition ID on this server */ member in struct:afs_vldbentry::__anon7315
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/util-linux/
H A Dfdisk.c72 struct partition { struct
77 unsigned char sys_ind; /* What partition type */
82 unsigned char size4[4]; /* nr of sectors in partition */
136 static int partitions = 4; /* maximum partition + 1 */
154 static unsigned get_start_sect(const struct partition *p);
155 static unsigned get_nr_sects(const struct partition *p);
158 * per partition table entry data
162 * Each logical partition table entry has two pointers, one for the
163 * partition and one link to the next one.
166 struct partition *part_tabl
1701 check_consistency(const struct partition *p, int partition) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Drfd_ftl.c73 struct partition { struct
95 static int build_block_map(struct partition *part, int block_no)
153 static int scan_header(struct partition *part)
246 struct partition *part = (struct partition*)dev;
274 struct partition *part;
279 part = (struct partition*)erase->priv;
329 static int erase_block(struct partition *part, int block)
360 static int move_block_contents(struct partition *part, int block_no, u_long *old_sector)
449 static int reclaim_block(struct partition *par
[all...]
H A Dftl.c156 partition. build_maps() reads all the erase unit headers, builds
237 /* Is this a transfer partition? */
785 Read a series of sectors from an FTL partition.
800 printk(KERN_NOTICE "ftl_cs: bad partition\n");
831 Write a series of sectors to an FTL partition
914 printk(KERN_NOTICE "ftl_cs: bad partition\n");
1029 partition_t *partition; local
1031 partition = kzalloc(sizeof(partition_t), GFP_KERNEL);
1033 if (!partition) {
1039 partition
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/doc/
H A D08-residue.tex34 coding structure, ignoring for the moment exactly how a partition is
40 \emph{n}, a partition size \emph{residue_partition_size}, and a total
46 \item Each partition in each vector has a classification number that
48 decode that partition. The classification numbers of each partition
64 a partition is the same in each pass, thus the classification codeword
80 partition are interleaved during partition encoding (visually treated
84 dimension of the codebook used to encode a partition in a specific
86 passes, however the partition siz
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/lib/
H A Dpsy.c1040 int partition=p->vi->normal_partition; local
1041 float **work=alloca(sizeof(*work)*partition);
1046 for(j=0;j<n;j+=partition){
1047 for(k=0;k<partition;k++)work[k]=mags[i]+k+j;
1048 qsort(work,partition,sizeof(*work),apsort);
1049 for(k=0;k<partition;k++)ret[i][k+j]=work[k]-mags[i];
1061 int partition=vi->normal_partition; local
1062 float **work=alloca(sizeof(*work)*partition);
1065 for(j=start;j<n;j+=partition){
1066 if(j+partition>
1079 int partition=vi->normal_partition; local
1160 int partition=(p->vi->normal_point_p?p->vi->normal_partition:p->n); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dst.c561 STps = &(STp->ps[STp->partition]);
666 STps = &(STp->ps[STp->partition]);
719 STps = &(STp->ps[STp->partition]);
829 STp->partition = find_partition(STp);
830 if (STp->partition < 0)
831 STp->partition = 0;
832 STp->new_partition = STp->partition;
953 STp->partition = STp->new_partition = 0;
981 STp->partition = STp->new_partition = 0;
1084 partition suppor
2906 get_location(struct scsi_tape *STp, unsigned int *block, int *partition, int logical) argument
2966 set_location(struct scsi_tape *STp, unsigned int block, int partition, int logical) argument
3071 int i, partition; local
[all...]
H A Dscsicam.c67 /* try to infer mapping from partition table */
105 * Purpose : to determine the BIOS mapping used to create the partition
115 struct partition *p = (struct partition *)buf, *largest = NULL;
126 printk("scsicam_bios_param : partition %d has system \n",
H A Dst.h84 /* The status related to each partition */
134 int partition; member in struct:scsi_tape
136 int nbr_partitions; /* zero until partition support enabled */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v10/boot/rescue/
H A Dhead.S4 * flash-memory. when it starts, it checks a partition
6 * the partition table was generated by the product builder
8 * for each partition that this code should check.
41 * 4 bytes [length in bytes of partition]
43 * 2 bytes [partition type]
56 * means RO, 0 means RW. That way, it is possible to set a partition
194 ploop: move.d [$r3+], $r1 ; partition offset (from ptable start)
195 bne notfirst ; check if it is the partition containing ptable
198 move.d [$r3+], $r2 ; partition length
205 move.d [$r3+], $r2 ; partition lengt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Ddiffseq.h104 struct partition struct
106 /* Midpoints of this partition. */
135 left half of the partition is known; similarly for PART->hi_minimal.
147 struct partition *part, struct context *ctxt)
443 struct partition part;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/
H A Ddiffseq.h104 struct partition struct
106 /* Midpoints of this partition. */
135 left half of the partition is known; similarly for PART->hi_minimal.
147 struct partition *part, struct context *ctxt)
443 struct partition part;

Completed in 324 milliseconds

123