/fs/cifs/ |
D | cifs_unicode.c | 33 convert_sfu_char(const __u16 src_char, char *target) in convert_sfu_char() argument 42 *target = ':'; in convert_sfu_char() 45 *target = '*'; in convert_sfu_char() 48 *target = '?'; in convert_sfu_char() 51 *target = '|'; in convert_sfu_char() 54 *target = '>'; in convert_sfu_char() 57 *target = '<'; in convert_sfu_char() 67 convert_sfm_char(const __u16 src_char, char *target) in convert_sfm_char() argument 70 *target = src_char - 0xF000; in convert_sfm_char() 75 *target = ':'; in convert_sfm_char() [all …]
|
/fs/ocfs2/dlm/ |
D | dlmthread.c | 347 struct dlm_lock *lock, *target; in dlm_shuffle_lists() local 368 target = list_entry(res->converting.next, struct dlm_lock, list); in dlm_shuffle_lists() 369 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists() 375 if (lock==target) in dlm_shuffle_lists() 378 target->ml.convert_type)) { in dlm_shuffle_lists() 386 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists() 388 target->ml.convert_type; in dlm_shuffle_lists() 393 if (lock==target) in dlm_shuffle_lists() 396 target->ml.convert_type)) { in dlm_shuffle_lists() 402 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists() [all …]
|
D | dlmmaster.c | 112 u8 target); 2543 struct dlm_lock_resource *res, u8 target) in dlm_migrate_lockres() argument 2557 BUG_ON(target == O2NM_MAX_NODES); in dlm_migrate_lockres() 2563 target); in dlm_migrate_lockres() 2587 namelen, target, dlm->node_num); in dlm_migrate_lockres() 2608 if (dlm_mark_lockres_migrating(dlm, res, target) < 0) { in dlm_migrate_lockres() 2611 res->lockname.name, target); in dlm_migrate_lockres() 2652 ret = dlm_send_one_lockres(dlm, res, mres, target, in dlm_migrate_lockres() 2657 target, ret); in dlm_migrate_lockres() 2667 dlm_wait_for_node_death(dlm, target, in dlm_migrate_lockres() [all …]
|
/fs/sysfs/ |
D | symlink.c | 24 struct kernfs_node *kn, *target = NULL; in sysfs_do_create_link_sd() local 36 target = target_kobj->sd; in sysfs_do_create_link_sd() 37 kernfs_get(target); in sysfs_do_create_link_sd() 41 if (!target) in sysfs_do_create_link_sd() 44 kn = kernfs_create_link(parent, name, target); in sysfs_do_create_link_sd() 45 kernfs_put(target); in sysfs_do_create_link_sd() 61 int sysfs_create_link_sd(struct kernfs_node *kn, struct kobject *target, in sysfs_create_link_sd() argument 64 return sysfs_do_create_link_sd(kn, target, name, 1); in sysfs_create_link_sd() 67 static int sysfs_do_create_link(struct kobject *kobj, struct kobject *target, in sysfs_do_create_link() argument 80 return sysfs_do_create_link_sd(parent, target, name, warn); in sysfs_do_create_link() [all …]
|
D | group.c | 382 struct kobject *target, const char *link_name) in sysfs_add_link_to_group() argument 391 error = sysfs_create_link_sd(parent, target, link_name); in sysfs_add_link_to_group() 428 struct kernfs_node *target; in __compat_only_sysfs_link_entry_to_kobj() local 438 target = target_kobj->sd; in __compat_only_sysfs_link_entry_to_kobj() 439 if (target) in __compat_only_sysfs_link_entry_to_kobj() 440 kernfs_get(target); in __compat_only_sysfs_link_entry_to_kobj() 442 if (!target) in __compat_only_sysfs_link_entry_to_kobj() 447 kernfs_put(target); in __compat_only_sysfs_link_entry_to_kobj() 456 kernfs_put(target); in __compat_only_sysfs_link_entry_to_kobj()
|
D | sysfs.h | 38 int sysfs_create_link_sd(struct kernfs_node *kn, struct kobject *target,
|
/fs/kernfs/ |
D | symlink.c | 27 struct kernfs_node *target) in kernfs_create_link() argument 34 if (target->iattr) { in kernfs_create_link() 35 uid = target->iattr->ia_uid; in kernfs_create_link() 36 gid = target->iattr->ia_gid; in kernfs_create_link() 45 kn->ns = target->ns; in kernfs_create_link() 46 kn->symlink.target_kn = target; in kernfs_create_link() 47 kernfs_get(target); /* ref owned by symlink */ in kernfs_create_link() 58 struct kernfs_node *target, char *path) in kernfs_get_target_path() argument 67 kn = target->parent; in kernfs_get_target_path() 83 kn = target; in kernfs_get_target_path() [all …]
|
/fs/xfs/ |
D | xfs_buf.h | 191 struct xfs_buf *xfs_buf_incore(struct xfs_buftarg *target, 195 struct xfs_buf *xfs_buf_get_map(struct xfs_buftarg *target, 198 struct xfs_buf *xfs_buf_read_map(struct xfs_buftarg *target, 202 void xfs_buf_readahead_map(struct xfs_buftarg *target, 208 struct xfs_buftarg *target, in xfs_buf_get() argument 213 return xfs_buf_get_map(target, &map, 1, 0); in xfs_buf_get() 218 struct xfs_buftarg *target, in xfs_buf_read() argument 225 return xfs_buf_read_map(target, &map, 1, flags, ops); in xfs_buf_read() 230 struct xfs_buftarg *target, in xfs_buf_readahead() argument 236 return xfs_buf_readahead_map(target, &map, 1, ops); in xfs_buf_readahead() [all …]
|
D | xfs_trans.h | 173 struct xfs_buftarg *target, 180 struct xfs_buftarg *target, in xfs_trans_get_buf() argument 186 return xfs_trans_get_buf_map(tp, target, &map, 1, flags); in xfs_trans_get_buf() 191 struct xfs_buftarg *target, 201 struct xfs_buftarg *target, in xfs_trans_read_buf() argument 209 return xfs_trans_read_buf_map(mp, tp, target, &map, 1, in xfs_trans_read_buf()
|
D | xfs_buf.c | 203 struct xfs_buftarg *target, in _xfs_buf_alloc() argument 230 bp->b_target = target; in _xfs_buf_alloc() 231 bp->b_mount = target->bt_mount; in _xfs_buf_alloc() 665 struct xfs_buftarg *target, in xfs_buf_incore() argument 674 error = xfs_buf_find(target, &map, 1, flags, NULL, &bp); in xfs_buf_incore() 687 struct xfs_buftarg *target, in xfs_buf_get_map() argument 696 error = xfs_buf_find(target, map, nmaps, flags, NULL, &bp); in xfs_buf_get_map() 718 new_bp = _xfs_buf_alloc(target, map, nmaps, flags); in xfs_buf_get_map() 728 error = xfs_buf_find(target, map, nmaps, flags, new_bp, &bp); in xfs_buf_get_map() 741 xfs_warn(target->bt_mount, in xfs_buf_get_map() [all …]
|
D | xfs_trans_buf.c | 25 struct xfs_buftarg *target, in xfs_trans_buf_item_match() argument 40 blip->bli_buf->b_target == target && in xfs_trans_buf_item_match() 118 struct xfs_buftarg *target, in xfs_trans_get_buf_map() argument 127 return xfs_buf_get_map(target, map, nmaps, flags); in xfs_trans_get_buf_map() 135 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_get_buf_map() 152 bp = xfs_buf_get_map(target, map, nmaps, flags); in xfs_trans_get_buf_map() 226 struct xfs_buftarg *target, in xfs_trans_read_buf_map() argument 247 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_read_buf_map() 301 bp = xfs_buf_read_map(target, map, nmaps, flags, ops); in xfs_trans_read_buf_map()
|
D | xfs_trans_ail.c | 370 xfs_lsn_t target; in xfsaild_push() local 394 target = ailp->ail_target; in xfsaild_push() 395 ailp->ail_target_prev = target; in xfsaild_push() 411 while ((XFS_LSN_CMP(lip->li_lsn, target) <= 0)) { in xfsaild_push() 494 if (!count || XFS_LSN_CMP(lsn, target) >= 0) { in xfsaild_push()
|
/fs/ |
D | dcache.c | 2730 static void swap_names(struct dentry *dentry, struct dentry *target) in swap_names() argument 2732 if (unlikely(dname_external(target))) { in swap_names() 2737 swap(target->d_name.name, dentry->d_name.name); in swap_names() 2743 memcpy(target->d_iname, dentry->d_name.name, in swap_names() 2745 dentry->d_name.name = target->d_name.name; in swap_names() 2746 target->d_name.name = target->d_iname; in swap_names() 2754 memcpy(dentry->d_iname, target->d_name.name, in swap_names() 2755 target->d_name.len + 1); in swap_names() 2756 target->d_name.name = dentry->d_name.name; in swap_names() 2766 ((long *) &target->d_iname)[i]); in swap_names() [all …]
|
D | fsopen.c | 161 struct path target; in SYSCALL_DEFINE3() local 181 ret = user_path_at(dfd, path, lookup_flags, &target); in SYSCALL_DEFINE3() 186 if (target.mnt->mnt_root != target.dentry) in SYSCALL_DEFINE3() 189 fc = fs_context_for_reconfigure(target.dentry, 0, 0); in SYSCALL_DEFINE3() 201 path_put(&target); in SYSCALL_DEFINE3() 207 path_put(&target); in SYSCALL_DEFINE3()
|
/fs/jffs2/ |
D | dir.c | 75 static struct dentry *jffs2_lookup(struct inode *dir_i, struct dentry *target, in jffs2_lookup() argument 86 if (target->d_name.len > JFFS2_MAX_NAME_LEN) in jffs2_lookup() 92 nhash = full_name_hash(NULL, target->d_name.name, target->d_name.len); in jffs2_lookup() 100 strlen(fd_list->name) == target->d_name.len && in jffs2_lookup() 101 !strncmp(fd_list->name, target->d_name.name, target->d_name.len)) { in jffs2_lookup() 114 return d_splice_alias(inode, target); in jffs2_lookup() 279 static int jffs2_symlink (struct inode *dir_i, struct dentry *dentry, const char *target) in jffs2_symlink() argument 290 int ret, targetlen = strlen(target); in jffs2_symlink() 334 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink() 337 fn = jffs2_write_dnode(c, f, ri, target, targetlen, ALLOC_NORMAL); in jffs2_symlink() [all …]
|
D | jffs2_fs_i.h | 46 unsigned char *target; member
|
D | readinode.c | 1255 f->target = kmalloc(csize + 1, GFP_KERNEL); in jffs2_do_read_inode_internal() 1256 if (!f->target) { in jffs2_do_read_inode_internal() 1262 csize, &retlen, (char *)f->target); in jffs2_do_read_inode_internal() 1267 kfree(f->target); in jffs2_do_read_inode_internal() 1268 f->target = NULL; in jffs2_do_read_inode_internal() 1272 f->target[csize] = '\0'; in jffs2_do_read_inode_internal() 1273 dbg_readinode("symlink's target '%s' cached\n", f->target); in jffs2_do_read_inode_internal()
|
/fs/configfs/ |
D | symlink.c | 59 struct config_item *target, char *path) in configfs_get_target_path() argument 65 size = item_path_length(target) + depth * 3 - 1; in configfs_get_target_path() 74 fill_item_path(target, path, size); in configfs_get_target_path() 120 struct config_item **target, struct super_block *sb) in get_target() argument 127 *target = configfs_get_config_item(path->dentry); in get_target() 128 if (!*target) { in get_target()
|
D | dir.c | 354 int configfs_create_link(struct configfs_dirent *target, struct dentry *parent, in configfs_create_link() argument 362 err = configfs_make_dirent(p, dentry, target, mode, CONFIGFS_ITEM_LINK, in configfs_create_link() 1051 struct config_item *target) in configfs_depend_prep() argument 1059 if (sd->s_element == target) /* Boo-yah */ in configfs_depend_prep() 1067 target); in configfs_depend_prep() 1081 struct config_item *target) in configfs_do_depend_item() argument 1088 ret = configfs_depend_prep(subsys_dentry, target); in configfs_do_depend_item() 1096 p = target->ci_dentry->d_fsdata; in configfs_do_depend_item() 1125 struct config_item *target) in configfs_depend_item() argument 1154 ret = configfs_do_depend_item(subsys_sd->s_dentry, target); in configfs_depend_item() [all …]
|
/fs/squashfs/ |
D | xattr.c | 116 char *target = kmalloc(name_len, GFP_KERNEL); in squashfs_xattr_get() local 118 if (target == NULL) in squashfs_xattr_get() 137 err = squashfs_read_metadata(sb, target, &start, in squashfs_xattr_get() 146 strncmp(target, name, name_size) == 0) { in squashfs_xattr_get() 198 kfree(target); in squashfs_xattr_get()
|
/fs/btrfs/ |
D | block-rsv.c | 187 struct btrfs_block_rsv *target = NULL; in __btrfs_block_rsv_release() local 194 target = global_rsv; in __btrfs_block_rsv_release() 196 target = delayed_rsv; in __btrfs_block_rsv_release() 198 if (target && block_rsv->space_info != target->space_info) in __btrfs_block_rsv_release() 199 target = NULL; in __btrfs_block_rsv_release() 201 return block_rsv_release_bytes(fs_info, block_rsv, target, num_bytes, in __btrfs_block_rsv_release()
|
/fs/nfs/ |
D | client.c | 826 void nfs_server_copy_userdata(struct nfs_server *target, struct nfs_server *source) in nfs_server_copy_userdata() argument 828 target->flags = source->flags; in nfs_server_copy_userdata() 829 target->rsize = source->rsize; in nfs_server_copy_userdata() 830 target->wsize = source->wsize; in nfs_server_copy_userdata() 831 target->acregmin = source->acregmin; in nfs_server_copy_userdata() 832 target->acregmax = source->acregmax; in nfs_server_copy_userdata() 833 target->acdirmin = source->acdirmin; in nfs_server_copy_userdata() 834 target->acdirmax = source->acdirmax; in nfs_server_copy_userdata() 835 target->caps = source->caps; in nfs_server_copy_userdata() 836 target->options = source->options; in nfs_server_copy_userdata() [all …]
|
/fs/crypto/ |
D | hooks.c | 168 int __fscrypt_encrypt_symlink(struct inode *inode, const char *target, in __fscrypt_encrypt_symlink() argument 172 struct qstr iname = QSTR_INIT(target, len); in __fscrypt_encrypt_symlink() 204 inode->i_link = kmemdup(target, len + 1, GFP_NOFS); in __fscrypt_encrypt_symlink()
|
/fs/gfs2/ |
D | glock.c | 60 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target); 543 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) in do_xmote() argument 553 target != LM_ST_UNLOCKED) in do_xmote() 557 GLOCK_BUG_ON(gl, gl->gl_state == target); in do_xmote() 559 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) && in do_xmote() 564 gl->gl_req = target; in do_xmote() 574 glops->go_inval(gl, target == LM_ST_DEFERRED ? 0 : DIO_METADATA); in do_xmote() 580 ret = sdp->sd_lockstruct.ls_ops->lm_lock(gl, target, lck_flags); in do_xmote() 582 target == LM_ST_UNLOCKED && in do_xmote() 584 finish_xmote(gl, target); in do_xmote() [all …]
|
/fs/nilfs2/ |
D | alloc.c | 381 unsigned long target, in nilfs_palloc_find_available_slot() argument 387 if (likely(target < bsize)) { in nilfs_palloc_find_available_slot() 388 pos = target; in nilfs_palloc_find_available_slot() 397 end = target; in nilfs_palloc_find_available_slot()
|