Searched refs:d_info (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/fs/ksmbd/ |
D | smb_common.c | 302 struct ksmbd_dir_info *d_info, in ksmbd_populate_dot_dotdot_entries() argument 319 d_info->name = "."; in ksmbd_populate_dot_dotdot_entries() 320 d_info->name_len = 1; in ksmbd_populate_dot_dotdot_entries() 323 d_info->name = ".."; in ksmbd_populate_dot_dotdot_entries() 324 d_info->name_len = 2; in ksmbd_populate_dot_dotdot_entries() 328 if (!match_pattern(d_info->name, d_info->name_len, in ksmbd_populate_dot_dotdot_entries() 339 rc = fn(conn, info_level, d_info, &ksmbd_kstat); in ksmbd_populate_dot_dotdot_entries() 342 if (d_info->out_buf_len <= 0) in ksmbd_populate_dot_dotdot_entries() 346 if (d_info->flags & SMB2_RETURN_SINGLE_ENTRY) { in ksmbd_populate_dot_dotdot_entries() 347 d_info->out_buf_len = 0; in ksmbd_populate_dot_dotdot_entries()
|
D | smb2pdu.c | 3331 static int dentry_name(struct ksmbd_dir_info *d_info, int info_level) in dentry_name() argument 3338 ffdinfo = (struct file_full_directory_info *)d_info->rptr; in dentry_name() 3339 d_info->rptr += le32_to_cpu(ffdinfo->NextEntryOffset); in dentry_name() 3340 d_info->name = ffdinfo->FileName; in dentry_name() 3341 d_info->name_len = le32_to_cpu(ffdinfo->FileNameLength); in dentry_name() 3348 fbdinfo = (struct file_both_directory_info *)d_info->rptr; in dentry_name() 3349 d_info->rptr += le32_to_cpu(fbdinfo->NextEntryOffset); in dentry_name() 3350 d_info->name = fbdinfo->FileName; in dentry_name() 3351 d_info->name_len = le32_to_cpu(fbdinfo->FileNameLength); in dentry_name() 3358 fdinfo = (struct file_directory_info *)d_info->rptr; in dentry_name() [all …]
|
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()
|
D | misc.h | 29 char *ksmbd_convert_dir_info_name(struct ksmbd_dir_info *d_info,
|
D | smb_common.h | 450 struct ksmbd_dir_info *d_info,
|
/linux-6.1.9/drivers/gpu/drm/i915/gvt/ |
D | cmd_parser.c | 653 const struct decode_info *d_info; in get_opcode() local 655 d_info = ring_decode_info[engine->id][CMD_TYPE(cmd)]; in get_opcode() 656 if (d_info == NULL) in get_opcode() 659 return cmd >> (32 - d_info->op_len); in get_opcode() 696 const struct decode_info *d_info; in print_opcode() local 699 d_info = ring_decode_info[engine->id][CMD_TYPE(cmd)]; in print_opcode() 700 if (d_info == NULL) in print_opcode() 704 cmd >> (32 - d_info->op_len), d_info->name); in print_opcode() 706 for (i = 0; i < d_info->nr_sub_op; i++) in print_opcode() 707 pr_err("0x%x ", sub_op_val(cmd, d_info->sub_op[i].hi, in print_opcode() [all …]
|