| /linux-6.15/fs/smb/client/ |
| H A D | smb2file.c | 167 if (!(oparms->desired_access & FILE_READ_ATTRIBUTES) && in smb2_open_file() 168 !(oparms->desired_access & GENERIC_READ) && in smb2_open_file() 169 !(oparms->desired_access & GENERIC_EXECUTE) && in smb2_open_file() 170 !(oparms->desired_access & GENERIC_ALL) && in smb2_open_file() 171 !(oparms->desired_access & MAXIMUM_ALLOWED)) { in smb2_open_file() 172 oparms->desired_access |= FILE_READ_ATTRIBUTES; in smb2_open_file() 180 oparms->desired_access &= ~FILE_READ_ATTRIBUTES; in smb2_open_file()
|
| H A D | trace.h | 1018 int desired_access), 1026 __field(int, desired_access) 1034 __entry->desired_access = desired_access; 1048 int desired_access), \ 1059 int desired_access, 1067 __field(int, desired_access) 1075 __entry->desired_access = desired_access; 1089 int desired_access, \ 1102 int desired_access), 1118 __entry->desired_access = desired_access; [all …]
|
| H A D | dir.c | 183 int desired_access; local 279 desired_access = 0; 281 desired_access |= GENERIC_READ; /* is this too little? */ 283 desired_access |= GENERIC_WRITE; 285 desired_access |= GENERIC_READ; 318 .desired_access = desired_access, 329 desired_access &= ~GENERIC_READ;
|
| H A D | link.c | 266 .desired_access = GENERIC_READ, in cifs_query_mf_symlink() 309 .desired_access = GENERIC_WRITE, in cifs_create_mf_symlink() 353 .desired_access = GENERIC_READ, in smb3_query_mf_symlink() 421 .desired_access = GENERIC_WRITE, in smb3_create_mf_symlink()
|
| H A D | smb2ops.c | 864 .desired_access = FILE_READ_ATTRIBUTES, in smb3_qfs_tcon() 908 .desired_access = FILE_READ_ATTRIBUTES, in smb2_qfs_tcon() 956 .desired_access = FILE_READ_ATTRIBUTES, in smb2_is_path_accessible() 1251 .desired_access = FILE_WRITE_EA, in smb2_set_ea() 1631 oparms.desired_access = GENERIC_ALL; in smb2_ioctl_query_info() 1634 oparms.desired_access = GENERIC_READ; in smb2_ioctl_query_info() 1637 oparms.desired_access = GENERIC_WRITE; in smb2_ioctl_query_info() 1641 oparms.desired_access = GENERIC_WRITE; in smb2_ioctl_query_info() 2722 .desired_access = desired_access, in smb2_query_info_compound() 3102 .desired_access = READ_CONTROL, in get_smb2_acl_by_path() [all …]
|
| H A D | file.c | 533 int desired_access; in cifs_nt_open() local 547 desired_access = cifs_convert_flags(f_flags, rdwr_for_fscache); in cifs_nt_open() 588 .desired_access = desired_access, in cifs_nt_open() 598 desired_access = cifs_convert_flags(f_flags, 0); in cifs_nt_open() 1163 int desired_access; in cifs_reopen_file() local 1235 desired_access = cifs_convert_flags(cfile->f_flags, rdwr_for_fscache); in cifs_reopen_file() 1251 .desired_access = desired_access, in cifs_reopen_file() 1274 desired_access = cifs_convert_flags(cfile->f_flags, 0); in cifs_reopen_file()
|
| H A D | cifsacl.c | 1461 .desired_access = READ_CONTROL, in get_cifs_acl_by_path() 1469 oparms.desired_access |= SYSTEM_SECURITY; in get_cifs_acl_by_path() 1533 .desired_access = access_flags, in set_cifs_acl()
|
| H A D | smb2proto.h | 307 const char *path, u32 desired_access,
|
| H A D | smb1ops.c | 833 oparms->desired_access, in cifs_open_file() 974 .desired_access = SYNCHRONIZE | FILE_WRITE_ATTRIBUTES, in smb_set_file_info()
|
| H A D | cached_dir.c | 254 .desired_access = FILE_READ_DATA | FILE_READ_ATTRIBUTES | in open_cached_dir()
|
| H A D | cifsglob.h | 1436 int desired_access; member 2317 .desired_access = (_da), \
|
| H A D | cifssmb.c | 1190 int desired_access = oparms->desired_access; in CIFS_open() local 1225 req->DesiredAccess = cpu_to_le32(desired_access); in CIFS_open() 1274 oparms->fid->access = desired_access; in CIFS_open() 2737 .desired_access = FILE_READ_ATTRIBUTES, in cifs_query_reparse_point() 5374 .desired_access = GENERIC_WRITE, in CIFSSMBSetPathInfoFB()
|
| H A D | inode.c | 562 .desired_access = GENERIC_READ, in cifs_sfu_type() 1822 .desired_access = DELETE | FILE_WRITE_ATTRIBUTES, in cifs_rename_pending_delete() 2433 .desired_access = DELETE,
|
| H A D | smb2pdu.c | 3015 req->DesiredAccess = cpu_to_le32(oparms->desired_access); in SMB2_open_init() 3210 oparms->create_options, oparms->desired_access); in SMB2_open() 3229 oparms->create_options, oparms->desired_access, rc); in SMB2_open() 3240 oparms->create_options, oparms->desired_access); in SMB2_open() 3245 oparms->fid->access = oparms->desired_access; in SMB2_open()
|