Home
last modified time | relevance | path

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

/fs/netfs/
Diterator.c36 ssize_t netfs_extract_user_iter(struct iov_iter *orig, size_t orig_len, in netfs_extract_user_iter() argument
50 if (WARN_ON_ONCE(!iter_is_ubuf(orig) && !iter_is_iovec(orig))) in netfs_extract_user_iter()
53 max_pages = iov_iter_npages(orig, INT_MAX); in netfs_extract_user_iter()
67 ret = iov_iter_extract_pages(orig, &pages, count, in netfs_extract_user_iter()
100 iov_iter_bvec(new, orig->data_source, bv, npages, orig_len - count); in netfs_extract_user_iter()
/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 || in xfs_ag_resv_critical()
/fs/nfs/
Dnfs3acl.c260 struct posix_acl *orig = acl, *dfacl = NULL, *alloc; in nfs3_set_acl() local
291 if (acl != orig) in nfs3_set_acl()
293 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()
808 struct svc_export *orig = container_of(a, struct svc_export, h); in svc_export_match() local
810 return orig->ex_client == new->ex_client && in svc_export_match()
811 path_equal(&orig->ex_path, &new->ex_path); in svc_export_match()
/fs/btrfs/
Dsuper.c248 char *orig; in parse_rescue_options() local
256 orig = opts; in parse_rescue_options()
301 kfree(orig); in parse_rescue_options()
865 char *device_name, *opts, *orig, *p; in btrfs_parse_device_options() local
881 orig = opts; in btrfs_parse_device_options()
906 kfree(orig); in btrfs_parse_device_options()
919 char *opts, *orig, *p; in btrfs_parse_subvol_options() local
933 orig = opts; in btrfs_parse_subvol_options()
967 kfree(orig); in btrfs_parse_subvol_options()
Dextent-io-tree.c457 static int split_state(struct extent_io_tree *tree, struct extent_state *orig, in split_state() argument
464 btrfs_split_delalloc_extent(tree->inode, orig, split); in split_state()
466 prealloc->start = orig->start; in split_state()
468 prealloc->state = orig->state; in split_state()
469 orig->start = split; in split_state()
471 parent = &orig->rb_node; in split_state()
Dfree-space-cache.h81 void *cur, *orig; member
Dbtrfs_inode.h467 struct extent_state *orig, u64 split);
Dfree-space-cache.c414 io_ctl->orig = NULL; in io_ctl_unmap_page()
423 io_ctl->orig = io_ctl->cur; in io_ctl_map_page()
543 crc = btrfs_crc32c(crc, io_ctl->orig + offset, PAGE_SIZE - offset); in io_ctl_set_crc()
565 crc = btrfs_crc32c(crc, io_ctl->orig + offset, PAGE_SIZE - offset); in io_ctl_check_crc()
616 if (io_ctl->cur != io_ctl->orig) { in io_ctl_add_bitmap()
636 if (io_ctl->cur != io_ctl->orig) in io_ctl_zero_remaining_pages()
Dinode.c2290 struct extent_state *orig, u64 split) in btrfs_split_delalloc_extent() argument
2296 if (!(orig->state & EXTENT_DELALLOC)) in btrfs_split_delalloc_extent()
2299 size = orig->end - orig->start + 1; in btrfs_split_delalloc_extent()
2308 new_size = orig->end - split + 1; in btrfs_split_delalloc_extent()
2310 new_size = split - orig->start; in btrfs_split_delalloc_extent()
Dvolumes.c991 static struct btrfs_fs_devices *clone_fs_devices(struct btrfs_fs_devices *orig) in clone_fs_devices() argument
1000 fs_devices = alloc_fs_devices(orig->fsid, NULL); in clone_fs_devices()
1004 fs_devices->total_devices = orig->total_devices; in clone_fs_devices()
1006 list_for_each_entry(orig_dev, &orig->devices, dev_list) { in clone_fs_devices()
/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/erofs/
Dzdata.c144 int orig, v; in z_erofs_onlinepage_endio() local
149 orig = atomic_read((atomic_t *)&page->private); in z_erofs_onlinepage_endio()
150 v = (orig - 1) | (err ? Z_EROFS_PAGE_EIO : 0); in z_erofs_onlinepage_endio()
151 } while (atomic_cmpxchg((atomic_t *)&page->private, orig, v) != orig); in z_erofs_onlinepage_endio()
/fs/
Duserfaultfd.c55 struct userfaultfd_ctx *orig; member
664 if (fctx->orig == octx) { in dup_userfaultfd()
693 fctx->orig = octx; in dup_userfaultfd()
704 struct userfaultfd_ctx *ctx = fctx->orig; in dup_fctx()
/fs/smb/client/
Dfs_context.c448 char *opts, *orig, *p; in smb3_parse_opt() local
450 orig = opts = kstrdup(options, GFP_KERNEL); in smb3_parse_opt()
472 kfree(orig); in smb3_parse_opt()
/fs/gfs2/
Drgrp.c1327 const u8 *orig = bh->b_data + bi->bi_offset + x; in gfs2_rgrp_send_discards() local
1328 diff = ~(*orig | (*orig >> 1)) & (*clone | (*clone >> 1)); in gfs2_rgrp_send_discards()
/fs/proc/
Dbase.c917 loff_t mem_lseek(struct file *file, loff_t offset, int orig) in mem_lseek() argument
919 switch (orig) { in mem_lseek()