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()
327 if (f->metadata->size != sizeof(jdev.old_id) && in jffs2_iget()
328 f->metadata->size != sizeof(jdev.new_id)) { in jffs2_iget()
330 f->metadata->size); in jffs2_iget()
334 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.c190 if (f->metadata) { in jffs2_write_begin()
191 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_write_begin()
192 jffs2_free_full_dnode(f->metadata); in jffs2_write_begin()
193 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.c370 f->metadata = fn; in jffs2_symlink()
514 f->metadata = fn; in jffs2_mkdir()
688 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/
DKconfig31 by the V5 format, such as metadata checksumming, strengthened
32 metadata verification, and the ability to store timestamps past the
57 information as filesystem metadata and uses journaling to provide a
87 mechanism for ensuring data and metadata/log I/Os are completely
97 bool "XFS online metadata check support"
101 If you say Y here you will be able to check metadata on a
114 bool "XFS online metadata repair support"
118 If you say Y here you will be able to repair metadata on a
122 formatted with secondary metadata, such as reverse mappings and inode
/fs/notify/fanotify/
Dfanotify_user.c530 struct fanotify_event_metadata metadata; in copy_event_to_user() local
540 metadata.event_len = FAN_EVENT_METADATA_LEN + in copy_event_to_user()
542 metadata.metadata_len = FAN_EVENT_METADATA_LEN; in copy_event_to_user()
543 metadata.vers = FANOTIFY_METADATA_VERSION; in copy_event_to_user()
544 metadata.reserved = 0; in copy_event_to_user()
545 metadata.mask = event->mask & FANOTIFY_OUTGOING_EVENTS; in copy_event_to_user()
546 metadata.pid = pid_vnr(event->pid); in copy_event_to_user()
554 metadata.pid = 0; in copy_event_to_user()
568 metadata.fd = fd; in copy_event_to_user()
587 if (metadata.pid == 0 || 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()
630 be->bytenr, be->len, be->num_refs, be->metadata, in dump_block_entry()
668 bool metadata; in btrfs_ref_tree_mod() local
688 metadata = owner < BTRFS_FIRST_FREE_OBJECTID; in btrfs_ref_tree_mod()
740 if (metadata) in btrfs_ref_tree_mod()
741 be->metadata = 1; in btrfs_ref_tree_mod()
831 } else if (!be->metadata) { in btrfs_ref_tree_mod()
Ddisk-io.h120 enum btrfs_wq_endio_type metadata);
Dextent-tree.c117 u64 offset, int metadata, u64 *refs, u64 *flags) in btrfs_lookup_extent_info() argument
134 if (metadata && !btrfs_fs_incompat(fs_info, SKINNY_METADATA)) { in btrfs_lookup_extent_info()
136 metadata = 0; in btrfs_lookup_extent_info()
151 if (metadata) in btrfs_lookup_extent_info()
160 if (ret > 0 && metadata && key.type == BTRFS_METADATA_ITEM_KEY) { in btrfs_lookup_extent_info()
1588 int metadata = !extent_op->is_data; in run_delayed_extent_op() local
1593 if (metadata && !btrfs_fs_incompat(fs_info, SKINNY_METADATA)) in run_delayed_extent_op()
1594 metadata = 0; in run_delayed_extent_op()
1602 if (metadata) { in run_delayed_extent_op()
1617 if (metadata) { in run_delayed_extent_op()
[all …]
Ddisk-io.c78 enum btrfs_wq_endio_type metadata; member
683 if (end_io_wq->metadata == BTRFS_WQ_ENDIO_METADATA) in end_workqueue_bio()
685 else if (end_io_wq->metadata == BTRFS_WQ_ENDIO_FREE_SPACE) in end_workqueue_bio()
687 else if (end_io_wq->metadata == BTRFS_WQ_ENDIO_RAID56) in end_workqueue_bio()
692 if (end_io_wq->metadata == BTRFS_WQ_ENDIO_RAID56) in end_workqueue_bio()
694 else if (end_io_wq->metadata) in end_workqueue_bio()
705 enum btrfs_wq_endio_type metadata) in btrfs_bio_wq_end_io() argument
718 end_io_wq->metadata = metadata; in btrfs_bio_wq_end_io()
Dinode.c2552 enum btrfs_wq_endio_type metadata = BTRFS_WQ_ENDIO_DATA; in btrfs_submit_data_bio() local
2561 metadata = BTRFS_WQ_ENDIO_FREE_SPACE; in btrfs_submit_data_bio()
2573 ret = btrfs_bio_wq_end_io(fs_info, bio, metadata); in btrfs_submit_data_bio()
Dctree.h2732 u64 offset, int metadata, u64 *refs, u64 *flags);
/fs/overlayfs/
DKconfig111 bool "Overlayfs: turn on metadata only copy up feature by default"
116 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.c1280 const char* metadata[][2] = { in create_session_open_msg() local
1290 for (i = 0; metadata[i][0]; ++i) { in create_session_open_msg()
1291 extra_bytes += 8 + strlen(metadata[i][0]) + in create_session_open_msg()
1292 strlen(metadata[i][1]); in create_session_open_msg()
1340 for (i = 0; metadata[i][0]; ++i) { in create_session_open_msg()
1341 size_t const key_len = strlen(metadata[i][0]); in create_session_open_msg()
1342 size_t const val_len = strlen(metadata[i][1]); in create_session_open_msg()
1345 memcpy(p, metadata[i][0], key_len); in create_session_open_msg()
1348 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.