/linux-2.4.37.9/fs/msdos/ ! |
D | namei.c | 132 loff_t *i_pos) in msdos_find() argument 142 res = fat_scan(dir, msdos_name, bh, de, i_pos); in msdos_find() 217 loff_t i_pos; in msdos_lookup() local 225 &de, &i_pos); in msdos_lookup() 230 inode = fat_build_inode(sb, de, i_pos, &res); in msdos_lookup() 246 loff_t *i_pos, int is_dir, int is_hid) in msdos_add_entry() argument 251 res = fat_add_entries(dir, 1, bh, de, i_pos); in msdos_add_entry() 282 loff_t i_pos; in msdos_create() local 292 if (fat_scan(dir, msdos_name, &bh, &de, &i_pos) >= 0) { in msdos_create() 297 res = msdos_add_entry(dir, msdos_name, &bh, &de, &i_pos, 0, is_hid); in msdos_create() [all …]
|
/linux-2.4.37.9/fs/fat/ ! |
D | misc.c | 319 struct msdos_dir_entry **de, loff_t *i_pos) in fat__get_entry() argument 347 *i_pos = ((loff_t)sector << sbi->dir_per_block_bits) + (offset >> MSDOS_DIR_BITS); in fat__get_entry() 405 const char *name, int *number, loff_t *i_pos, in raw_scan_sector() argument 422 if (!i_pos) RSS_COUNT in raw_scan_sector() 429 if (i_pos) { in raw_scan_sector() 430 *i_pos = ((loff_t)sector << sbi->dir_per_block_bits) + entry; in raw_scan_sector() 456 int *number, loff_t *i_pos, in raw_scan_root() argument 466 name, number, i_pos, res_bh, res_de); in raw_scan_root() 480 int *number, loff_t *i_pos, in raw_scan_nonroot() argument 495 i_pos, res_bh, res_de); in raw_scan_nonroot() [all …]
|
D | inode.c | 86 static inline unsigned long fat_hash(struct super_block *sb, loff_t i_pos) in fat_hash() argument 88 unsigned long tmp = (unsigned long)i_pos | (unsigned long) sb; in fat_hash() 93 void fat_attach(struct inode *inode, loff_t i_pos) in fat_attach() argument 96 MSDOS_I(inode)->i_pos = i_pos; in fat_attach() 98 fat_inode_hashtable + fat_hash(inode->i_sb, i_pos)); in fat_attach() 105 MSDOS_I(inode)->i_pos = 0; in fat_detach() 111 struct inode *fat_iget(struct super_block *sb, loff_t i_pos) in fat_iget() argument 113 struct list_head *p = fat_inode_hashtable + fat_hash(sb, i_pos); in fat_iget() 123 if (i->i_pos != i_pos) in fat_iget() 136 struct msdos_dir_entry *de, loff_t i_pos, int *res) in fat_build_inode() argument [all …]
|
D | dir.c | 202 loff_t i_pos, cpos = 0; in fat_search_long() local 205 if (fat_get_entry(inode,&cpos,&bh,&de,&i_pos) == -1) in fat_search_long() 256 if (fat_get_entry(inode,&cpos,&bh,&de,&i_pos)<0) in fat_search_long() 373 loff_t i_pos, cpos; in fat_readdirx() local 396 if (fat_get_entry(inode,&cpos,&bh,&de,&i_pos) == -1) in fat_readdirx() 453 if (fat_get_entry(inode,&cpos,&bh,&de,&i_pos) == -1) in fat_readdirx() 545 struct inode *tmp = fat_iget(sb, i_pos); in fat_readdirx() 694 loff_t pos, i_pos; in fat_dir_empty() local 701 while (fat_get_entry(dir,&pos,&bh,&de,&i_pos) > -1) { in fat_dir_empty() 721 struct msdos_dir_entry **de, loff_t *i_pos) in fat_add_entries() argument [all …]
|
/linux-2.4.37.9/include/linux/ ! |
D | msdos_fs.h | 183 loff_t i_pos; /* on-disk position of directory entry */ member 267 struct msdos_dir_entry **de, loff_t *i_pos); 283 extern void fat_attach(struct inode *inode, loff_t i_pos); 285 extern struct inode *fat_iget(struct super_block *sb, loff_t i_pos); 287 struct msdos_dir_entry *de, loff_t i_pos, int *res); 311 struct msdos_dir_entry **de, loff_t *i_pos); 314 struct msdos_dir_entry **de, loff_t *i_pos) in fat_get_entry() argument 321 (*i_pos)++; in fat_get_entry() 324 return fat__get_entry(dir, pos, bh, de, i_pos); in fat_get_entry() 329 struct msdos_dir_entry **res_de, loff_t *i_pos);
|
D | msdos_fs_i.h | 14 loff_t i_pos; /* on-disk position of directory entry or 0 */ member
|
/linux-2.4.37.9/fs/vfat/ ! |
D | namei.c | 411 loff_t i_pos; in vfat_find_form() local 414 res = fat_scan(dir, name, &bh, &de, &i_pos); in vfat_find_form() 931 if (fat_get_entry(dir, &offset, bh, de, &sinfo_out->i_pos) < 0) { in vfat_add_entry() 976 if (fat_get_entry(dir,&offset,last_bh,last_de,&sinfo->i_pos)>=0) in vfat_find() 1005 inode = fat_build_inode(dir->i_sb, de, sinfo.i_pos, &res); in vfat_lookup() 1038 inode = fat_build_inode(sb, de, sinfo.i_pos, &res); in vfat_create() 1055 loff_t offset, i_pos; in vfat_remove_entry() local 1068 if (fat_get_entry(dir, &offset, &bh, &de, &i_pos) < 0) in vfat_remove_entry() 1137 inode = fat_build_inode(sb, de, sinfo.i_pos, &res); in vfat_mkdir() 1195 if (res < 0 || MSDOS_I(new_inode)->i_pos != sinfo.i_pos) { in vfat_rename() [all …]
|