/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 …]
|
D | misc.c | 1101 char *target, *tip = NULL; in match_target_ip() local 1106 target = kzalloc(share_len + 3, GFP_KERNEL); in match_target_ip() 1107 if (!target) { in match_target_ip() 1112 scnprintf(target, share_len + 3, "\\\\%.*s", (int)share_len, share); in match_target_ip() 1114 cifs_dbg(FYI, "%s: target name: %s\n", __func__, target + 2); in match_target_ip() 1116 rc = dns_resolve_server_name_to_ip(target, &tip); in match_target_ip() 1135 kfree(target); in match_target_ip()
|
/fs/ocfs2/dlm/ |
D | dlmthread.c | 345 struct dlm_lock *lock, *target; in dlm_shuffle_lists() local 366 target = list_entry(res->converting.next, struct dlm_lock, list); in dlm_shuffle_lists() 367 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists() 373 if (lock==target) in dlm_shuffle_lists() 376 target->ml.convert_type)) { in dlm_shuffle_lists() 384 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists() 386 target->ml.convert_type; in dlm_shuffle_lists() 391 if (lock==target) in dlm_shuffle_lists() 394 target->ml.convert_type)) { in dlm_shuffle_lists() 400 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 2561 target); in dlm_migrate_lockres() 2585 namelen, target, dlm->node_num); in dlm_migrate_lockres() 2606 if (dlm_mark_lockres_migrating(dlm, res, target) < 0) { in dlm_migrate_lockres() 2609 res->lockname.name, target); in dlm_migrate_lockres() 2650 ret = dlm_send_one_lockres(dlm, res, mres, target, in dlm_migrate_lockres() 2655 target, ret); in dlm_migrate_lockres() 2665 dlm_wait_for_node_death(dlm, target, in dlm_migrate_lockres() 2689 res->owner == 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 | 383 struct kobject *target, const char *link_name) in sysfs_add_link_to_group() argument 392 error = sysfs_create_link_sd(parent, target, link_name); in sysfs_add_link_to_group() 432 struct kernfs_node *target; in compat_only_sysfs_link_entry_to_kobj() local 442 target = target_kobj->sd; in compat_only_sysfs_link_entry_to_kobj() 443 if (target) in compat_only_sysfs_link_entry_to_kobj() 444 kernfs_get(target); in compat_only_sysfs_link_entry_to_kobj() 446 if (!target) in compat_only_sysfs_link_entry_to_kobj() 451 kernfs_put(target); in compat_only_sysfs_link_entry_to_kobj() 463 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 | 196 struct xfs_buf *xfs_buf_incore(struct xfs_buftarg *target, 200 int xfs_buf_get_map(struct xfs_buftarg *target, struct xfs_buf_map *map, 202 int xfs_buf_read_map(struct xfs_buftarg *target, struct xfs_buf_map *map, 205 void xfs_buf_readahead_map(struct xfs_buftarg *target, 211 struct xfs_buftarg *target, in xfs_buf_get() argument 218 return xfs_buf_get_map(target, &map, 1, 0, bpp); in xfs_buf_get() 223 struct xfs_buftarg *target, in xfs_buf_read() argument 232 return xfs_buf_read_map(target, &map, 1, flags, bpp, ops, in xfs_buf_read() 238 struct xfs_buftarg *target, in xfs_buf_readahead() argument 244 return xfs_buf_readahead_map(target, &map, 1, ops); in xfs_buf_readahead() [all …]
|
D | xfs_trans.h | 188 int xfs_trans_get_buf_map(struct xfs_trans *tp, struct xfs_buftarg *target, 195 struct xfs_buftarg *target, in xfs_trans_get_buf() argument 202 return xfs_trans_get_buf_map(tp, target, &map, 1, flags, bpp); in xfs_trans_get_buf() 207 struct xfs_buftarg *target, 217 struct xfs_buftarg *target, in xfs_trans_read_buf() argument 225 return xfs_trans_read_buf_map(mp, tp, target, &map, 1, in xfs_trans_read_buf()
|
D | xfs_buf.c | 215 struct xfs_buftarg *target, in _xfs_buf_alloc() argument 242 bp->b_target = target; in _xfs_buf_alloc() 243 bp->b_mount = target->bt_mount; in _xfs_buf_alloc() 680 struct xfs_buftarg *target, in xfs_buf_incore() argument 689 error = xfs_buf_find(target, &map, 1, flags, NULL, &bp); in xfs_buf_incore() 702 struct xfs_buftarg *target, in xfs_buf_get_map() argument 713 error = xfs_buf_find(target, map, nmaps, flags, NULL, &bp); in xfs_buf_get_map() 719 error = _xfs_buf_alloc(target, map, nmaps, flags, &new_bp); in xfs_buf_get_map() 729 error = xfs_buf_find(target, map, nmaps, flags, new_bp, &bp); in xfs_buf_get_map() 742 xfs_warn_ratelimited(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 130 return xfs_buf_get_map(target, map, nmaps, flags, bpp); in xfs_trans_get_buf_map() 138 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_get_buf_map() 156 error = xfs_buf_get_map(target, map, nmaps, flags, &bp); in xfs_trans_get_buf_map() 214 struct xfs_buftarg *target, in xfs_trans_read_buf_map() argument 235 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_read_buf_map() 289 error = xfs_buf_read_map(target, map, nmaps, flags, &bp, ops, in xfs_trans_read_buf_map()
|
D | xfs_trans_ail.c | 424 xfs_lsn_t target; in xfsaild_push() local 448 target = ailp->ail_target; in xfsaild_push() 449 ailp->ail_target_prev = target; in xfsaild_push() 459 while ((XFS_LSN_CMP(lip->li_lsn, target) <= 0)) { in xfsaild_push() 544 if (!count || XFS_LSN_CMP(lsn, target) >= 0) { in xfsaild_push()
|
/fs/ |
D | dcache.c | 2752 static void swap_names(struct dentry *dentry, struct dentry *target) in swap_names() argument 2754 if (unlikely(dname_external(target))) { in swap_names() 2759 swap(target->d_name.name, dentry->d_name.name); in swap_names() 2765 memcpy(target->d_iname, dentry->d_name.name, in swap_names() 2767 dentry->d_name.name = target->d_name.name; in swap_names() 2768 target->d_name.name = target->d_iname; in swap_names() 2776 memcpy(dentry->d_iname, target->d_name.name, in swap_names() 2777 target->d_name.len + 1); in swap_names() 2778 target->d_name.name = dentry->d_name.name; in swap_names() 2788 ((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
|
/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 | 363 int configfs_create_link(struct configfs_dirent *target, struct dentry *parent, in configfs_create_link() argument 371 err = configfs_make_dirent(p, dentry, target, mode, CONFIGFS_ITEM_LINK, in configfs_create_link() 1061 struct config_item *target) in configfs_depend_prep() argument 1069 if (sd->s_element == target) /* Boo-yah */ in configfs_depend_prep() 1077 target); in configfs_depend_prep() 1091 struct config_item *target) in configfs_do_depend_item() argument 1098 ret = configfs_depend_prep(subsys_dentry, target); in configfs_do_depend_item() 1106 p = target->ci_dentry->d_fsdata; in configfs_do_depend_item() 1135 struct config_item *target) in configfs_depend_item() argument 1164 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 | 281 struct btrfs_block_rsv *target = NULL; in btrfs_block_rsv_release() local 288 target = global_rsv; in btrfs_block_rsv_release() 290 target = delayed_rsv; in btrfs_block_rsv_release() 292 if (target && block_rsv->space_info != target->space_info) in btrfs_block_rsv_release() 293 target = NULL; in btrfs_block_rsv_release() 295 return block_rsv_release_bytes(fs_info, block_rsv, target, num_bytes, in btrfs_block_rsv_release()
|
/fs/crypto/ |
D | hooks.c | 193 int fscrypt_prepare_symlink(struct inode *dir, const char *target, in fscrypt_prepare_symlink() argument 207 disk_link->name = (unsigned char *)target; in fscrypt_prepare_symlink() 238 int __fscrypt_encrypt_symlink(struct inode *inode, const char *target, in __fscrypt_encrypt_symlink() argument 242 struct qstr iname = QSTR_INIT(target, len); in __fscrypt_encrypt_symlink() 279 inode->i_link = kmemdup(target, len + 1, GFP_NOFS); in __fscrypt_encrypt_symlink()
|
/fs/nfs/ |
D | client.c | 860 void nfs_server_copy_userdata(struct nfs_server *target, struct nfs_server *source) in nfs_server_copy_userdata() argument 862 target->flags = source->flags; in nfs_server_copy_userdata() 863 target->rsize = source->rsize; in nfs_server_copy_userdata() 864 target->wsize = source->wsize; in nfs_server_copy_userdata() 865 target->acregmin = source->acregmin; in nfs_server_copy_userdata() 866 target->acregmax = source->acregmax; in nfs_server_copy_userdata() 867 target->acdirmin = source->acdirmin; in nfs_server_copy_userdata() 868 target->acdirmax = source->acdirmax; in nfs_server_copy_userdata() 869 target->caps = source->caps; in nfs_server_copy_userdata() 870 target->options = source->options; in nfs_server_copy_userdata() [all …]
|
/fs/gfs2/ |
D | glock.c | 60 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target); 590 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) in do_xmote() argument 599 if (target != LM_ST_UNLOCKED && glock_blocked_by_withdraw(gl) && in do_xmote() 604 GLOCK_BUG_ON(gl, gl->gl_state == target); in do_xmote() 606 if ((target == LM_ST_UNLOCKED || target == LM_ST_DEFERRED) && in do_xmote() 618 gl->gl_req = target; in do_xmote() 653 glops->go_inval(gl, target == LM_ST_DEFERRED ? 0 : DIO_METADATA); in do_xmote() 683 (target != LM_ST_UNLOCKED || in do_xmote() 695 ret = sdp->sd_lockstruct.ls_ops->lm_lock(gl, target, lck_flags); in do_xmote() 697 target == LM_ST_UNLOCKED && in do_xmote() [all …]
|
/fs/f2fs/ |
D | data.c | 597 struct page *target = bvec->bv_page; in __has_merged_page() local 599 if (fscrypt_is_bounce_page(target)) { in __has_merged_page() 600 target = fscrypt_pagecache_page(target); in __has_merged_page() 601 if (IS_ERR(target)) in __has_merged_page() 604 if (f2fs_is_compressed_page(target)) { in __has_merged_page() 605 target = f2fs_compress_control_page(target); in __has_merged_page() 606 if (IS_ERR(target)) in __has_merged_page() 610 if (inode && inode == target->mapping->host) in __has_merged_page() 612 if (page && page == target) in __has_merged_page() 614 if (ino && ino == ino_of_node(target)) in __has_merged_page() [all …]
|