Searched refs:smb_fname (Results 1 - 25 of 162) sorted by relevance

1234567

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/smbd/
H A Ddosmode.c81 const struct smb_filename *smb_fname,
97 smb_fname_str_dbg(smb_fname),
105 smb_fname_str_dbg(smb_fname),
112 smb_fname_str_dbg(smb_fname),
121 smb_fname_str_dbg(smb_fname), (int)dir_mode));
165 DEBUG(3,("unix_mode(%s) returning 0%o\n", smb_fname_str_dbg(smb_fname),
175 const struct smb_filename *smb_fname)
182 if ((smb_fname->st.st_ex_mode & S_IWUSR) == 0) {
187 if (!can_write_to_file(conn, smb_fname)) {
192 if (MAP_ARCHIVE(conn) && ((smb_fname
80 unix_mode(connection_struct *conn, int dosmode, const struct smb_filename *smb_fname, const char *inherit_from_dir) argument
174 dos_mode_from_sbuf(connection_struct *conn, const struct smb_filename *smb_fname) argument
224 get_ea_dos_attribute(connection_struct *conn, struct smb_filename *smb_fname, uint32 *pattr) argument
343 set_ea_dos_attribute(connection_struct *conn, struct smb_filename *smb_fname, uint32 dosmode) argument
437 dos_mode_msdfs(connection_struct *conn, const struct smb_filename *smb_fname) argument
521 get_stat_dos_flags(connection_struct *conn, const struct smb_filename *smb_fname, uint32_t *dosmode) argument
558 set_stat_dos_flags(connection_struct *conn, const struct smb_filename *smb_fname, uint32_t dosmode, bool *attributes_changed) argument
608 dos_mode(connection_struct *conn, struct smb_filename *smb_fname) argument
687 file_set_dosmode(connection_struct *conn, struct smb_filename *smb_fname, uint32 dosmode, const char *parent_dir, bool newfile) argument
850 file_ntimes(connection_struct *conn, const struct smb_filename *smb_fname, struct smb_file_time *ft) argument
950 struct smb_filename *smb_fname = NULL; local
986 get_create_timespec(connection_struct *conn, struct files_struct *fsp, const struct smb_filename *smb_fname) argument
997 get_change_timespec(connection_struct *conn, struct files_struct *fsp, const struct smb_filename *smb_fname) argument
[all...]
H A Dfilename.c32 struct smb_filename *smb_fname);
83 static NTSTATUS check_for_dot_component(const struct smb_filename *smb_fname) argument
88 const char *p = strstr(smb_fname->base_name, "/."); /*mb safe*/
138 struct smb_filename *smb_fname = NULL; local
153 smb_fname = talloc_zero(ctx, struct smb_filename);
154 if (smb_fname == NULL) {
161 if (!(smb_fname->base_name = talloc_strdup(smb_fname,
194 if (!(smb_fname->base_name = talloc_strdup(smb_fname, "
1026 build_stream_path(TALLOC_CTX *mem_ctx, connection_struct *conn, const char *orig_path, struct smb_filename *smb_fname) argument
[all...]
H A Dfilename_util.c28 const struct smb_filename *smb_fname,
31 if (smb_fname->stream_name) {
33 SMB_ASSERT(smb_fname->stream_name[0] != '\0');
35 *full_name = talloc_asprintf(ctx, "%s%s", smb_fname->base_name,
36 smb_fname->stream_name);
38 *full_name = talloc_strdup(ctx, smb_fname->base_name);
112 const char *smb_fname_str_dbg(const struct smb_filename *smb_fname) argument
117 if (smb_fname == NULL) {
120 status = get_full_smb_filename(talloc_tos(), smb_fname, &fname);
182 bool is_ntfs_stream_smb_fname(const struct smb_filename *smb_fname) argument
27 get_full_smb_filename(TALLOC_CTX *ctx, const struct smb_filename *smb_fname, char **full_name) argument
199 is_ntfs_default_stream_smb_fname(const struct smb_filename *smb_fname) argument
[all...]
H A Dfile_access.c30 const struct smb_filename *smb_fname,
43 status = SMB_VFS_GET_NT_ACL(conn, smb_fname->base_name,
68 struct smb_filename *smb_fname)
81 if (!parent_dirname(ctx, smb_fname->base_name, &dname, NULL)) {
113 if(SMB_VFS_STAT(conn, smb_fname) != 0) {
122 smb_fname_str_dbg(smb_fname),
138 (conn->server_info->utok.uid != smb_fname->st.st_ex_uid)) {
141 smb_fname_str_dbg(smb_fname),
174 const struct smb_filename *smb_fname,
185 (unsigned int)access_mask, smb_fname_str_dbg(smb_fname)));
29 can_access_file_acl(struct connection_struct *conn, const struct smb_filename *smb_fname, uint32_t access_mask) argument
67 can_delete_file_in_directory(connection_struct *conn, struct smb_filename *smb_fname) argument
173 can_access_file_data(connection_struct *conn, const struct smb_filename *smb_fname, uint32 access_mask) argument
227 can_write_to_file(connection_struct *conn, const struct smb_filename *smb_fname) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/smbd/
H A Ddosmode.c81 const struct smb_filename *smb_fname,
97 smb_fname_str_dbg(smb_fname),
105 smb_fname_str_dbg(smb_fname),
112 smb_fname_str_dbg(smb_fname),
121 smb_fname_str_dbg(smb_fname), (int)dir_mode));
165 DEBUG(3,("unix_mode(%s) returning 0%o\n", smb_fname_str_dbg(smb_fname),
175 const struct smb_filename *smb_fname)
182 if ((smb_fname->st.st_ex_mode & S_IWUSR) == 0) {
187 if (!can_write_to_file(conn, smb_fname)) {
192 if (MAP_ARCHIVE(conn) && ((smb_fname
80 unix_mode(connection_struct *conn, int dosmode, const struct smb_filename *smb_fname, const char *inherit_from_dir) argument
174 dos_mode_from_sbuf(connection_struct *conn, const struct smb_filename *smb_fname) argument
224 get_ea_dos_attribute(connection_struct *conn, struct smb_filename *smb_fname, uint32 *pattr) argument
343 set_ea_dos_attribute(connection_struct *conn, struct smb_filename *smb_fname, uint32 dosmode) argument
437 dos_mode_msdfs(connection_struct *conn, const struct smb_filename *smb_fname) argument
521 get_stat_dos_flags(connection_struct *conn, const struct smb_filename *smb_fname, uint32_t *dosmode) argument
558 set_stat_dos_flags(connection_struct *conn, const struct smb_filename *smb_fname, uint32_t dosmode, bool *attributes_changed) argument
608 dos_mode(connection_struct *conn, struct smb_filename *smb_fname) argument
687 file_set_dosmode(connection_struct *conn, struct smb_filename *smb_fname, uint32 dosmode, const char *parent_dir, bool newfile) argument
850 file_ntimes(connection_struct *conn, const struct smb_filename *smb_fname, struct smb_file_time *ft) argument
950 struct smb_filename *smb_fname = NULL; local
986 get_create_timespec(connection_struct *conn, struct files_struct *fsp, const struct smb_filename *smb_fname) argument
997 get_change_timespec(connection_struct *conn, struct files_struct *fsp, const struct smb_filename *smb_fname) argument
[all...]
H A Dfilename.c32 struct smb_filename *smb_fname);
83 static NTSTATUS check_for_dot_component(const struct smb_filename *smb_fname) argument
88 const char *p = strstr(smb_fname->base_name, "/."); /*mb safe*/
138 struct smb_filename *smb_fname = NULL; local
153 smb_fname = talloc_zero(ctx, struct smb_filename);
154 if (smb_fname == NULL) {
161 if (!(smb_fname->base_name = talloc_strdup(smb_fname,
194 if (!(smb_fname->base_name = talloc_strdup(smb_fname, "
1026 build_stream_path(TALLOC_CTX *mem_ctx, connection_struct *conn, const char *orig_path, struct smb_filename *smb_fname) argument
[all...]
H A Dfilename_util.c28 const struct smb_filename *smb_fname,
31 if (smb_fname->stream_name) {
33 SMB_ASSERT(smb_fname->stream_name[0] != '\0');
35 *full_name = talloc_asprintf(ctx, "%s%s", smb_fname->base_name,
36 smb_fname->stream_name);
38 *full_name = talloc_strdup(ctx, smb_fname->base_name);
112 const char *smb_fname_str_dbg(const struct smb_filename *smb_fname) argument
117 if (smb_fname == NULL) {
120 status = get_full_smb_filename(talloc_tos(), smb_fname, &fname);
182 bool is_ntfs_stream_smb_fname(const struct smb_filename *smb_fname) argument
27 get_full_smb_filename(TALLOC_CTX *ctx, const struct smb_filename *smb_fname, char **full_name) argument
199 is_ntfs_default_stream_smb_fname(const struct smb_filename *smb_fname) argument
[all...]
H A Dfile_access.c30 const struct smb_filename *smb_fname,
43 status = SMB_VFS_GET_NT_ACL(conn, smb_fname->base_name,
68 struct smb_filename *smb_fname)
81 if (!parent_dirname(ctx, smb_fname->base_name, &dname, NULL)) {
113 if(SMB_VFS_STAT(conn, smb_fname) != 0) {
122 smb_fname_str_dbg(smb_fname),
138 (conn->server_info->utok.uid != smb_fname->st.st_ex_uid)) {
141 smb_fname_str_dbg(smb_fname),
174 const struct smb_filename *smb_fname,
185 (unsigned int)access_mask, smb_fname_str_dbg(smb_fname)));
29 can_access_file_acl(struct connection_struct *conn, const struct smb_filename *smb_fname, uint32_t access_mask) argument
67 can_delete_file_in_directory(connection_struct *conn, struct smb_filename *smb_fname) argument
173 can_access_file_data(connection_struct *conn, const struct smb_filename *smb_fname, uint32 access_mask) argument
227 can_write_to_file(connection_struct *conn, const struct smb_filename *smb_fname) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/smbd/
H A Ddosmode.c81 const struct smb_filename *smb_fname,
97 smb_fname_str_dbg(smb_fname),
105 smb_fname_str_dbg(smb_fname),
112 smb_fname_str_dbg(smb_fname),
121 smb_fname_str_dbg(smb_fname), (int)dir_mode));
165 DEBUG(3,("unix_mode(%s) returning 0%o\n", smb_fname_str_dbg(smb_fname),
175 const struct smb_filename *smb_fname)
182 if ((smb_fname->st.st_ex_mode & S_IWUSR) == 0) {
187 if (!can_write_to_file(conn, smb_fname)) {
192 if (MAP_ARCHIVE(conn) && ((smb_fname
80 unix_mode(connection_struct *conn, int dosmode, const struct smb_filename *smb_fname, const char *inherit_from_dir) argument
174 dos_mode_from_sbuf(connection_struct *conn, const struct smb_filename *smb_fname) argument
224 get_ea_dos_attribute(connection_struct *conn, struct smb_filename *smb_fname, uint32 *pattr) argument
343 set_ea_dos_attribute(connection_struct *conn, struct smb_filename *smb_fname, uint32 dosmode) argument
437 dos_mode_msdfs(connection_struct *conn, const struct smb_filename *smb_fname) argument
521 get_stat_dos_flags(connection_struct *conn, const struct smb_filename *smb_fname, uint32_t *dosmode) argument
558 set_stat_dos_flags(connection_struct *conn, const struct smb_filename *smb_fname, uint32_t dosmode, bool *attributes_changed) argument
608 dos_mode(connection_struct *conn, struct smb_filename *smb_fname) argument
687 file_set_dosmode(connection_struct *conn, struct smb_filename *smb_fname, uint32 dosmode, const char *parent_dir, bool newfile) argument
850 file_ntimes(connection_struct *conn, const struct smb_filename *smb_fname, struct smb_file_time *ft) argument
950 struct smb_filename *smb_fname = NULL; local
986 get_create_timespec(connection_struct *conn, struct files_struct *fsp, const struct smb_filename *smb_fname) argument
997 get_change_timespec(connection_struct *conn, struct files_struct *fsp, const struct smb_filename *smb_fname) argument
[all...]
H A Dfilename.c32 struct smb_filename *smb_fname);
83 static NTSTATUS check_for_dot_component(const struct smb_filename *smb_fname) argument
88 const char *p = strstr(smb_fname->base_name, "/."); /*mb safe*/
138 struct smb_filename *smb_fname = NULL; local
153 smb_fname = talloc_zero(ctx, struct smb_filename);
154 if (smb_fname == NULL) {
161 if (!(smb_fname->base_name = talloc_strdup(smb_fname,
194 if (!(smb_fname->base_name = talloc_strdup(smb_fname, "
1026 build_stream_path(TALLOC_CTX *mem_ctx, connection_struct *conn, const char *orig_path, struct smb_filename *smb_fname) argument
[all...]
H A Dfilename_util.c28 const struct smb_filename *smb_fname,
31 if (smb_fname->stream_name) {
33 SMB_ASSERT(smb_fname->stream_name[0] != '\0');
35 *full_name = talloc_asprintf(ctx, "%s%s", smb_fname->base_name,
36 smb_fname->stream_name);
38 *full_name = talloc_strdup(ctx, smb_fname->base_name);
112 const char *smb_fname_str_dbg(const struct smb_filename *smb_fname) argument
117 if (smb_fname == NULL) {
120 status = get_full_smb_filename(talloc_tos(), smb_fname, &fname);
182 bool is_ntfs_stream_smb_fname(const struct smb_filename *smb_fname) argument
27 get_full_smb_filename(TALLOC_CTX *ctx, const struct smb_filename *smb_fname, char **full_name) argument
199 is_ntfs_default_stream_smb_fname(const struct smb_filename *smb_fname) argument
[all...]
H A Dfile_access.c30 const struct smb_filename *smb_fname,
43 status = SMB_VFS_GET_NT_ACL(conn, smb_fname->base_name,
68 struct smb_filename *smb_fname)
81 if (!parent_dirname(ctx, smb_fname->base_name, &dname, NULL)) {
113 if(SMB_VFS_STAT(conn, smb_fname) != 0) {
122 smb_fname_str_dbg(smb_fname),
138 (conn->server_info->utok.uid != smb_fname->st.st_ex_uid)) {
141 smb_fname_str_dbg(smb_fname),
174 const struct smb_filename *smb_fname,
185 (unsigned int)access_mask, smb_fname_str_dbg(smb_fname)));
29 can_access_file_acl(struct connection_struct *conn, const struct smb_filename *smb_fname, uint32_t access_mask) argument
67 can_delete_file_in_directory(connection_struct *conn, struct smb_filename *smb_fname) argument
173 can_access_file_data(connection_struct *conn, const struct smb_filename *smb_fname, uint32 access_mask) argument
227 can_write_to_file(connection_struct *conn, const struct smb_filename *smb_fname) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/modules/
H A Dvfs_fake_perms.c30 struct smb_filename *smb_fname)
34 ret = SMB_VFS_NEXT_STAT(handle, smb_fname);
36 if (S_ISDIR(smb_fname->st.st_ex_mode)) {
37 smb_fname->st.st_ex_mode = S_IFDIR | S_IRWXU;
39 smb_fname->st.st_ex_mode = S_IRWXU;
41 smb_fname->st.st_ex_uid = handle->conn->server_info->utok.uid;
42 smb_fname->st.st_ex_gid = handle->conn->server_info->utok.gid;
29 fake_perms_stat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
H A Dvfs_streams_depot.c121 const struct smb_filename *smb_fname,
156 smb_fname->base_name,
215 if (file_is_valid(handle, smb_fname->base_name, check_valid)) {
295 if (!mark_file_valid(handle, smb_fname->base_name, check_valid)) {
312 const struct smb_filename *smb_fname,
322 stype = strchr_m(smb_fname->stream_name + 1, ':');
330 dirname = stream_dir(handle, smb_fname, NULL, create_dir);
338 smb_fname->stream_name);
440 * Helper to stat/lstat the base file of an smb_fname. This will actually
444 struct smb_filename *smb_fname,
120 stream_dir(vfs_handle_struct *handle, const struct smb_filename *smb_fname, const SMB_STRUCT_STAT *base_sbuf, bool create_it) argument
311 stream_smb_fname(vfs_handle_struct *handle, const struct smb_filename *smb_fname, struct smb_filename **smb_fname_out, bool create_dir) argument
443 streams_depot_stat_base(vfs_handle_struct *handle, struct smb_filename *smb_fname, bool follow_links) argument
461 streams_depot_stat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
500 streams_depot_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
535 streams_depot_open(vfs_handle_struct *handle, struct smb_filename *smb_fname, files_struct *fsp, int flags, mode_t mode) argument
592 streams_depot_unlink(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
768 struct smb_filename *smb_fname = NULL; local
[all...]
H A Dvfs_recycle.c37 const struct smb_filename *smb_fname);
222 const struct smb_filename *smb_fname)
228 status = copy_smb_filename(talloc_tos(), smb_fname, &smb_fname_tmp);
250 const struct smb_filename *smb_fname)
256 status = copy_smb_filename(talloc_tos(), smb_fname, &smb_fname_tmp);
409 const struct smb_filename *smb_fname,
419 status = copy_smb_filename(talloc_tos(), smb_fname, &smb_fname_tmp);
450 const struct smb_filename *smb_fname)
480 smb_fname_str_dbg(smb_fname)));
481 rc = SMB_VFS_NEXT_UNLINK(handle, smb_fname);
221 recycle_file_exist(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
249 recycle_get_file_size(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
408 recycle_do_touch(vfs_handle_struct *handle, const struct smb_filename *smb_fname, bool touch_mtime) argument
449 recycle_unlink(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
[all...]
H A Dvfs_streams_xattr.c168 * Helper to stat/lstat the base file of an smb_fname.
171 struct smb_filename *smb_fname,
177 tmp_stream_name = smb_fname->stream_name;
178 smb_fname->stream_name = NULL;
180 result = SMB_VFS_NEXT_STAT(handle, smb_fname);
182 result = SMB_VFS_NEXT_LSTAT(handle, smb_fname);
184 smb_fname->stream_name = tmp_stream_name;
246 struct smb_filename *smb_fname)
252 if (!is_ntfs_stream_smb_fname(smb_fname)) {
253 return SMB_VFS_NEXT_STAT(handle, smb_fname);
170 streams_xattr_stat_base(vfs_handle_struct *handle, struct smb_filename *smb_fname, bool follow_links) argument
245 streams_xattr_stat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
301 streams_xattr_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
353 streams_xattr_open(vfs_handle_struct *handle, struct smb_filename *smb_fname, files_struct *fsp, int flags, mode_t mode) argument
536 streams_xattr_unlink(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
791 struct smb_filename *smb_fname = NULL; local
[all...]
H A Donefs_open.c49 struct smb_filename *smb_fname,
71 struct smb_filename *smb_fname,
88 bool file_existed = VALID_STAT(smb_fname->st);
111 smb_fname_str_dbg(smb_fname)));
137 "open for file %s\n", smb_fname_str_dbg(smb_fname)));
148 if (file_existed && S_ISFIFO(smb_fname->st.st_ex_mode)) {
161 wild = smb_fname->base_name;
174 smb_fname_str_dbg(smb_fname)));
190 /* Setup a onefs-style smb_fname struct. */
191 status = onefs_stream_prep_smb_fname(talloc_tos(), smb_fname,
67 onefs_open_file(files_struct *fsp, connection_struct *conn, struct smb_request *req, const char *parent_dir, struct smb_filename *smb_fname, int flags, mode_t unx_mode, uint32 access_mask, uint32 open_access_mask, int oplock_request, uint64 id, uint32 share_access, uint32 create_options, uint32_t new_dos_attributes, struct security_descriptor *sd, int *granted_oplock) argument
432 onefs_open_file_ntcreate(connection_struct *conn, struct smb_request *req, struct smb_filename *smb_fname, uint32 access_mask, uint32 share_access, uint32 create_disposition, uint32 create_options, uint32 new_dos_attributes, int oplock_request, struct security_descriptor *sd, files_struct *fsp, int *pinfo, struct onefs_fsp_data *fsp_data) argument
1711 onefs_create_file_unixpath(connection_struct *conn, struct smb_request *req, struct smb_filename *smb_fname, uint32_t access_mask, uint32_t share_access, uint32_t create_disposition, uint32_t create_options, uint32_t file_attributes, uint32_t oplock_request, uint64_t allocation_size, struct security_descriptor *sd, struct ea_list *ea_list, files_struct **result, int *pinfo, struct onefs_fsp_data *fsp_data) argument
2058 onefs_create_file(vfs_handle_struct *handle, struct smb_request *req, uint16_t root_dir_fid, struct smb_filename *smb_fname, uint32_t access_mask, uint32_t share_access, uint32_t create_disposition, uint32_t create_options, uint32_t file_attributes, uint32_t oplock_request, uint64_t allocation_size, struct security_descriptor *sd, struct ea_list *ea_list, files_struct **result, int *pinfo) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/modules/
H A Dvfs_fake_perms.c30 struct smb_filename *smb_fname)
34 ret = SMB_VFS_NEXT_STAT(handle, smb_fname);
36 if (S_ISDIR(smb_fname->st.st_ex_mode)) {
37 smb_fname->st.st_ex_mode = S_IFDIR | S_IRWXU;
39 smb_fname->st.st_ex_mode = S_IRWXU;
41 smb_fname->st.st_ex_uid = handle->conn->server_info->utok.uid;
42 smb_fname->st.st_ex_gid = handle->conn->server_info->utok.gid;
29 fake_perms_stat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
H A Dvfs_streams_depot.c121 const struct smb_filename *smb_fname,
156 smb_fname->base_name,
215 if (file_is_valid(handle, smb_fname->base_name, check_valid)) {
295 if (!mark_file_valid(handle, smb_fname->base_name, check_valid)) {
312 const struct smb_filename *smb_fname,
322 stype = strchr_m(smb_fname->stream_name + 1, ':');
330 dirname = stream_dir(handle, smb_fname, NULL, create_dir);
338 smb_fname->stream_name);
440 * Helper to stat/lstat the base file of an smb_fname. This will actually
444 struct smb_filename *smb_fname,
120 stream_dir(vfs_handle_struct *handle, const struct smb_filename *smb_fname, const SMB_STRUCT_STAT *base_sbuf, bool create_it) argument
311 stream_smb_fname(vfs_handle_struct *handle, const struct smb_filename *smb_fname, struct smb_filename **smb_fname_out, bool create_dir) argument
443 streams_depot_stat_base(vfs_handle_struct *handle, struct smb_filename *smb_fname, bool follow_links) argument
461 streams_depot_stat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
500 streams_depot_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
535 streams_depot_open(vfs_handle_struct *handle, struct smb_filename *smb_fname, files_struct *fsp, int flags, mode_t mode) argument
592 streams_depot_unlink(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
768 struct smb_filename *smb_fname = NULL; local
[all...]
H A Dvfs_recycle.c37 const struct smb_filename *smb_fname);
222 const struct smb_filename *smb_fname)
228 status = copy_smb_filename(talloc_tos(), smb_fname, &smb_fname_tmp);
250 const struct smb_filename *smb_fname)
256 status = copy_smb_filename(talloc_tos(), smb_fname, &smb_fname_tmp);
409 const struct smb_filename *smb_fname,
419 status = copy_smb_filename(talloc_tos(), smb_fname, &smb_fname_tmp);
450 const struct smb_filename *smb_fname)
480 smb_fname_str_dbg(smb_fname)));
481 rc = SMB_VFS_NEXT_UNLINK(handle, smb_fname);
221 recycle_file_exist(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
249 recycle_get_file_size(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
408 recycle_do_touch(vfs_handle_struct *handle, const struct smb_filename *smb_fname, bool touch_mtime) argument
449 recycle_unlink(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
[all...]
H A Dvfs_streams_xattr.c168 * Helper to stat/lstat the base file of an smb_fname.
171 struct smb_filename *smb_fname,
177 tmp_stream_name = smb_fname->stream_name;
178 smb_fname->stream_name = NULL;
180 result = SMB_VFS_NEXT_STAT(handle, smb_fname);
182 result = SMB_VFS_NEXT_LSTAT(handle, smb_fname);
184 smb_fname->stream_name = tmp_stream_name;
246 struct smb_filename *smb_fname)
252 if (!is_ntfs_stream_smb_fname(smb_fname)) {
253 return SMB_VFS_NEXT_STAT(handle, smb_fname);
170 streams_xattr_stat_base(vfs_handle_struct *handle, struct smb_filename *smb_fname, bool follow_links) argument
245 streams_xattr_stat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
301 streams_xattr_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
353 streams_xattr_open(vfs_handle_struct *handle, struct smb_filename *smb_fname, files_struct *fsp, int flags, mode_t mode) argument
536 streams_xattr_unlink(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
791 struct smb_filename *smb_fname = NULL; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/modules/
H A Dvfs_fake_perms.c30 struct smb_filename *smb_fname)
34 ret = SMB_VFS_NEXT_STAT(handle, smb_fname);
36 if (S_ISDIR(smb_fname->st.st_ex_mode)) {
37 smb_fname->st.st_ex_mode = S_IFDIR | S_IRWXU;
39 smb_fname->st.st_ex_mode = S_IRWXU;
41 smb_fname->st.st_ex_uid = handle->conn->server_info->utok.uid;
42 smb_fname->st.st_ex_gid = handle->conn->server_info->utok.gid;
29 fake_perms_stat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
H A Dvfs_streams_depot.c121 const struct smb_filename *smb_fname,
156 smb_fname->base_name,
215 if (file_is_valid(handle, smb_fname->base_name, check_valid)) {
295 if (!mark_file_valid(handle, smb_fname->base_name, check_valid)) {
312 const struct smb_filename *smb_fname,
322 stype = strchr_m(smb_fname->stream_name + 1, ':');
330 dirname = stream_dir(handle, smb_fname, NULL, create_dir);
338 smb_fname->stream_name);
440 * Helper to stat/lstat the base file of an smb_fname. This will actually
444 struct smb_filename *smb_fname,
120 stream_dir(vfs_handle_struct *handle, const struct smb_filename *smb_fname, const SMB_STRUCT_STAT *base_sbuf, bool create_it) argument
311 stream_smb_fname(vfs_handle_struct *handle, const struct smb_filename *smb_fname, struct smb_filename **smb_fname_out, bool create_dir) argument
443 streams_depot_stat_base(vfs_handle_struct *handle, struct smb_filename *smb_fname, bool follow_links) argument
461 streams_depot_stat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
500 streams_depot_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
535 streams_depot_open(vfs_handle_struct *handle, struct smb_filename *smb_fname, files_struct *fsp, int flags, mode_t mode) argument
592 streams_depot_unlink(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
768 struct smb_filename *smb_fname = NULL; local
[all...]
H A Dvfs_recycle.c37 const struct smb_filename *smb_fname);
222 const struct smb_filename *smb_fname)
228 status = copy_smb_filename(talloc_tos(), smb_fname, &smb_fname_tmp);
250 const struct smb_filename *smb_fname)
256 status = copy_smb_filename(talloc_tos(), smb_fname, &smb_fname_tmp);
409 const struct smb_filename *smb_fname,
419 status = copy_smb_filename(talloc_tos(), smb_fname, &smb_fname_tmp);
450 const struct smb_filename *smb_fname)
480 smb_fname_str_dbg(smb_fname)));
481 rc = SMB_VFS_NEXT_UNLINK(handle, smb_fname);
221 recycle_file_exist(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
249 recycle_get_file_size(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
408 recycle_do_touch(vfs_handle_struct *handle, const struct smb_filename *smb_fname, bool touch_mtime) argument
449 recycle_unlink(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
[all...]
H A Dvfs_streams_xattr.c168 * Helper to stat/lstat the base file of an smb_fname.
171 struct smb_filename *smb_fname,
177 tmp_stream_name = smb_fname->stream_name;
178 smb_fname->stream_name = NULL;
180 result = SMB_VFS_NEXT_STAT(handle, smb_fname);
182 result = SMB_VFS_NEXT_LSTAT(handle, smb_fname);
184 smb_fname->stream_name = tmp_stream_name;
246 struct smb_filename *smb_fname)
252 if (!is_ntfs_stream_smb_fname(smb_fname)) {
253 return SMB_VFS_NEXT_STAT(handle, smb_fname);
170 streams_xattr_stat_base(vfs_handle_struct *handle, struct smb_filename *smb_fname, bool follow_links) argument
245 streams_xattr_stat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
301 streams_xattr_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname) argument
353 streams_xattr_open(vfs_handle_struct *handle, struct smb_filename *smb_fname, files_struct *fsp, int flags, mode_t mode) argument
536 streams_xattr_unlink(vfs_handle_struct *handle, const struct smb_filename *smb_fname) argument
791 struct smb_filename *smb_fname = NULL; local
[all...]

Completed in 273 milliseconds

1234567