• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/smbd/

Lines Matching refs:smb_fname

988 	struct smb_filename *smb_fname = NULL;
1013 &smb_fname);
1025 if (!VALID_STAT(smb_fname->st) &&
1026 (SMB_VFS_STAT(conn, smb_fname) != 0)) {
1028 smb_fname_str_dbg(smb_fname), strerror(errno)));
1033 if (!S_ISDIR(smb_fname->st.st_ex_mode)) {
1064 TALLOC_FREE(smb_fname);
1076 struct smb_filename *smb_fname = NULL;
1111 &smb_fname);
1121 if (!VALID_STAT(smb_fname->st) &&
1122 (SMB_VFS_STAT(conn, smb_fname) != 0)) {
1124 smb_fname_str_dbg(smb_fname),
1130 mode = dos_mode(conn, smb_fname);
1131 size = smb_fname->st.st_ex_size;
1138 fileid = vfs_file_id_from_sbuf(conn, &smb_fname->st);
1141 update_stat_ex_mtime(&smb_fname->st, write_time_ts);
1145 mtime = convert_timespec_to_time_t(smb_fname->st.st_ex_mtime);
1167 smb_fname_str_dbg(smb_fname), mode, (unsigned int)size));
1170 TALLOC_FREE(smb_fname);
1184 struct smb_filename *smb_fname = NULL;
1214 &smb_fname);
1225 if (smb_fname->base_name[0] == '.' &&
1226 smb_fname->base_name[1] == '\0') {
1239 status = smb_set_file_time(conn, NULL, smb_fname, &ft, true);
1246 if (VALID_STAT_OF_DIR(smb_fname->st))
1251 if (file_set_dosmode(conn, smb_fname, mode, NULL,
1260 DEBUG(3, ("setatr name=%s mode=%d\n", smb_fname_str_dbg(smb_fname),
1263 TALLOC_FREE(smb_fname);
1363 struct smb_filename *smb_fname = NULL;
1426 &smb_fname);
1437 directory = smb_fname->base_name;
1632 TALLOC_FREE(smb_fname);
1702 struct smb_filename *smb_fname = NULL;
1744 &smb_fname);
1756 if (!map_open_params_to_ntcreate(smb_fname->base_name, deny_mode,
1768 smb_fname, /* fname */
1790 size = smb_fname->st.st_ex_size;
1791 fattr = dos_mode(conn, smb_fname);
1801 update_stat_ex_mtime(&smb_fname->st, write_time_ts);
1805 mtime = convert_timespec_to_time_t(smb_fname->st.st_ex_mtime);
1837 TALLOC_FREE(smb_fname);
1849 struct smb_filename *smb_fname = NULL;
1917 &smb_fname);
1929 if (!map_open_params_to_ntcreate(smb_fname->base_name, deny_mode,
1942 smb_fname, /* fname */
1979 smb_fname->st.st_ex_size =
1980 SMB_VFS_GET_ALLOC_SIZE(conn, fsp, &smb_fname->st);
1983 fattr = dos_mode(conn, smb_fname);
1984 mtime = convert_timespec_to_time_t(smb_fname->st.st_ex_mtime);
2032 SIVAL(req->outbuf,smb_vwv6,(uint32)smb_fname->st.st_ex_size);
2042 TALLOC_FREE(smb_fname);
2089 struct smb_filename *smb_fname = NULL;
2129 &smb_fname);
2144 smb_fname_str_dbg(smb_fname)));
2159 smb_fname, /* fname */
2181 ft.atime = smb_fname->st.st_ex_atime; /* atime. */
2182 status = smb_set_file_time(conn, fsp, smb_fname, &ft, true);
2201 DEBUG(2, ("reply_mknew: file %s\n", smb_fname_str_dbg(smb_fname)));
2203 smb_fname_str_dbg(smb_fname), fsp->fh->fd,
2207 TALLOC_FREE(smb_fname);
2219 struct smb_filename *smb_fname = NULL;
2263 &smb_fname);
2274 tmpfd = mkstemp(smb_fname->base_name);
2280 SMB_VFS_STAT(conn, smb_fname);
2287 smb_fname, /* fname */
2346 fsp->fh->fd, (unsigned int)smb_fname->st.st_ex_mode));
2348 TALLOC_FREE(smb_fname);
2398 struct smb_filename *smb_fname,
2409 smb_fname_str_dbg(smb_fname),
2417 ret = SMB_VFS_LSTAT(conn, smb_fname);
2419 ret = SMB_VFS_STAT(conn, smb_fname);
2425 fattr = dos_mode(conn, smb_fname);
2485 smb_fname, /* fname */
2510 smb_fname_str_dbg(smb_fname),
2531 uint32 dirtype, struct smb_filename *smb_fname,
2541 status = split_fname_dir_mask(ctx, smb_fname->base_name,
2556 if (!VALID_STAT(smb_fname->st) &&
2573 TALLOC_FREE(smb_fname->base_name);
2574 smb_fname->base_name = talloc_asprintf(smb_fname,
2578 if (!smb_fname->base_name) {
2586 status = check_name(conn, smb_fname->base_name);
2591 status = do_unlink(conn, req, smb_fname, dirtype);
2637 &smb_fname->st, &talloced))) {
2641 &smb_fname->st, true)) {
2661 TALLOC_FREE(smb_fname->base_name);
2662 smb_fname->base_name =
2663 talloc_asprintf(smb_fname, "%s/%s",
2666 if (!smb_fname->base_name) {
2674 status = check_name(conn, smb_fname->base_name);
2682 status = do_unlink(conn, req, smb_fname, dirtype);
2691 smb_fname->base_name));
2717 struct smb_filename *smb_fname = NULL;
2745 &smb_fname);
2756 DEBUG(3,("reply_unlink : %s\n", smb_fname_str_dbg(smb_fname)));
2758 status = unlink_internals(conn, req, dirtype, smb_fname,
2771 TALLOC_FREE(smb_fname);
5679 /* Make a copy of the dst smb_fname structs */
5686 /* Ensure the dst smb_fname contains a '/' */
6793 /* Get the src smb_fname struct setup. */