tag | line | file | source code |
cluster | 119 | fs/msdos/fat.c | void cache_lookup(struct inode *inode,int cluster,int *f_clu,int *d_clu) |
cluster | 124 | fs/msdos/fat.c | printk("cache lookup: <%d,%d> %d (%d,%d) -> ",inode->i_dev,inode->i_ino,cluster, |
cluster | 129 | fs/msdos/fat.c | walk->file_cluster <= cluster && walk->file_cluster > |
cluster | 135 | fs/msdos/fat.c | if ((*f_clu = walk->file_cluster) == cluster) return; |
cluster | 217 | fs/msdos/fat.c | int get_cluster(struct inode *inode,int cluster) |
cluster | 222 | fs/msdos/fat.c | if (!cluster) return this; |
cluster | 224 | fs/msdos/fat.c | for (cache_lookup(inode,cluster,&count,&this); count < cluster; |
cluster | 230 | fs/msdos/fat.c | cache_add(inode,cluster,this); |
cluster | 240 | fs/msdos/fat.c | int cluster,offset; |
cluster | 248 | fs/msdos/fat.c | cluster = sector/sb->cluster_size; |
cluster | 250 | fs/msdos/fat.c | if (!(cluster = get_cluster(inode,cluster))) return 0; |
cluster | 251 | fs/msdos/fat.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
cluster | 209 | fs/msdos/file.c | int cluster; |
cluster | 211 | fs/msdos/file.c | cluster = SECTOR_SIZE*MSDOS_SB(inode->i_sb)->cluster_size; |
cluster | 212 | fs/msdos/file.c | (void) fat_free(inode,(inode->i_size+(cluster-1))/cluster); |
cluster | 219 | fs/msdos/inode.c | int cluster,offset; |
cluster | 227 | fs/msdos/inode.c | cluster = (block*2)/sb->cluster_size; |
cluster | 229 | fs/msdos/inode.c | if (!(cluster = get_cluster(inode,cluster))) return 0; |
cluster | 230 | fs/msdos/inode.c | return ((cluster-2)*sb->cluster_size+sb->data_start+offset) >> 1; |
cluster | 348 | fs/msdos/misc.c | int count,cluster; |
cluster | 351 | fs/msdos/misc.c | if ((cluster = raw_found(sb,MSDOS_SB(sb)->dir_start+count,name, |
cluster | 352 | fs/msdos/misc.c | number,ino)) >= 0) return cluster; |
cluster | 361 | fs/msdos/misc.c | int count,cluster; |
cluster | 368 | fs/msdos/misc.c | if ((cluster = raw_found(sb,(start-2)*MSDOS_SB(sb)-> |
cluster | 370 | fs/msdos/misc.c | number,ino)) >= 0) return cluster; |
cluster | 125 | include/linux/msdos_fs.h | void cache_lookup(struct inode *inode,int cluster,int *f_clu,int *d_clu); |
cluster | 129 | include/linux/msdos_fs.h | int get_cluster(struct inode *inode,int cluster); |