Home
last modified time | relevance | path

Searched refs:mtime (Results 1 – 25 of 87) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_close.c61 int32_t mtime; in smb_com_close() local
69 mtime = smb_time_local_to_gmt(sr, sr->arg.timestamp); in smb_com_close()
70 smb_ofile_close(sr->fid_ofile, mtime); in smb_com_close()
102 int32_t mtime; in smb_com_close_and_tree_disconnect() local
110 mtime = smb_time_local_to_gmt(sr, sr->arg.timestamp); in smb_com_close_and_tree_disconnect()
111 smb_ofile_close(sr->fid_ofile, mtime); in smb_com_close_and_tree_disconnect()
H A Dsmb_set_fileinfo.c397 uint32_t mtime; in smb_set_information() local
401 if (smbsr_decode_vwv(sr, "wl10.", &attributes, &mtime) != 0) in smb_set_information()
415 if (mtime != 0 && mtime != UINT_MAX) { in smb_set_information()
417 smb_time_local_to_gmt(sr, mtime); in smb_set_information()
435 uint32_t crtime, atime, mtime; in smb_set_information2() local
439 if (smbsr_decode_vwv(sr, "yyy", &crtime, &atime, &mtime) != 0) in smb_set_information2()
443 if (mtime != 0 && mtime != UINT_MAX) { in smb_set_information2()
445 smb_time_local_to_gmt(sr, mtime); in smb_set_information2()
478 uint32_t crtime, atime, mtime; in smb_set_standard_info() local
483 &crtime, &atime, &mtime) != 0) in smb_set_standard_info()
[all …]
H A Dsmb_create.c43 rc = smbsr_decode_vwv(sr, "wl", &op->dattr, &op->mtime.tv_sec); in smb_pre_create()
85 rc = smbsr_decode_vwv(sr, "wl", &op->dattr, &op->mtime.tv_sec); in smb_pre_create_new()
127 rc = smbsr_decode_vwv(sr, "wl", &reserved, &op->mtime.tv_sec); in smb_pre_create_temporary()
182 if ((op->mtime.tv_sec != 0) && (op->mtime.tv_sec != UINT_MAX)) in smb_common_create()
183 op->mtime.tv_sec = smb_time_local_to_gmt(sr, op->mtime.tv_sec); in smb_common_create()
184 op->mtime.tv_nsec = 0; in smb_common_create()
H A Dsmb_cmn_setfile.c58 uint64_t crtime, atime, mtime, ctime; in smb_set_basic_info() local
63 &crtime, &atime, &mtime, &ctime, &attributes) != 0) in smb_set_basic_info()
88 if (mtime != 0) { in smb_set_basic_info()
89 if ((int64_t)mtime < -2) in smb_set_basic_info()
92 smb_time_nt_to_unix(mtime, &attr->sa_vattr.va_mtime); in smb_set_basic_info()
H A Dsmb_quota.c218 uint64_t mtime; in smb_quota_decode_quotas() local
239 &next_offset, &sidlen, &mtime, in smb_quota_decode_quotas()
296 uint64_t mtime = 0; in smb_quota_encode_quotas() local
331 next_quota ? next_offset : 0, sidlen, mtime, in smb_quota_encode_quotas()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dtimer.c56 static int mtime; /* periodic mcast supply timer */ in timer() local
68 mtime = supplyinterval; in timer()
90 mtime += alarmtime; in timer()
91 if (mtime >= supplyinterval) { in timer()
94 mtime = 0; in timer()
97 mintime = min(mintime, supplyinterval - mtime); in timer()
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_stat.c111 cep->ce_sec.mtime = ((cep->ce_sec.mtime * (cep->ce_ntests - 1)) + in cpr_stat_event_end()
122 cep->ce_msec.mtime = in cpr_stat_event_end()
123 ((cep->ce_msec.mtime * (cep->ce_ntests - 1)) + in cpr_stat_event_end()
195 (int)cep->ce_sec.mtime, (int)(cep->ce_msec.mtime / 10), in cpr_stat_event_print()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_mtime.ksh57 mtime=$(ls -E% all $TESTDIR/clone/file | awk '/mtime/ {print $4}')
61 [[ $o_mtime = $mtime ]] && log_fail "mtime unchanged: $o_mtime $mtime"
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_miscdefs.h100 int mtime = (time); \
102 (timer).sip_timeout_val.tv_sec = mtime / MILLISEC; \
103 mtime -= (timer).sip_timeout_val.tv_sec * MILLISEC; \
104 (timer).sip_timeout_val.tv_usec = mtime * MILLISEC; \
/illumos-gate/usr/src/cmd/stat/common/
H A Dmnt.c40 static time_t mtime; variable
84 if (buf.st_mtime != mtime) { in do_mnttab()
95 mtime = buf.st_mtime; in do_mnttab()
/illumos-gate/usr/src/cmd/bnu/
H A Duudemon.cleanup285 find $SEQDIR -type f -mtime +30 -exec rm -f {} \;
286 find $WORKDIR -type f -mtime +1 -exec rm -f {} \;
287 find $STATDIR -type f -mtime +2 -exec rm -f {} \;
288 find $CORRUPT -type f -mtime +10 -exec rm -f {} \;
H A Dsecurity.c391 static char mtime[MODSTR]; local
398 (void) sprintf(mtime, "%d/%d-%d:%2.2d", tp->tm_mon + 1,
400 return(mtime);
/illumos-gate/usr/src/ucbcmd/vipw/
H A Dvipw.c224 editfile(char *editor, char *temp, char *orig, time_t *mtime) in editfile() argument
228 return (sanity_check(temp, mtime, orig)); in editfile()
257 sanity_check(char *temp, time_t *mtime, char *orig) in sanity_check() argument
275 *mtime = sbuf.st_mtime; in sanity_check()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c602 time_t mtime; in update() local
696 mtime = 0; in update()
698 mtime = mtime * 10 + (*s++ - '0'); in update()
707 if (stp->st_mtime == mtime) in update()
709 if (stp->st_mtime < mtime) { in update()
713 } else if (stp->st_mtime == mtime && stp->st_size == size) in update()
773 time_t mtime; in recvf() local
802 mtime = 0; in recvf()
804 mtime = mtime * 10 + (*cp++ - '0'); in recvf()
1018 tvp[1].tv_sec = mtime; in recvf()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_dir.c779 uint64_t mtime[2], ctime[2]; in zfs_link_create() local
804 zfs_tstamp_update_setup(zp, STATE_CHANGED, mtime, in zfs_link_create()
821 mtime, sizeof (mtime)); in zfs_link_create()
826 zfs_tstamp_update_setup(dzp, CONTENT_MODIFIED, mtime, ctime, B_TRUE); in zfs_link_create()
906 uint64_t mtime[2], ctime[2]; in zfs_link_destroy() local
958 zfs_tstamp_update_setup(zp, STATE_CHANGED, mtime, ctime, in zfs_link_destroy()
984 NULL, mtime, sizeof (mtime)); in zfs_link_destroy()
987 zfs_tstamp_update_setup(dzp, CONTENT_MODIFIED, mtime, ctime, B_TRUE); in zfs_link_destroy()
H A Dzfs_sa.c207 uint64_t crtime[2], mtime[2], ctime[2]; in zfs_sa_upgrade() local
238 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_MTIME(zfsvfs), NULL, &mtime, 16); in zfs_sa_upgrade()
278 &mtime, 16); in zfs_sa_upgrade()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs3_xdr.c518 na->mtime.seconds = IXDR_GET_U_INT32(ptr); in xdr_fattr3()
519 na->mtime.nseconds = IXDR_GET_U_INT32(ptr); in xdr_fattr3()
536 IXDR_PUT_U_INT32(ptr, na->mtime.seconds); in xdr_fattr3()
537 IXDR_PUT_U_INT32(ptr, na->mtime.nseconds); in xdr_fattr3()
556 xdr_u_int(xdrs, &na->mtime.seconds) && in xdr_fattr3()
557 xdr_u_int(xdrs, &na->mtime.nseconds) && in xdr_fattr3()
892 attrp->mtime.seconds = IXDR_GET_U_INT32(ptr); in xdr_wcc_data()
893 attrp->mtime.nseconds = IXDR_GET_U_INT32(ptr); in xdr_wcc_data()
899 if (!xdr_u_int(xdrs, &attrp->mtime.seconds)) in xdr_wcc_data()
901 if (!xdr_u_int(xdrs, &attrp->mtime.nseconds)) in xdr_wcc_data()
[all …]
/illumos-gate/usr/src/head/rpcsvc/
H A Dnfs_prot.x130 nfstime mtime; /* time of last modification */ member
143 nfstime mtime; /* time of last modification */ member
471 nfstime3 mtime; member
487 nfstime3 mtime; member
553 nfstime3 mtime; variable
564 set_mtime mtime; member
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dfhtab.h78 time32_t mtime; /* modification time of entry */ member
103 time32_t mtime; /* modification time of entry */ member
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dwebnfs.x130 wnl_time mtime; /* time of last modification */ member
264 wnl_time3 mtime; member
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsfind/
H A Dnfsfind.sh46 find $dir -type f -name .nfs\* -mtime +7 -mount -exec rm -f {} \;
/illumos-gate/usr/src/uts/common/krtld/
H A Dbootrd_cpio.c40 uint8_t mtime[11]; member
224 if (!get_int64(hdr->mtime, sizeof (hdr->mtime), &stat->st_mtim.tv_sec)) in parse_stat()
/illumos-gate/usr/src/cmd/sa/
H A Dsa2.sh35 /usr/bin/find /var/adm/sa \( -name 'sar*' -o -name 'sa*' \) -mtime +7 -exec /usr/bin/rm {} \;
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs_clnt.h576 #define CACHE_VALID(rp, mtime, fsize) \ argument
578 (((mtime).tv_sec == (rp)->r_attr.va_mtime.tv_sec && \
579 (mtime).tv_nsec == (rp)->r_attr.va_mtime.tv_nsec) && \
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c1185 time_t mtime, atime; in source() local
1192 mtime = stb.st_mtime; in source()
1195 if ((mtime < 0) || (atime < 0)) { in source()
1198 if (mtime < 0) { in source()
1199 mtime = now; in source()
1210 mtime, atime); in source()
1427 #define mtime tv[1] in sink() macro
1484 mtime.tv_sec = strtol(cp, &cp, 0); in sink()
1487 mtime.tv_usec = strtol(cp, &cp, 0); in sink()

1234