tag | line | file | source code |
cluster | 120 | fs/msdos/fat.c | void cache_lookup(struct inode *inode,int cluster,int *f_clu,int *d_clu) |
cluster | 125 | fs/msdos/fat.c | printk("cache lookup: <%d,%d> %d (%d,%d) -> ",inode->i_dev,inode->i_ino,cluster, |
cluster | 130 | fs/msdos/fat.c | walk->file_cluster <= cluster && walk->file_cluster > |
cluster | 136 | fs/msdos/fat.c | if ((*f_clu = walk->file_cluster) == cluster) return; |
cluster | 221 | fs/msdos/fat.c | int get_cluster(struct inode *inode,int cluster) |
cluster | 226 | fs/msdos/fat.c | if (!cluster) return nr; |
cluster | 228 | fs/msdos/fat.c | for (cache_lookup(inode,cluster,&count,&nr); count < cluster; |
cluster | 233 | fs/msdos/fat.c | cache_add(inode,cluster,nr); |
cluster | 241 | fs/msdos/fat.c | int cluster,offset; |
cluster | 249 | fs/msdos/fat.c | cluster = sector/sb->cluster_size; |
cluster | 251 | fs/msdos/fat.c | if (!(cluster = get_cluster(inode,cluster))) return 0; |
cluster | 252 | fs/msdos/fat.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
cluster | 217 | fs/msdos/file.c | int cluster; |
cluster | 219 | fs/msdos/file.c | cluster = SECTOR_SIZE*MSDOS_SB(inode->i_sb)->cluster_size; |
cluster | 220 | fs/msdos/file.c | (void) fat_free(inode,(inode->i_size+(cluster-1))/cluster); |
cluster | 290 | fs/msdos/inode.c | int cluster,offset; |
cluster | 298 | fs/msdos/inode.c | cluster = (block*2)/sb->cluster_size; |
cluster | 300 | fs/msdos/inode.c | if (!(cluster = get_cluster(inode,cluster))) return 0; |
cluster | 301 | fs/msdos/inode.c | return ((cluster-2)*sb->cluster_size+sb->data_start+offset) >> 1; |
cluster | 389 | fs/msdos/misc.c | int count,cluster; |
cluster | 392 | fs/msdos/misc.c | if ((cluster = raw_scan_sector(sb,MSDOS_SB(sb)->dir_start+count, |
cluster | 393 | fs/msdos/misc.c | name,number,ino,res_bh,res_de)) >= 0) return cluster; |
cluster | 408 | fs/msdos/misc.c | int count,cluster; |
cluster | 415 | fs/msdos/misc.c | if ((cluster = raw_scan_sector(sb,(start-2)* |
cluster | 418 | fs/msdos/misc.c | return cluster; |
cluster | 149 | include/linux/msdos_fs.h | void cache_lookup(struct inode *inode,int cluster,int *f_clu,int *d_clu); |
cluster | 153 | include/linux/msdos_fs.h | int get_cluster(struct inode *inode,int cluster); |