Searched refs:cluster (Results 1 - 25 of 30) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/router/dosfstools/dosfsck/
H A Dfat.h12 replaces broken FATs and rejects invalid cluster entries. */
14 void set_fat(DOS_FS *fs,unsigned long cluster,unsigned long new);
16 /* Changes the value of the CLUSTERth cluster of the FAT of FS to NEW. Special
20 int bad_cluster(DOS_FS *fs,unsigned long cluster);
22 /* Returns a non-zero integer if the CLUSTERth cluster is marked as bad or zero
25 unsigned long next_cluster(DOS_FS *fs,unsigned long cluster);
27 /* Returns the number of the cluster following CLUSTER, or -1 if this is the
28 last cluster of the respective cluster chain. CLUSTER must not be a bad
29 cluster
[all...]
H A Dfat.c24 static void get_fat(FAT_ENTRY *entry,void *fat,unsigned long cluster,DOS_FS *fs) argument
30 ptr = &((unsigned char *) fat)[cluster*3/2];
31 entry->value = 0xfff & (cluster & 1 ? (ptr[0] >> 4) | (ptr[1] << 4) :
35 entry->value = CF_LE_W(((unsigned short *) fat)[cluster]);
39 * are not part of the cluster number. So we cut them off. */
41 unsigned long e = CF_LE_L(((unsigned long *) fat)[cluster]);
113 void set_fat(DOS_FS *fs,unsigned long cluster,unsigned long new) argument
125 offs = fs->fat_start+cluster*3/2;
126 if (cluster & 1) {
127 data[0] = ((new & 0xf) << 4) | (fs->fat[cluster
159 bad_cluster(DOS_FS *fs,unsigned long cluster) argument
165 next_cluster(DOS_FS *fs,unsigned long cluster) argument
176 cluster_start(DOS_FS *fs,unsigned long cluster) argument
182 set_owner(DOS_FS *fs,unsigned long cluster,DOS_FILE *owner) argument
190 get_owner(DOS_FS *fs,unsigned long cluster) argument
[all...]
H A Dcheck.c91 /* no free slot, need to extend root dir: alloc next free cluster
94 die("Root directory has no cluster allocated!");
101 die("Root directory full and no free cluster");
104 /* clear new cluster */
276 unsigned long cluster; local
279 for (cluster = FSTART(file,fs); cluster > 0 && cluster <
280 fs->clusters+2; cluster = next_cluster(fs,cluster))
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/mm/
H A Dnuma.c35 #define for_each_mem_cluster(memdesc, cluster, i) \
36 for ((cluster) = (memdesc)->cluster, (i) = 0; \
37 (i) < (memdesc)->numclusters; (i)++, (cluster)++)
41 struct memclust_struct * cluster; local
50 for_each_mem_cluster(memdesc, cluster, i) {
52 i, cluster->usage, cluster->start_pfn,
53 cluster->start_pfn + cluster
61 struct memclust_struct * cluster; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ftape/compressor/
H A Dzftape-compress.c117 * 2 bytes: byte count N_1 of next cluster
119 * 2 bytes: byte count N_2 of next cluster
123 * current segment if the cluster spans to the next segment.
186 } else { /* cluster definetely ends in this segment */
231 /* This one is called, when a new cluster starts in same segment.
233 * Note: if this is the first cluster in the current segment, we must
239 static void get_next_cluster(cmpr_info *cluster, const __u8 *buff, argument
244 if (seg_sz - cluster->offset > 18 || cluster->foffs != 0) {
245 cluster
479 start_new_cseg(cmpr_info *cluster, char *dst_buf, const zft_position *pos, const unsigned int blk_sz, const char *src_buf, const int this_segs_sz, const int qic113) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/fat/
H A Dcache.c6 * Mar 1999. AV. Changed cache, so that it uses the starting cluster instead
152 void fat_cache_lookup(struct inode *inode,int cluster,int *f_clu,int *d_clu) argument
163 && walk->file_cluster <= cluster
169 if ((*f_clu = walk->file_cluster) == cluster) {
273 int fat_get_cluster(struct inode *inode,int cluster) argument
278 if (!cluster) return nr;
280 for (fat_cache_lookup(inode,cluster,&count,&nr); count < cluster;
285 fat_cache_add(inode,cluster,nr);
293 int cluster, offse local
[all...]
H A Dfile.c118 int cluster; local
125 cluster = 1 << sbi->cluster_bits;
133 fat_free(inode, (inode->i_size + (cluster - 1)) >> sbi->cluster_bits);
H A Dmisc.c111 * fat_add_cluster tries to allocate a new cluster and adds it to the
149 /* We must locate the last cluster of the file to add this
152 Here file_cluster will be the number of the last cluster of the
155 last is the corresponding cluster number on the disk. We will
156 use last to plug the nr cluster. We will use file_cluster to
376 #define RSS_START /* search for start cluster */ \
448 int count,cluster; local
453 if ((cluster = raw_scan_sector(sb,MSDOS_SB(sb)->dir_start+count,
455 return cluster;
470 int count,cluster; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/fat.orig/
H A Dcache.c6 * Mar 1999. AV. Changed cache, so that it uses the starting cluster instead
152 void fat_cache_lookup(struct inode *inode,int cluster,int *f_clu,int *d_clu) argument
163 && walk->file_cluster <= cluster
169 if ((*f_clu = walk->file_cluster) == cluster) {
273 int fat_get_cluster(struct inode *inode,int cluster) argument
278 if (!cluster) return nr;
280 for (fat_cache_lookup(inode,cluster,&count,&nr); count < cluster;
285 fat_cache_add(inode,cluster,nr);
293 int cluster, offse local
[all...]
H A Dfile.c117 int cluster; local
124 cluster = 1 << sbi->cluster_bits;
132 fat_free(inode, (inode->i_size + (cluster - 1)) >> sbi->cluster_bits);
H A Dmisc.c111 * fat_add_cluster tries to allocate a new cluster and adds it to the
149 /* We must locate the last cluster of the file to add this
152 Here file_cluster will be the number of the last cluster of the
155 last is the corresponding cluster number on the disk. We will
156 use last to plug the nr cluster. We will use file_cluster to
376 #define RSS_START /* search for start cluster */ \
448 int count,cluster; local
453 if ((cluster = raw_scan_sector(sb,MSDOS_SB(sb)->dir_start+count,
455 return cluster;
470 int count,cluster; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/kernel/
H A Dsetup.c222 #define for_each_mem_cluster(memdesc, cluster, i) \
223 for ((cluster) = (memdesc)->cluster, (i) = 0; \
224 (i) < (memdesc)->numclusters; (i)++, (cluster)++)
250 struct memclust_struct * cluster; local
261 for_each_mem_cluster(memdesc, cluster, i) {
263 i, cluster->usage, cluster->start_pfn,
264 cluster->start_pfn + cluster
393 struct memclust_struct * cluster; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ntfs/
H A Dsupport.c154 int ntfs_getput_clusters(ntfs_volume *vol, int cluster, ntfs_size_t start_offs, argument
164 buf->do_read ? "get" : "put", cluster, start_offs, length);
167 if (!(bh = sb_bread(sb, cluster))) {
197 "cluster [%s:%i]\n",
198 bdevname(sb->s_dev), cluster);
209 cluster++;
H A Dattr.c213 int ntfs_insert_run(ntfs_attribute *attr, int cnum, ntfs_cluster_t cluster, argument
249 attr->d.r.runlist[cnum].lcn = cluster;
271 ntfs_cluster_t cluster, clen; local
287 cluster = rl[rlen - 1].lcn + rl[rlen - 1].len;
290 cluster = (ntfs_cluster_t)-1;
293 * cluster size to get number of new clusters needed.
299 err = ntfs_allocate_clusters(ino->vol, &cluster, &clen, &rl2,
533 ntfs_cluster_t cluster; local
578 cluster = 0;
580 if (ntfs_decompress_run(&data, &len, &cluster,
710 ntfs_cluster_t cluster, cl1; local
[all...]
H A Dattr.h36 int ntfs_insert_run(ntfs_attribute *attr, int cnum, ntfs_cluster_t cluster,
H A Dinode.h39 ntfs_cluster_t *cluster, int *ctype);
H A Dsupport.h79 int ntfs_getput_clusters(ntfs_volume *pvol, int cluster, ntfs_size_t offs,
/asus-wl-520gu-7.0.1.45/src/router/samba/pcp/
H A Dsamba.c159 if (idp->cluster == 0) {
171 else if (idp->cluster == 1) { /* statcache */
186 else if (idp->cluster == 2) { /* writecache */
243 else if (idp->cluster == 3) { /* counts */
257 else if (idp->cluster == 4) { /* times */
271 else if (idp->cluster == 5) { /* bytes */
/asus-wl-520gu-7.0.1.45/src/router/dosfstools/mkdosfs/
H A Dmkdosfs.c19 occupy a full cluster.
137 /* Mark a cluster in the FAT as bad */
178 * to the cluster number. So the max. cluster# is based on 2^28 */
208 __u8 cluster_size; /* sectors/cluster */
228 __u32 root_cluster; /* first cluster in root directory */
244 __u32 free_clusters; /* Free cluster count. -1 if unknown */
245 __u32 next_cluster; /* Most recently allocated cluster.
260 __u16 time, date, start; /* time, date and first cluster */
326 static int sectors_per_cluster = 0; /* Number of sectors per disk cluster */
363 mark_FAT_cluster(int cluster, unsigned int value) argument
406 int cluster; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/mkdosfs/
H A Dmkdosfs.c19 occupy a full cluster.
124 /* Mark a cluster in the FAT as bad */
166 * to the cluster number. So the max. cluster# is based on 2^28 */
196 __u8 cluster_size; /* sectors/cluster */
216 __u32 root_cluster; /* first cluster in root directory */
232 __u32 free_clusters; /* Free cluster count. -1 if unknown */
233 __u32 next_cluster; /* Most recently allocated cluster.
248 __u16 time, date, start; /* time, date and first cluster */
315 static int sectors_per_cluster = 0; /* Number of sectors per disk cluster */
353 mark_FAT_cluster(int cluster, unsigned int value) argument
396 int cluster; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-alpha/
H A Dhwrpb.h150 struct memclust_struct cluster[0]; member in struct:memdesc_struct
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-alpha/
H A Dhwrpb.h150 struct memclust_struct cluster[0]; member in struct:memdesc_struct
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/paride/
H A Dpf.c72 cluster The driver will attempt to aggregate requests
74 clusters. The maximum cluster size (in 512
95 pf.cluster
130 static int cluster = 64; variable
176 {"cluster",1,&cluster},
189 MODULE_PARM(cluster,"i");
306 static int pf_run; /* sectors in current cluster */
345 if (max_segments > cluster)
346 max_segments = cluster;
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ia64/sn/ksys/
H A Delsc.h57 int elsc_cluster_set(elsc_t *e, int cluster);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ia64/sn/ksys/
H A Delsc.h57 int elsc_cluster_set(elsc_t *e, int cluster);

Completed in 237 milliseconds

12