Home
last modified time | relevance | path

Searched refs:is_dir (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/fs/hfs/
Ddir.c76 static inline void update_dirs_plus(struct hfs_cat_entry *dir, int is_dir) in update_dirs_plus() argument
85 if (is_dir && in update_dirs_plus()
106 static inline void update_dirs_minus(struct hfs_cat_entry *dir, int is_dir) in update_dirs_minus() argument
115 if (is_dir && in update_dirs_minus()
373 int is_dir = (victim->type == HFS_CDR_DIR); in hfs_rename() local
377 update_dirs_minus(old_parent, is_dir); in hfs_rename()
386 update_dirs_plus(new_parent, is_dir); in hfs_rename()
Dcatalog.c622 int is_dir, int count) in update_dir() argument
625 if (is_dir) { in update_dir()
696 const struct hfs_cat_rec *record, int is_dir, in create_entry() argument
732 has_thread = is_dir || (record->u.fil.Flags & HFS_FIL_THD); in create_entry()
737 thd_rec.cdrType = is_dir ? HFS_CDR_THD : HFS_CDR_FTH; in create_entry()
752 is_dir ? 2 + sizeof(DIR_REC) : in create_entry()
763 update_dir(mdb, parent, is_dir, 1); in create_entry()
1245 int is_dir, error = 0; in hfs_cat_delete() local
1257 is_dir = 0; in hfs_cat_delete()
1259 is_dir = 1; in hfs_cat_delete()
[all …]
/linux-2.4.37.9/arch/ia64/sn/io/hwgfs/
Dinterface.c24 extern struct dentry *lookup_create(struct nameidata *nd, int is_dir);
30 int is_dir) in walk_parents_mkdir() argument
45 nd->dentry = lookup_create(nd, is_dir); in walk_parents_mkdir()
68 int is_dir, in hwgfs_decode() argument
83 error = walk_parents_mkdir(&name, &nd, is_dir); in hwgfs_decode()
91 *dentry = lookup_create(&nd, is_dir); in hwgfs_decode()
/linux-2.4.37.9/fs/vfat/
Dnamei.c787 int len, int *slots, int is_dir, int uni_xlate) in vfat_fill_slots() argument
856 de->attr = is_dir ? ATTR_DIR : ATTR_ARCH; in vfat_fill_slots()
872 struct msdos_dir_slot *ds, int *slots, int is_dir) in vfat_build_slots() argument
881 return vfat_fill_slots(dir, ds, name, len, slots, is_dir, xlate); in vfat_build_slots()
885 int is_dir, struct vfat_slot_info *sinfo_out, in vfat_add_entry() argument
916 dir_slots, &slots, is_dir); in vfat_add_entry()
1176 int res, is_dir; in vfat_rename() local
1186 is_dir = S_ISDIR(old_inode->i_mode); in vfat_rename()
1188 if (is_dir && (res = fat_scan(old_inode,MSDOS_DOTDOT,&dotdot_bh, in vfat_rename()
1201 if (is_dir) { in vfat_rename()
[all …]
/linux-2.4.37.9/fs/msdos/
Dnamei.c246 loff_t *i_pos, int is_dir, int is_hid) in msdos_add_entry() argument
260 (*de)->attr = is_dir ? ATTR_DIR : ATTR_ARCH; in msdos_add_entry()
453 int is_dir; in do_msdos_rename() local
457 is_dir = S_ISDIR(old_inode->i_mode); in do_msdos_rename()
462 if (is_dir) { in do_msdos_rename()
480 &new_i_pos, is_dir, is_hid); in do_msdos_rename()
/linux-2.4.37.9/fs/
Dnamei.c1238 static struct dentry *lookup_create(struct nameidata *nd, int is_dir) in lookup_create() argument
1249 if (!is_dir && nd->last.name[nd->last.len] && !dentry->d_inode) in lookup_create()
/linux-2.4.37.9/fs/intermezzo/
Dvfs.c666 static struct dentry *lookup_create(struct nameidata *nd, int is_dir) in lookup_create() argument
677 if (!is_dir && nd->last.name[nd->last.len] && !dentry->d_inode) in lookup_create()