/fs/ |
D | Makefile | 8 obj-y := open.o read_write.o file_table.o super.o \ 17 obj-y += buffer.o bio.o block_dev.o direct-io.o mpage.o ioprio.o 19 obj-y += no-block.o 22 obj-$(CONFIG_PROC_FS) += proc_namespace.o 24 obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o 25 obj-y += notify/ 26 obj-$(CONFIG_EPOLL) += eventpoll.o 27 obj-$(CONFIG_ANON_INODES) += anon_inodes.o 28 obj-$(CONFIG_SIGNALFD) += signalfd.o 29 obj-$(CONFIG_TIMERFD) += timerfd.o [all …]
|
/fs/yaffs2/ |
D | yaffs_attribs.c | 17 void yaffs_load_attribs(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh) in yaffs_load_attribs() argument 19 obj->yst_uid = oh->yst_uid; in yaffs_load_attribs() 20 obj->yst_gid = oh->yst_gid; in yaffs_load_attribs() 21 obj->yst_atime = oh->yst_atime; in yaffs_load_attribs() 22 obj->yst_mtime = oh->yst_mtime; in yaffs_load_attribs() 23 obj->yst_ctime = oh->yst_ctime; in yaffs_load_attribs() 24 obj->yst_rdev = oh->yst_rdev; in yaffs_load_attribs() 27 void yaffs_load_attribs_oh(struct yaffs_obj_hdr *oh, struct yaffs_obj *obj) in yaffs_load_attribs_oh() argument 29 oh->yst_uid = obj->yst_uid; in yaffs_load_attribs_oh() 30 oh->yst_gid = obj->yst_gid; in yaffs_load_attribs_oh() [all …]
|
D | yaffs_verify.c | 168 void yaffs_verify_oh(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh, in yaffs_verify_oh() argument 171 if (obj && yaffs_skip_verification(obj->my_dev)) in yaffs_verify_oh() 174 if (!(tags && obj && oh)) { in yaffs_verify_oh() 177 tags, obj, oh); in yaffs_verify_oh() 187 if (tags->obj_id != obj->obj_id) in yaffs_verify_oh() 190 tags->obj_id, obj->obj_id); in yaffs_verify_oh() 198 if (parent_check && tags->obj_id > 1 && !obj->parent) in yaffs_verify_oh() 203 if (parent_check && obj->parent && in yaffs_verify_oh() 204 oh->parent_obj_id != obj->parent->obj_id && in yaffs_verify_oh() 206 obj->parent->obj_id != YAFFS_OBJECTID_DELETED)) in yaffs_verify_oh() [all …]
|
D | yaffs_guts.c | 44 static void yaffs_fix_null_name(struct yaffs_obj *obj, YCHAR *name, 653 void yaffs_set_obj_name(struct yaffs_obj *obj, const YCHAR * name) in yaffs_set_obj_name() argument 655 memset(obj->short_name, 0, sizeof(obj->short_name)); in yaffs_set_obj_name() 658 yaffs_fix_null_name(obj, obj->short_name, in yaffs_set_obj_name() 660 name = obj->short_name; in yaffs_set_obj_name() 664 strcpy(obj->short_name, name); in yaffs_set_obj_name() 667 obj->sum = yaffs_calc_name_sum(name); in yaffs_set_obj_name() 670 void yaffs_set_obj_name_from_oh(struct yaffs_obj *obj, in yaffs_set_obj_name_from_oh() argument 676 yaffs_load_name_from_oh(obj->my_dev, tmp_name, oh->name, in yaffs_set_obj_name_from_oh() 678 yaffs_set_obj_name(obj, tmp_name); in yaffs_set_obj_name_from_oh() [all …]
|
D | yaffs_yaffs2.c | 369 struct yaffs_obj *obj) in yaffs2_obj_checkpt_obj() argument 371 cp->obj_id = obj->obj_id; in yaffs2_obj_checkpt_obj() 372 cp->parent_id = (obj->parent) ? obj->parent->obj_id : 0; in yaffs2_obj_checkpt_obj() 373 cp->hdr_chunk = obj->hdr_chunk; in yaffs2_obj_checkpt_obj() 374 cp->variant_type = obj->variant_type; in yaffs2_obj_checkpt_obj() 375 cp->deleted = obj->deleted; in yaffs2_obj_checkpt_obj() 376 cp->soft_del = obj->soft_del; in yaffs2_obj_checkpt_obj() 377 cp->unlinked = obj->unlinked; in yaffs2_obj_checkpt_obj() 378 cp->fake = obj->fake; in yaffs2_obj_checkpt_obj() 379 cp->rename_allowed = obj->rename_allowed; in yaffs2_obj_checkpt_obj() [all …]
|
D | yaffs_vfs.c | 239 struct yaffs_obj *obj); 260 struct yaffs_obj *obj; in yaffs_readpage_nolock() local 271 obj = yaffs_dentry_to_obj(f->f_dentry); in yaffs_readpage_nolock() 273 dev = obj->my_dev; in yaffs_readpage_nolock() 287 ret = yaffs_file_rd(obj, pg_buf, pos, PAGE_CACHE_SIZE); in yaffs_readpage_nolock() 385 struct yaffs_obj *obj; in yaffs_writepage() local 427 obj = yaffs_inode_to_obj(inode); in yaffs_writepage() 428 dev = obj->my_dev; in yaffs_writepage() 436 obj->variant.file_variant.file_size, inode->i_size); in yaffs_writepage() 438 n_written = yaffs_wr_file(obj, buffer, in yaffs_writepage() [all …]
|
D | yaffs_verify.h | 27 void yaffs_verify_oh(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh, 29 void yaffs_verify_file(struct yaffs_obj *obj); 30 void yaffs_verify_link(struct yaffs_obj *obj); 31 void yaffs_verify_symlink(struct yaffs_obj *obj); 32 void yaffs_verify_special(struct yaffs_obj *obj); 33 void yaffs_verify_obj(struct yaffs_obj *obj); 35 void yaffs_verify_obj_in_dir(struct yaffs_obj *obj); 39 int yaffs_verify_file_sane(struct yaffs_obj *obj);
|
D | yaffs_attribs.h | 21 void yaffs_load_attribs(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh); 22 void yaffs_load_attribs_oh(struct yaffs_obj_hdr *oh, struct yaffs_obj *obj); 23 void yaffs_attribs_init(struct yaffs_obj *obj, u32 gid, u32 uid, u32 rdev); 24 void yaffs_load_current_time(struct yaffs_obj *obj, int do_a, int do_c); 25 int yaffs_set_attribs(struct yaffs_obj *obj, struct iattr *attr); 26 int yaffs_get_attribs(struct yaffs_obj *obj, struct iattr *attr);
|
D | yaffs_guts.h | 571 void (*remove_obj_fn) (struct yaffs_obj *obj); 854 int yaffs_del_obj(struct yaffs_obj *obj); 856 int yaffs_get_obj_name(struct yaffs_obj *obj, YCHAR * name, int buffer_size); 857 loff_t yaffs_get_obj_length(struct yaffs_obj *obj); 858 int yaffs_get_obj_inode(struct yaffs_obj *obj); 859 unsigned yaffs_get_obj_type(struct yaffs_obj *obj); 860 int yaffs_get_obj_link_count(struct yaffs_obj *obj); 863 int yaffs_file_rd(struct yaffs_obj *obj, u8 * buffer, loff_t offset, 865 int yaffs_wr_file(struct yaffs_obj *obj, const u8 * buffer, loff_t offset, 867 int yaffs_resize_file(struct yaffs_obj *obj, loff_t new_size); [all …]
|
D | yaffs_yaffs1.c | 392 struct yaffs_obj *obj; in yaffs1_scan() local 401 obj = yaffs_find_by_number(dev, fixer->shadowed_id); in yaffs1_scan() 402 if (obj) in yaffs1_scan() 403 yaffs_del_obj(obj); in yaffs1_scan() 405 obj = yaffs_find_by_number(dev, fixer->obj_id); in yaffs1_scan() 407 if (obj) in yaffs1_scan() 408 yaffs_update_oh(obj, NULL, 1, 0, 0, NULL); in yaffs1_scan()
|
D | yaffs_allocator.c | 289 struct yaffs_obj *obj = NULL; in yaffs_alloc_raw_obj() local 295 return obj; in yaffs_alloc_raw_obj() 304 obj = list_entry(lh, struct yaffs_obj, siblings); in yaffs_alloc_raw_obj() 309 return obj; in yaffs_alloc_raw_obj() 312 void yaffs_free_raw_obj(struct yaffs_dev *dev, struct yaffs_obj *obj) in yaffs_free_raw_obj() argument 323 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
|
/fs/nls/ |
D | Makefile | 5 obj-$(CONFIG_NLS) += nls_base.o 7 obj-$(CONFIG_NLS_CODEPAGE_437) += nls_cp437.o 8 obj-$(CONFIG_NLS_CODEPAGE_737) += nls_cp737.o 9 obj-$(CONFIG_NLS_CODEPAGE_775) += nls_cp775.o 10 obj-$(CONFIG_NLS_CODEPAGE_850) += nls_cp850.o 11 obj-$(CONFIG_NLS_CODEPAGE_852) += nls_cp852.o 12 obj-$(CONFIG_NLS_CODEPAGE_855) += nls_cp855.o 13 obj-$(CONFIG_NLS_CODEPAGE_857) += nls_cp857.o 14 obj-$(CONFIG_NLS_CODEPAGE_860) += nls_cp860.o 15 obj-$(CONFIG_NLS_CODEPAGE_861) += nls_cp861.o [all …]
|
/fs/fscache/ |
D | object-list.c | 48 void fscache_objlist_add(struct fscache_object *obj) in fscache_objlist_add() argument 59 if (obj < xobj) in fscache_objlist_add() 61 else if (obj > xobj) in fscache_objlist_add() 67 rb_link_node(&obj->objlist_link, parent, p); in fscache_objlist_add() 68 rb_insert_color(&obj->objlist_link, &fscache_object_list); in fscache_objlist_add() 79 void fscache_object_destroy(struct fscache_object *obj) in fscache_object_destroy() argument 84 rb_erase(&obj->objlist_link, &fscache_object_list); in fscache_object_destroy() 95 struct fscache_object *pobj, *obj = NULL, *minobj = NULL; in fscache_objlist_lookup() local 113 obj = rb_entry(p, struct fscache_object, objlist_link); in fscache_objlist_lookup() 114 if (pobj < obj) { in fscache_objlist_lookup() [all …]
|
/fs/adfs/ |
D | dir_f.c | 210 adfs_dir2obj(struct adfs_dir *dir, struct object_info *obj, in adfs_dir2obj() argument 213 obj->name_len = adfs_readname(obj->name, de->dirobname, ADFS_F_NAME_LEN); in adfs_dir2obj() 214 obj->file_id = adfs_readval(de->dirinddiscadd, 3); in adfs_dir2obj() 215 obj->loadaddr = adfs_readval(de->dirload, 4); in adfs_dir2obj() 216 obj->execaddr = adfs_readval(de->direxec, 4); in adfs_dir2obj() 217 obj->size = adfs_readval(de->dirlen, 4); in adfs_dir2obj() 218 obj->attr = de->newdiratts; in adfs_dir2obj() 219 obj->filetype = -1; in adfs_dir2obj() 225 if ((0 == (obj->attr & ADFS_NDA_DIRECTORY)) && in adfs_dir2obj() 226 (0xfff00000 == (0xfff00000 & obj->loadaddr))) { in adfs_dir2obj() [all …]
|
D | dir.c | 25 struct object_info obj; in adfs_readdir() local 56 while (ops->getnext(&dir, &obj) == 0) { in adfs_readdir() 57 if (filldir(dirent, obj.name, obj.name_len, in adfs_readdir() 58 filp->f_pos, obj.file_id, DT_UNKNOWN) < 0) in adfs_readdir() 74 adfs_dir_update(struct super_block *sb, struct object_info *obj, int wait) in adfs_dir_update() argument 82 obj->file_id, obj->parent_id); in adfs_dir_update() 89 ret = ops->read(sb, obj->parent_id, 0, &dir); in adfs_dir_update() 94 ret = ops->update(&dir, obj); in adfs_dir_update() 110 adfs_match(struct qstr *name, struct object_info *obj) in adfs_match() argument 114 if (name->len != obj->name_len) in adfs_match() [all …]
|
D | dir_fplus.c | 166 adfs_fplus_getnext(struct adfs_dir *dir, struct object_info *obj) in adfs_fplus_getnext() argument 183 obj->loadaddr = le32_to_cpu(bde.bigdirload); in adfs_fplus_getnext() 184 obj->execaddr = le32_to_cpu(bde.bigdirexec); in adfs_fplus_getnext() 185 obj->size = le32_to_cpu(bde.bigdirlen); in adfs_fplus_getnext() 186 obj->file_id = le32_to_cpu(bde.bigdirindaddr); in adfs_fplus_getnext() 187 obj->attr = le32_to_cpu(bde.bigdirattr); in adfs_fplus_getnext() 188 obj->name_len = le32_to_cpu(bde.bigdirobnamelen); in adfs_fplus_getnext() 195 dir_memcpy(dir, offset, obj->name, obj->name_len); in adfs_fplus_getnext() 196 for (i = 0; i < obj->name_len; i++) in adfs_fplus_getnext() 197 if (obj->name[i] == '/') in adfs_fplus_getnext() [all …]
|
D | inode.c | 238 adfs_iget(struct super_block *sb, struct object_info *obj) in adfs_iget() argument 248 inode->i_ino = obj->file_id; in adfs_iget() 249 inode->i_size = obj->size; in adfs_iget() 260 ADFS_I(inode)->parent_id = obj->parent_id; in adfs_iget() 261 ADFS_I(inode)->loadaddr = obj->loadaddr; in adfs_iget() 262 ADFS_I(inode)->execaddr = obj->execaddr; in adfs_iget() 263 ADFS_I(inode)->attr = obj->attr; in adfs_iget() 264 ADFS_I(inode)->filetype = obj->filetype; in adfs_iget() 265 ADFS_I(inode)->stamped = ((obj->loadaddr & 0xfff00000) == 0xfff00000); in adfs_iget() 353 struct object_info obj; in adfs_write_inode() local [all …]
|
D | adfs.h | 128 int (*getnext)(struct adfs_dir *dir, struct object_info *obj); 129 int (*update)(struct adfs_dir *dir, struct object_info *obj); 130 int (*create)(struct adfs_dir *dir, struct object_info *obj); 131 int (*remove)(struct adfs_dir *dir, struct object_info *obj); 144 struct inode *adfs_iget(struct super_block *sb, struct object_info *obj); 170 extern int adfs_dir_update(struct super_block *sb, struct object_info *obj,
|
/fs/quota/ |
D | Makefile | 1 obj-$(CONFIG_QUOTA) += dquot.o 2 obj-$(CONFIG_QFMT_V1) += quota_v1.o 3 obj-$(CONFIG_QFMT_V2) += quota_v2.o 4 obj-$(CONFIG_QUOTA_TREE) += quota_tree.o 5 obj-$(CONFIG_QUOTACTL) += quota.o 6 obj-$(CONFIG_QUOTACTL_COMPAT) += compat.o 7 obj-$(CONFIG_QUOTA_NETLINK_INTERFACE) += netlink.o
|
/fs/ocfs2/ |
D | Makefile | 5 obj-$(CONFIG_OCFS2_FS) += \ 9 obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_stack_o2cb.o 10 obj-$(CONFIG_OCFS2_FS_USERSPACE_CLUSTER) += ocfs2_stack_user.o 51 obj-$(CONFIG_OCFS2_FS) += dlmfs/ 53 obj-$(CONFIG_OCFS2_FS) += cluster/ 54 obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/
|
/fs/notify/ |
D | Makefile | 1 obj-$(CONFIG_FSNOTIFY) += fsnotify.o notification.o group.o inode_mark.o \ 4 obj-y += dnotify/ 5 obj-y += inotify/ 6 obj-y += fanotify/
|
/fs/exofs/ |
D | super.c | 215 void exofs_make_credential(u8 cred_a[OSD_CAP_LEN], const struct osd_obj_id *obj) in exofs_make_credential() argument 217 osd_sec_init_nosec_doall_caps(cred_a, obj, false, true); in exofs_make_credential() 220 static int exofs_read_kern(struct osd_dev *od, u8 *cred, struct osd_obj_id *obj, in exofs_read_kern() argument 231 ret = osd_req_read_kern(or, obj, offset, p, length); in exofs_read_kern() 252 _LLU(obj->id), _LLU(offset), _LLU(length), od, ret); in exofs_read_kern() 473 sbi->one_comp.obj.partition); in exofs_put_super() 602 comp.obj.partition = sbi->one_comp.obj.partition; in exofs_read_lookup_dev_table() 603 comp.obj.id = EXOFS_DEVTABLE_ID; in exofs_read_lookup_dev_table() 604 exofs_make_credential(comp.cred, &comp.obj); in exofs_read_lookup_dev_table() 606 ret = exofs_read_kern(fscb_od, comp.cred, &comp.obj, 0, dt, in exofs_read_lookup_dev_table() [all …]
|
D | exofs.h | 176 const struct osd_obj_id *obj); 216 one_comp->obj.partition = sbi->one_comp.obj.partition; in exofs_init_comps() 217 one_comp->obj.id = oid; in exofs_init_comps() 218 exofs_make_credential(one_comp->cred, &one_comp->obj); in exofs_init_comps()
|
/fs/nfs/ |
D | Makefile | 5 obj-$(CONFIG_NFS_FS) += nfs.o 22 obj-$(CONFIG_PNFS_FILE_LAYOUT) += nfs_layout_nfsv41_files.o 25 obj-$(CONFIG_PNFS_OBJLAYOUT) += objlayout/ 26 obj-$(CONFIG_PNFS_BLOCK) += blocklayout/
|
/fs/fat/ |
D | Makefile | 5 obj-$(CONFIG_FAT_FS) += fat.o 6 obj-$(CONFIG_VFAT_FS) += vfat.o 7 obj-$(CONFIG_MSDOS_FS) += msdos.o
|