/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | hmdfs_dentryfile.c | 126 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in hmdfs_get_root_dentry_type() local 129 switch (d_info->dentry_type) { in hmdfs_get_root_dentry_type() 146 hmdfs_info("Unexpected dentry type %d", d_info->dentry_type); in hmdfs_get_root_dentry_type() 1411 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in get_cloud_cache_file() local 1489 mutex_lock(&d_info->cache_pull_lock); in get_cloud_cache_file() 1491 mutex_unlock(&d_info->cache_pull_lock); in get_cloud_cache_file() 2140 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in get_remote_dentry_file() local 2157 mutex_lock(&d_info->cache_pull_lock); in get_remote_dentry_file() 2189 mutex_unlock(&d_info->cache_pull_lock); in get_remote_dentry_file() 2212 struct hmdfs_dentry_info *d_info in hmdfs_find_cache_item() local 2234 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); hmdfs_cache_revalidate() local 2280 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); hmdfs_remove_cache_filp() local 2304 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); hmdfs_add_cache_list() local 2330 struct hmdfs_dentry_info *d_info = NULL; hmdfs_add_remote_cache_list() local 2383 struct hmdfs_dentry_info *d_info = NULL; hmdfs_drop_remote_cache_dents() local 2438 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); hmdfs_clear_cache_dents() local 2474 struct hmdfs_dentry_info *d_info = NULL; hmdfs_mark_drop_flag() local 2495 struct hmdfs_dentry_info *d_info = NULL; hmdfs_clear_drop_flag() local [all...] |
H A D | dentry.c | 20 struct hmdfs_dentry_info *d_info = dentry->d_fsdata; in hmdfs_set_time() local 22 if (d_info) in hmdfs_set_time() 23 d_info->time = time; in hmdfs_set_time() 28 struct hmdfs_dentry_info *d_info = dentry->d_fsdata; in hmdfs_get_time() local 30 if (d_info) in hmdfs_get_time() 31 return (unsigned long)d_info->time; in hmdfs_get_time()
|
H A D | hmdfs_dentryfile.h | 210 struct hmdfs_dentry_info *d_info; member
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | hmdfs_dentryfile.c | 127 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in hmdfs_get_root_dentry_type() local 130 switch (d_info->dentry_type) { in hmdfs_get_root_dentry_type() 147 hmdfs_info("Unexpected dentry type %d", d_info->dentry_type); in hmdfs_get_root_dentry_type() 1412 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in get_cloud_cache_file() local 1490 mutex_lock(&d_info->cache_pull_lock); in get_cloud_cache_file() 1492 mutex_unlock(&d_info->cache_pull_lock); in get_cloud_cache_file() 2141 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in get_remote_dentry_file() local 2158 mutex_lock(&d_info->cache_pull_lock); in get_remote_dentry_file() 2190 mutex_unlock(&d_info->cache_pull_lock); in get_remote_dentry_file() 2213 struct hmdfs_dentry_info *d_info in hmdfs_find_cache_item() local 2235 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); hmdfs_cache_revalidate() local 2281 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); hmdfs_remove_cache_filp() local 2305 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); hmdfs_add_cache_list() local 2331 struct hmdfs_dentry_info *d_info = NULL; hmdfs_add_remote_cache_list() local 2384 struct hmdfs_dentry_info *d_info = NULL; hmdfs_drop_remote_cache_dents() local 2439 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); hmdfs_clear_cache_dents() local 2475 struct hmdfs_dentry_info *d_info = NULL; hmdfs_mark_drop_flag() local 2496 struct hmdfs_dentry_info *d_info = NULL; hmdfs_clear_drop_flag() local [all...] |
H A D | dentry.c | 20 struct hmdfs_dentry_info *d_info = dentry->d_fsdata; in hmdfs_set_time() local 22 if (d_info) in hmdfs_set_time() 23 d_info->time = time; in hmdfs_set_time() 28 struct hmdfs_dentry_info *d_info = dentry->d_fsdata; in hmdfs_get_time() local 30 if (d_info) in hmdfs_get_time() 31 return (unsigned long)d_info->time; in hmdfs_get_time()
|
H A D | hmdfs_dentryfile.h | 210 struct hmdfs_dentry_info *d_info; member
|
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | smb2pdu.c | 3495 static int dentry_name(struct ksmbd_dir_info *d_info, int info_level) in dentry_name() argument 3502 ffdinfo = (struct file_full_directory_info *)d_info->rptr; in dentry_name() 3503 d_info->rptr += le32_to_cpu(ffdinfo->NextEntryOffset); in dentry_name() 3504 d_info->name = ffdinfo->FileName; in dentry_name() 3505 d_info->name_len = le32_to_cpu(ffdinfo->FileNameLength); in dentry_name() 3512 fbdinfo = (struct file_both_directory_info *)d_info->rptr; in dentry_name() 3513 d_info->rptr += le32_to_cpu(fbdinfo->NextEntryOffset); in dentry_name() 3514 d_info->name = fbdinfo->FileName; in dentry_name() 3515 d_info->name_len = le32_to_cpu(fbdinfo->FileNameLength); in dentry_name() 3522 fdinfo = (struct file_directory_info *)d_info in dentry_name() 3586 smb2_populate_readdir_entry(struct ksmbd_conn *conn, int info_level, struct ksmbd_dir_info *d_info, struct ksmbd_kstat *ksmbd_kstat) smb2_populate_readdir_entry() argument 3779 struct ksmbd_dir_info *d_info; global() member 3848 reserve_populate_dentry(struct ksmbd_dir_info *d_info, int info_level) reserve_populate_dentry() argument 3960 struct ksmbd_dir_info *d_info; __query_dir() local 4035 struct ksmbd_dir_info d_info; smb2_query_dir() local [all...] |
H A D | smb_common.c | 427 struct ksmbd_dir_info *d_info, in ksmbd_populate_dot_dotdot_entries() 444 d_info->name = "."; in ksmbd_populate_dot_dotdot_entries() 445 d_info->name_len = 1; in ksmbd_populate_dot_dotdot_entries() 448 d_info->name = ".."; in ksmbd_populate_dot_dotdot_entries() 449 d_info->name_len = 2; in ksmbd_populate_dot_dotdot_entries() 453 if (!match_pattern(d_info->name, d_info->name_len, in ksmbd_populate_dot_dotdot_entries() 464 rc = fn(conn, info_level, d_info, &ksmbd_kstat); in ksmbd_populate_dot_dotdot_entries() 467 if (d_info->out_buf_len <= 0) in ksmbd_populate_dot_dotdot_entries() 471 if (d_info in ksmbd_populate_dot_dotdot_entries() 425 ksmbd_populate_dot_dotdot_entries(struct ksmbd_work *work, int info_level, struct ksmbd_file *dir, struct ksmbd_dir_info *d_info, char *search_pattern, int (*fn)(struct ksmbd_conn *, int, struct ksmbd_dir_info *, struct ksmbd_kstat *)) ksmbd_populate_dot_dotdot_entries() argument [all...] |
H A D | misc.c | 312 char *ksmbd_convert_dir_info_name(struct ksmbd_dir_info *d_info, in ksmbd_convert_dir_info_name() argument 317 int sz = min(4 * d_info->name_len, PATH_MAX); in ksmbd_convert_dir_info_name() 327 *conv_len = smbConvertToUTF16((__le16 *)conv, d_info->name, in ksmbd_convert_dir_info_name() 328 d_info->name_len, local_nls, 0); in ksmbd_convert_dir_info_name()
|
H A D | misc.h | 29 char *ksmbd_convert_dir_info_name(struct ksmbd_dir_info *d_info,
|
H A D | smb_common.h | 436 struct ksmbd_dir_info *d_info,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
H A D | cmd_parser.c | 641 const struct decode_info *d_info; in get_opcode() local 643 d_info = ring_decode_info[engine->id][CMD_TYPE(cmd)]; in get_opcode() 644 if (d_info == NULL) in get_opcode() 647 return cmd >> (32 - d_info->op_len); in get_opcode() 684 const struct decode_info *d_info; in print_opcode() local 687 d_info = ring_decode_info[engine->id][CMD_TYPE(cmd)]; in print_opcode() 688 if (d_info == NULL) in print_opcode() 692 cmd >> (32 - d_info->op_len), d_info->name); in print_opcode() 694 for (i = 0; i < d_info in print_opcode() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
H A D | cmd_parser.c | 655 const struct decode_info *d_info; in get_opcode() local 657 d_info = ring_decode_info[engine->id][CMD_TYPE(cmd)]; in get_opcode() 658 if (d_info == NULL) in get_opcode() 661 return cmd >> (32 - d_info->op_len); in get_opcode() 698 const struct decode_info *d_info; in print_opcode() local 701 d_info = ring_decode_info[engine->id][CMD_TYPE(cmd)]; in print_opcode() 702 if (d_info == NULL) in print_opcode() 706 cmd >> (32 - d_info->op_len), d_info->name); in print_opcode() 708 for (i = 0; i < d_info in print_opcode() [all...] |