Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 25 of 25) sorted by relevance

/fs/jffs2/
Dfs.c61 mdatalen = f->metadata->size; in jffs2_do_setattr()
62 mdata = kmalloc(f->metadata->size, GFP_USER); in jffs2_do_setattr()
67 ret = jffs2_read_dnode(c, f, f->metadata, mdata, 0, mdatalen); in jffs2_do_setattr()
158 old_metadata = f->metadata; in jffs2_do_setattr()
167 f->metadata = NULL; in jffs2_do_setattr()
169 f->metadata = new_metadata; in jffs2_do_setattr()
326 if (f->metadata->size != sizeof(jdev.old_id) && in jffs2_iget()
327 f->metadata->size != sizeof(jdev.new_id)) { in jffs2_iget()
329 f->metadata->size); in jffs2_iget()
333 ret = jffs2_read_dnode(c, f, f->metadata, (char *)&jdev, 0, f->metadata->size); in jffs2_iget()
[all …]
Dgc.c527 if (f->metadata && f->metadata->raw == raw) { in jffs2_garbage_collect_live()
528 fn = f->metadata; in jffs2_garbage_collect_live()
843 f->metadata = new_fn; in jffs2_garbage_collect_metadata()
1116 if (f->metadata) { in jffs2_garbage_collect_hole()
1117 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_garbage_collect_hole()
1118 jffs2_free_full_dnode(f->metadata); in jffs2_garbage_collect_hole()
1119 f->metadata = NULL; in jffs2_garbage_collect_hole()
1396 if (f->metadata) { in jffs2_garbage_collect_dnode()
1397 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_garbage_collect_dnode()
1398 jffs2_free_full_dnode(f->metadata); in jffs2_garbage_collect_dnode()
[all …]
Dfile.c189 if (f->metadata) { in jffs2_write_begin()
190 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_write_begin()
191 jffs2_free_full_dnode(f->metadata); in jffs2_write_begin()
192 f->metadata = NULL; in jffs2_write_begin()
Dwrite.c408 if (f->metadata) { in jffs2_write_inode_range()
409 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_write_inode_range()
410 jffs2_free_full_dnode(f->metadata); in jffs2_write_inode_range()
411 f->metadata = NULL; in jffs2_write_inode_range()
480 f->metadata = fn; in jffs2_do_create()
Djffs2_fs_i.h40 struct jffs2_full_dnode *metadata; member
Dreadinode.c1187 f->metadata = rii.mdata_tn->fn; in jffs2_do_read_inode_internal()
1298 if (f->metadata) { in jffs2_do_read_inode_internal()
1316 f->metadata = frag_first(&f->fragtree)->node; in jffs2_do_read_inode_internal()
1425 if (f->metadata) { in jffs2_do_clear_inode()
1427 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_do_clear_inode()
1428 jffs2_free_full_dnode(f->metadata); in jffs2_do_clear_inode()
Dwbuf.c198 if (f->metadata && f->metadata->raw == raw) { in jffs2_incore_replace_raw()
199 dbg_noderef("Will replace ->raw in f->metadata at %p\n", f->metadata); in jffs2_incore_replace_raw()
200 return &f->metadata->raw; in jffs2_incore_replace_raw()
Ddir.c366 f->metadata = fn; in jffs2_symlink()
509 f->metadata = fn; in jffs2_mkdir()
682 f->metadata = fn; in jffs2_mknod()
Dos-linux.h55 f->metadata = NULL; in jffs2_init_inode_info()
Ddebug.c726 if (f->metadata) in __jffs2_dbg_dump_fragtree_nolock()
727 printk(JFFS2_DBG "metadata at 0x%08x\n", ref_offset(f->metadata->raw)); in __jffs2_dbg_dump_fragtree_nolock()
DREADME.Locking143 in blocks. It protects both the contents of the wbuf and the metadata
/fs/xfs/
DKconfig32 information as filesystem metadata and uses journaling to provide a
62 mechanism for ensuring data and metadata/log I/Os are completely
72 bool "XFS online metadata check support"
76 If you say Y here you will be able to check metadata on a
89 bool "XFS online metadata repair support"
93 If you say Y here you will be able to repair metadata on a
97 formatted with secondary metadata, such as reverse mappings and inode
/fs/notify/fanotify/
Dfanotify_user.c263 struct fanotify_event_metadata metadata; in copy_event_to_user() local
271 metadata.event_len = FAN_EVENT_METADATA_LEN; in copy_event_to_user()
272 metadata.metadata_len = FAN_EVENT_METADATA_LEN; in copy_event_to_user()
273 metadata.vers = FANOTIFY_METADATA_VERSION; in copy_event_to_user()
274 metadata.reserved = 0; in copy_event_to_user()
275 metadata.mask = event->mask & FANOTIFY_OUTGOING_EVENTS; in copy_event_to_user()
276 metadata.pid = pid_vnr(event->pid); in copy_event_to_user()
283 metadata.event_len += fanotify_event_info_len(event); in copy_event_to_user()
285 metadata.fd = fd; in copy_event_to_user()
292 if (WARN_ON_ONCE(metadata.event_len > count)) in copy_event_to_user()
[all …]
/fs/btrfs/
Dref-verify.c67 int metadata; member
297 be->metadata = 0; in add_block_entry()
336 be->metadata = 1; in add_tree_block()
642 be->bytenr, be->len, be->num_refs, be->metadata, in dump_block_entry()
680 bool metadata; in btrfs_ref_tree_mod() local
700 metadata = owner < BTRFS_FIRST_FREE_OBJECTID; in btrfs_ref_tree_mod()
755 if (metadata) in btrfs_ref_tree_mod()
756 be->metadata = 1; in btrfs_ref_tree_mod()
836 } else if (!be->metadata) { in btrfs_ref_tree_mod()
Ddisk-io.h117 enum btrfs_wq_endio_type metadata);
Ddisk-io.c77 enum btrfs_wq_endio_type metadata; member
713 if (end_io_wq->metadata == BTRFS_WQ_ENDIO_METADATA) in end_workqueue_bio()
715 else if (end_io_wq->metadata == BTRFS_WQ_ENDIO_FREE_SPACE) in end_workqueue_bio()
717 else if (end_io_wq->metadata == BTRFS_WQ_ENDIO_RAID56) in end_workqueue_bio()
722 if (unlikely(end_io_wq->metadata == BTRFS_WQ_ENDIO_DIO_REPAIR)) in end_workqueue_bio()
724 else if (end_io_wq->metadata == BTRFS_WQ_ENDIO_RAID56) in end_workqueue_bio()
726 else if (end_io_wq->metadata) in end_workqueue_bio()
737 enum btrfs_wq_endio_type metadata) in btrfs_bio_wq_end_io() argument
750 end_io_wq->metadata = metadata; in btrfs_bio_wq_end_io()
Dextent-tree.c153 u64 offset, int metadata, u64 *refs, u64 *flags) in btrfs_lookup_extent_info() argument
170 if (metadata && !btrfs_fs_incompat(fs_info, SKINNY_METADATA)) { in btrfs_lookup_extent_info()
172 metadata = 0; in btrfs_lookup_extent_info()
187 if (metadata) in btrfs_lookup_extent_info()
196 if (ret > 0 && metadata && key.type == BTRFS_METADATA_ITEM_KEY) { in btrfs_lookup_extent_info()
1593 int metadata = !extent_op->is_data; in run_delayed_extent_op() local
1598 if (metadata && !btrfs_fs_incompat(fs_info, SKINNY_METADATA)) in run_delayed_extent_op()
1599 metadata = 0; in run_delayed_extent_op()
1607 if (metadata) { in run_delayed_extent_op()
1624 if (metadata) { in run_delayed_extent_op()
[all …]
Dinode.c2171 enum btrfs_wq_endio_type metadata = BTRFS_WQ_ENDIO_DATA; in btrfs_submit_bio_hook() local
2179 metadata = BTRFS_WQ_ENDIO_FREE_SPACE; in btrfs_submit_bio_hook()
2182 ret = btrfs_bio_wq_end_io(fs_info, bio, metadata); in btrfs_submit_bio_hook()
Dctree.h2413 u64 offset, int metadata, u64 *refs, u64 *flags);
/fs/overlayfs/
DKconfig110 bool "Overlayfs: turn on metadata only copy up feature by default"
115 copy up only metadata where appropriate and data copy up will
/fs/ocfs2/
DKconfig13 numbers, and has automatically extending metadata groups which may
/fs/ubifs/
DKconfig96 against offline changes for both data and metadata of the filesystem.
/fs/ceph/
Dmds_client.c1084 const char* metadata[][2] = { in create_session_open_msg() local
1094 for (i = 0; metadata[i][0]; ++i) { in create_session_open_msg()
1095 extra_bytes += 8 + strlen(metadata[i][0]) + in create_session_open_msg()
1096 strlen(metadata[i][1]); in create_session_open_msg()
1132 for (i = 0; metadata[i][0]; ++i) { in create_session_open_msg()
1133 size_t const key_len = strlen(metadata[i][0]); in create_session_open_msg()
1134 size_t const val_len = strlen(metadata[i][1]); in create_session_open_msg()
1137 memcpy(p, metadata[i][0], key_len); in create_session_open_msg()
1140 memcpy(p, metadata[i][1], val_len); in create_session_open_msg()
/fs/squashfs/
DKconfig71 Only one block (data or metadata) can be decompressed at any
/fs/befs/
DChangeLog83 * Added byteswapping to all metadata reads from disk.