Searched defs:tvp (Results 1 - 25 of 47) sorted by relevance

12

/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dutimes.c31 __utimes(char *filename, struct timeval *tvp) { argument
34 utb.actime = (time_t)tvp[0].tv_sec;
35 utb.modtime = (time_t)tvp[1].tv_sec;
H A Dgettimeofday.c43 gettimeofday(struct timeval *tvp, struct _TIMEZONE *tzp) { argument
48 if (tvp) {
49 tvp->tv_sec = clock;
50 tvp->tv_usec = 0;
/illumos-gate/usr/src/uts/common/syscall/
H A Dlwp_info.c48 lwp_info(timestruc_t *tvp) argument
64 if (copyout(tv, tvp, sizeof (tv)))
76 if (copyout(tv32, tvp, sizeof (tv32)))
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_lookup.c87 vnode_t *tvp; /* addressable temp ptr */ local
226 error = VOP_LOOKUP(vp, component, &tvp, pnp, lookup_flags,
244 error = VOP_LOOKUP(vp, component, &tvp, pnp, lookup_flags,
247 cvp = tvp;
280 tvp = cvp;
281 if ((error = traverse(&tvp)) != 0) {
290 cvp = tvp;
293 cvp = tvp;
497 vnode_t *tvp; local
526 error = VFS_ROOT(vfsp, &tvp);
[all...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_protocol.c145 struct timeval *tvp, int injected)
153 tod[0] = tvp->tv_sec;
154 tod[1] = tvp->tv_usec;
212 struct timeval *tvp, boolean_t repaired, boolean_t replaced,
220 tod[0] = tvp->tv_sec;
221 tod[1] = tvp->tv_usec;
143 fmd_protocol_list(const char *class, nvlist_t *de_fmri, const char *uuid, const char *code, uint_t argc, nvlist_t **argv, uint8_t *flagv, int domsg, struct timeval *tvp, int injected) argument
209 fmd_protocol_rsrc_asru(const char *class, nvlist_t *fmri, const char *uuid, const char *code, boolean_t faulty, boolean_t unusable, boolean_t message, nvlist_t *event, struct timeval *tvp, boolean_t repaired, boolean_t replaced, boolean_t acquitted, boolean_t resolved, nvlist_t *diag_de, boolean_t injected) argument
H A Dfmd_time.c39 fmd_time_gettimeofday(struct timeval *tvp) argument
41 if (fmd.d_clockops->fto_gettimeofday(tvp, NULL) != 0)
254 fmd_simulator_tod(struct timeval *tvp, void *tzp) argument
269 tvp->tv_sec = sec + rem / NANOSEC;
270 tvp->tv_usec = (rem % NANOSEC) / (NANOSEC / MICROSEC);
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_subr.c118 timestruc_t *tvp, /* UNIX time input */
124 unixtime = (int64_t)tvp->tv_sec;
117 pc_tvtopct( timestruc_t *tvp, struct pctime *pctp) argument
/illumos-gate/usr/src/uts/common/io/
H A Dsundlpi.c192 dl_error_ack_t *dleap, timestruc_t *tvp)
204 switch (err = ldi_getmsg(lh, &mp, tvp)) {
191 dl_op(ldi_handle_t lh, mblk_t **mpp, t_uscalar_t expprim, size_t minlen, dl_error_ack_t *dleap, timestruc_t *tvp) argument
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_rrip.c150 form_time(int time_length, uchar_t *file_time, struct timeval *tvp) argument
153 hs_parse_longdate(file_time, tvp);
155 hs_parse_dirdate(file_time, tvp);
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dresult.c275 struct timeval tv, *tvp; local
335 tvp = NULL;
338 tvp = &tv;
370 rc = nsldapi_iostatus_poll( ld, tvp );
461 if ( rc == -2 && tvp != NULL ) {
H A Dos-ip.c1542 struct timeval tv, *tvp; local
1579 tvp = NULL;
1583 tvp = &tv;
1585 rc = iofns->liof_select( maxfd, &readfds, &writefds, NULL, tvp );
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Deventlib.c747 struct timeval *tvp = NULL; local
755 tvp = &tv;
761 n = select(nfds, rfds, wfds, efds, tvp);
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Drdn_parser.c638 ava_to_string(KMF_X509_TYPE_VALUE_PAIR *tvp, custr_t *str) argument
641 KMF_OID *rdn_oid = &tvp->type;
677 switch (tvp->valueType) {
683 ret = value_to_string(&tvp->value, str);
688 ret = binvalue_to_string(&tvp->value, str);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c917 vnode_t *tvp, *nextvp; local
919 tvp = vp;
921 if (!(tvp->v_flag & VROOT) && !VN_CMP(tvp, zone_rootvp))
925 vfs_lock_wait(tvp->v_vfsp);
927 if ((nextvp = tvp->v_vfsp->vfs_vnodecovered) == NULL) {
928 vfs_unlock(tvp->v_vfsp);
934 * rele tvp, any number of overlays could be unmounted.
936 * tvp's vfs to be unmounted. Of course if caller placed
942 vfs_unlock(tvp
[all...]
H A Dnfs4_rnode.c2029 vnode_t *tvp; local
2052 tvp = RTOV4(rp);
2053 if (tvp->v_vfsp != vfsp)
/illumos-gate/usr/src/uts/common/os/
H A Dtimers.c64 #define TVTSCMP(tvp, tsp, cmp) \
66 ((tvp)->tv_sec cmp (tsp)->tv_sec || \
67 ((tvp)->tv_sec == (tsp)->tv_sec && \
69 (tvp)->tv_usec * 1000 cmp (tsp)->tv_nsec))
1240 tv2hrt(struct timeval *tvp) argument
1242 return ((hrtime_t)tvp->tv_sec * NANOSEC +
1243 (hrtime_t)tvp->tv_usec * (NANOSEC / MICROSEC));
1247 hrt2tv(hrtime_t hrt, struct timeval *tvp) argument
1269 tvp->tv_sec = (time_t)sec;
1279 tvp
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c1399 struct vnode *tvp = NULL; local
1496 tvp = ap->an_vp;
1498 VN_HOLD(tvp);
1501 error = swapslot_free(tvp, toff, osip);
1503 VN_RELE(tvp);
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c1123 struct timeval tv, *tvp; local
1128 tvp = &tv;
1131 tvp = NULL;
1134 n = select(nfds, rfds, wfds, efds, tvp);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c786 struct timeval tvp[2]; local
1027 tvp[0].tv_sec = stb.st_atime; /* old atime from target */
1028 tvp[0].tv_usec = 0;
1029 tvp[1].tv_sec = mtime;
1030 tvp[1].tv_usec = 0;
1031 if (utimes(new, tvp) < 0) {
/illumos-gate/usr/src/uts/common/fs/
H A Dlookup.c661 vnode_t *tvp; local
713 error = VFS_ROOT(vfsp, &tvp);
721 cvp = tvp;
811 dirfindvp(vnode_t *vrootp, vnode_t *dvp, vnode_t *tvp, cred_t *cr, char *dbuf, argument
879 if (vnode_match(tvp, cmpvp, cr)) {
904 if (vnode_match(tvp, cmpvp, cr)) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_display.c78 struct timeval *tvp; local
88 tvp = &hdrp->sbh_timestamp;
90 ptv = *tvp;
99 tm = localtime(&tvp->tv_sec);
103 pi_time_usec = tvp->tv_usec;
113 show_pktinfo(flags, num, src_name, dst_name, &ptv, tvp, drops,
124 ptv = *tvp;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_probe.c2733 tv2ns(struct timeval *tvp) argument
2735 return (tvp->tv_sec * NANOSEC + tvp->tv_usec * 1000);
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c303 vnode_t *vp = NULL, *tvp = NULL, *nonlovp; local
391 error = VFS_ROOT(vfsp, &tvp);
397 if ((tvp == li->li_rootvp) && (vp == realvp(tvp))) {
408 *vpp = tvp;
434 VN_RELE(tvp);
505 tvp = vp;
508 VN_RELE(tvp);
589 error = VFS_ROOT(realdvp->v_vfsp, &tvp);
593 * tvp no
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsendto_kdc.c569 static int getcurtime (struct timeval *tvp) argument
574 tvp->tv_sec = tb.time;
575 tvp->tv_usec = tb.millitm * 1000;
579 if (gettimeofday(tvp, 0)) {
/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport_fop.c1363 vnode_t *tvp, *tdvp; local
1398 tvp = NULL;
1399 if ((error = port_fop_getdvp(objptr, &tvp, NULL,
1401 if (tvp != NULL) {
1402 tvp = port_resolve_vp(tvp);
1407 VN_RELE(tvp);
1411 if (error || tvp == NULL || tvp != vp) {
1443 tdvp = tvp
1555 vnode_t *tvp = NULL, *tdvp = NULL; local
[all...]

Completed in 93 milliseconds

12