Home
last modified time | relevance | path

Searched refs:orig (Results 1 – 17 of 17) sorted by relevance

/fs/erofs/
Dzdata.h150 int orig, orig_index, val; in z_erofs_onlinepage_fixup() local
153 orig = atomic_read(u.o); in z_erofs_onlinepage_fixup()
154 orig_index = orig >> Z_EROFS_ONLINEPAGE_INDEX_SHIFT; in z_erofs_onlinepage_fixup()
163 ((orig & Z_EROFS_ONLINEPAGE_COUNT_MASK) + (unsigned int)down); in z_erofs_onlinepage_fixup()
164 if (atomic_cmpxchg(u.o, orig, val) != orig) in z_erofs_onlinepage_fixup()
/fs/xfs/libxfs/
Dxfs_ag_resv.c74 xfs_extlen_t orig; in xfs_ag_resv_critical() local
79 orig = pag->pag_meta_resv.ar_asked; in xfs_ag_resv_critical()
84 orig = pag->pag_rmapbt_resv.ar_asked; in xfs_ag_resv_critical()
94 return XFS_TEST_ERROR(avail < orig / 10 || avail < XFS_BTREE_MAXLEVELS, in xfs_ag_resv_critical()
/fs/nfs/
Dnfs3acl.c256 struct posix_acl *orig = acl, *dfacl = NULL, *alloc; in nfs3_set_acl() local
286 if (acl != orig) in nfs3_set_acl()
288 if (dfacl != orig) in nfs3_set_acl()
/fs/nfsd/
Dexport.c204 struct svc_expkey *orig = container_of(a, struct svc_expkey, h); in expkey_match() local
207 if (orig->ek_fsidtype != new->ek_fsidtype || in expkey_match()
208 orig->ek_client != new->ek_client || in expkey_match()
209 memcmp(orig->ek_fsid, new->ek_fsid, key_len(orig->ek_fsidtype)) != 0) in expkey_match()
724 struct svc_export *orig = container_of(a, struct svc_export, h); in svc_export_match() local
726 return orig->ex_client == new->ex_client && in svc_export_match()
727 path_equal(&orig->ex_path, &new->ex_path); in svc_export_match()
/fs/btrfs/
Dsuper.c464 char *orig; in parse_rescue_options() local
472 orig = opts; in parse_rescue_options()
500 kfree(orig); in parse_rescue_options()
1029 char *device_name, *opts, *orig, *p; in btrfs_parse_device_options() local
1045 orig = opts; in btrfs_parse_device_options()
1071 kfree(orig); in btrfs_parse_device_options()
1084 char *opts, *orig, *p; in btrfs_parse_subvol_options() local
1098 orig = opts; in btrfs_parse_subvol_options()
1132 kfree(orig); in btrfs_parse_subvol_options()
Dfree-space-cache.h69 void *cur, *orig; member
Dextent_io.h278 struct bio *btrfs_bio_clone_partial(struct bio *orig, int offset, int size);
Dextent_io.c591 static int split_state(struct extent_io_tree *tree, struct extent_state *orig, in split_state() argument
597 btrfs_split_delalloc_extent(tree->private_data, orig, split); in split_state()
599 prealloc->start = orig->start; in split_state()
601 prealloc->state = orig->state; in split_state()
602 orig->start = split; in split_state()
604 node = tree_insert(&tree->state, &orig->rb_node, prealloc->end, in split_state()
2995 struct bio *btrfs_bio_clone_partial(struct bio *orig, int offset, int size) in btrfs_bio_clone_partial() argument
3001 bio = bio_clone_fast(orig, GFP_NOFS, &btrfs_bioset); in btrfs_bio_clone_partial()
Dfree-space-cache.c344 io_ctl->orig = NULL; in io_ctl_unmap_page()
353 io_ctl->orig = io_ctl->cur; in io_ctl_map_page()
477 crc = btrfs_crc32c(crc, io_ctl->orig + offset, PAGE_SIZE - offset); in io_ctl_set_crc()
504 crc = btrfs_crc32c(crc, io_ctl->orig + offset, PAGE_SIZE - offset); in io_ctl_check_crc()
555 if (io_ctl->cur != io_ctl->orig) { in io_ctl_add_bitmap()
575 if (io_ctl->cur != io_ctl->orig) in io_ctl_zero_remaining_pages()
Dinode.c1844 struct extent_state *orig, u64 split) in btrfs_split_delalloc_extent() argument
1849 if (!(orig->state & EXTENT_DELALLOC)) in btrfs_split_delalloc_extent()
1852 size = orig->end - orig->start + 1; in btrfs_split_delalloc_extent()
1861 new_size = orig->end - split + 1; in btrfs_split_delalloc_extent()
1863 new_size = split - orig->start; in btrfs_split_delalloc_extent()
Dvolumes.c1037 static struct btrfs_fs_devices *clone_fs_devices(struct btrfs_fs_devices *orig) in clone_fs_devices() argument
1046 fs_devices = alloc_fs_devices(orig->fsid, NULL); in clone_fs_devices()
1050 fs_devices->total_devices = orig->total_devices; in clone_fs_devices()
1052 list_for_each_entry(orig_dev, &orig->devices, dev_list) { in clone_fs_devices()
Dctree.h3026 struct extent_state *orig, u64 split);
/fs/jffs2/
Dcompr.c359 void jffs2_free_comprbuf(unsigned char *comprbuf, unsigned char *orig) in jffs2_free_comprbuf() argument
361 if (orig != comprbuf) in jffs2_free_comprbuf()
Dcompr.h81 void jffs2_free_comprbuf(unsigned char *comprbuf, unsigned char *orig);
/fs/
Duserfaultfd.c77 struct userfaultfd_ctx *orig; member
687 if (fctx->orig == octx) { in dup_userfaultfd()
713 fctx->orig = octx; in dup_userfaultfd()
724 struct userfaultfd_ctx *ctx = fctx->orig; in dup_fctx()
/fs/gfs2/
Drgrp.c1304 const u8 *orig = bh->b_data + bi->bi_offset + x; in gfs2_rgrp_send_discards() local
1305 diff = ~(*orig | (*orig >> 1)) & (*clone | (*clone >> 1)); in gfs2_rgrp_send_discards()
/fs/proc/
Dbase.c903 loff_t mem_lseek(struct file *file, loff_t offset, int orig) in mem_lseek() argument
905 switch (orig) { in mem_lseek()