Home
last modified time | relevance | path

Searched refs:stp (Results 1 – 25 of 94) sorted by path

1234

/illumos-gate/usr/src/boot/efi/loader/arch/arm64/
H A Dstart.S143 stp x0, x1, [sp, #-16]!
151 stp xzr, xzr, [x0], #16
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c151 tp = stp[--catname]; in server()
562 if (lp->inum == stp->st_ino && lp->devnum == stp->st_dev) { in savelink()
572 lp->inum = stp->st_ino; in savelink()
573 lp->devnum = stp->st_dev; in savelink()
574 lp->count = stp->st_nlink - 1; in savelink()
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()
833 if (catname >= sizeof (stp) / sizeof (stp[0])) { in recvf()
838 stp[catname] = tp; in recvf()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Denc_des.c472 stp->str_key.contents = stp->str_keybytes; in cfb64_stream_key()
481 (void) memcpy((void *)stp->str_output, (void *)stp->str_iv, in cfb64_stream_key()
512 register struct stinfo *stp = in cfb64_encrypt() local
516 index = stp->str_index; in cfb64_encrypt()
520 ecb_encrypt(stp, stp->str_output, b); in cfb64_encrypt()
527 *s = stp->str_output[index] = (stp->str_feed[index] ^ *s); in cfb64_encrypt()
531 stp->str_index = index; in cfb64_encrypt()
547 if (stp->str_index) in cfb64_decrypt()
548 --stp->str_index; in cfb64_decrypt()
552 index = stp->str_index++; in cfb64_decrypt()
[all …]
/illumos-gate/usr/src/cmd/dtrace/
H A Ddtrace.c535 dtrace_stmtdesc_t *stp, dtrace_ecbdesc_t **last) in info_stmt() argument
537 dtrace_ecbdesc_t *edp = stp->dtsd_ecbdesc; in info_stmt()
677 dtrace_stmtdesc_t *stp, dtrace_ecbdesc_t **last) in list_stmt() argument
679 dtrace_ecbdesc_t *edp = stp->dtsd_ecbdesc; in list_stmt()
/illumos-gate/usr/src/cmd/dumpadm/
H A Ddconf.c293 open_stat64(const char *path, struct stat64 *stp) in open_stat64() argument
298 int status = fstat64(fd, stp); in open_stat64()
/illumos-gate/usr/src/cmd/find/
H A Dfind.c1696 if (file == NULL || stp == NULL) in list()
1703 switch (stp->st_mode & S_IFMT) { in list()
1762 if (stp->st_mode & special[who * 3]) in list()
1793 cp = getname(stp->st_uid); in list()
1799 cp = getgroup(stp->st_gid); in list()
1807 major(stp->st_rdev), minor(stp->st_rdev)); in list()
1810 "%8lld" : "%lld", stp->st_size); in list()
1823 cp = ctime(&stp->st_mtime); in list()
1824 if (stp->st_mtime < sixmonthsago || stp->st_mtime > now) in list()
1840 stp->st_nlink, /* # of links */ in list()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/sensor-transport/
H A Dsensor_transport.c232 stp->st_faults = sfp; in st_check_component()
295 sensor_transport_t *stp; in st_timeout() local
308 stp, &err)) == NULL) { in st_timeout()
357 stp->st_first = B_FALSE; in st_timeout()
361 stp->st_timer = fmd_timer_install(hdl, NULL, NULL, stp->st_interval); in st_timeout()
424 stp->st_spoofs = NULL; in parse_spoof_param()
452 sensor_transport_t *stp; in _fmd_init() local
483 stp->st_hdl = hdl; in _fmd_init()
484 stp->st_first = B_TRUE; in _fmd_init()
493 sensor_transport_t *stp; in _fmd_fini() local
[all …]
/illumos-gate/usr/src/cmd/logadm/
H A Dfn.c170 fn_setstat(struct fn *fnp, struct stat *stp) in fn_setstat() argument
172 fnp->fn_stbuf = *stp; in fn_setstat()
H A Dfn.h41 void fn_setstat(struct fn *fnp, struct stat *stp);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dnet.c240 struct sotpi_sonode *stp; in sonode_walk_step() local
254 stp = wsp->walk_data; in sonode_walk_step()
256 wsp->walk_addr = (uintptr_t)stp->st_info.sti_next_so; in sonode_walk_step()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_fhistory.c775 fh_cookie, p, stp, off)) < 0) in ndmpd_fhpath_v3_cb()
833 pino = stp->st_ino; in ndmpd_fhdir_v3_cb()
959 } else if (!stp) { in ndmpd_fhnode_v3_cb()
983 ino = stp->st_ino; in ndmpd_fhnode_v3_cb()
1347 } else if (!stp) { in ndmpd_file_history_path()
1379 struct stat64 *stp) in ndmpd_file_history_dir() argument
1400 } else if (!stp) { in ndmpd_file_history_dir()
1425 pino = stp->st_ino; in ndmpd_file_history_dir()
1544 } else if (!stp) { in ndmpd_file_history_node()
1565 ino = stp->st_ino; in ndmpd_file_history_node()
[all …]
H A Dndmpd_tar3.c1924 if (!stp) { in ischngd()
1964 (uint_t)stp->st_ino, (uint_t)stp->st_mtime, (uint_t)t); in ischngd()
1969 (uint_t)stp->st_ino, (uint_t)stp->st_ctime, in ischngd()
1974 (uint_t)stp->st_ino, (uint_t)stp->st_ctime, in ischngd()
1980 (uint_t)stp->st_ino, (uint_t)stp->st_mtime, in ischngd()
2036 struct stat64 *stp; in size_cb() local
2070 struct stat64 *stp; in timebk_v3() local
2085 stp = enp->tn_st; in timebk_v3()
2089 stp = pnp->tn_st; in timebk_v3()
2171 stp = enp->tn_st; in lbrbk_v3()
[all …]
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_lib.c491 tlm_log_fhdir(tlm_job_stats_t *job_stats, char *dir, struct stat64 *stp, in tlm_log_fhdir() argument
502 } else if (stp == NULL) { in tlm_log_fhdir()
510 rv = (*cbp->fh_log_dir)(cbp, dir, stp, fhp); in tlm_log_fhdir()
520 struct stat64 *stp, u_longlong_t off) in tlm_log_fhnode() argument
532 } else if (stp == NULL) { in tlm_log_fhnode()
540 rv = (*cbp->fh_log_node)(cbp, dir, file, stp, off); in tlm_log_fhnode()
550 struct stat64 *stp, u_longlong_t off) in tlm_log_fhpath_name() argument
560 } else if (!stp) { in tlm_log_fhpath_name()
568 rv = (*cbp->fh_logpname)(cbp, pathname, stp, off); in tlm_log_fhpath_name()
H A Dtlm_restore_writer.c181 dtree_pop(cstack_t *stp) in dtree_pop() argument
202 dtree_peek(cstack_t *stp) in dtree_peek() argument
288 cstack_t *stp; in tar_getdir() local
315 stp = cstack_new(); in tar_getdir()
319 cstack_delete(stp); in tar_getdir()
743 erc = dtree_pop(stp); in tar_getdir()
858 while ((bkpath = dtree_peek(stp)) in tar_getdir()
864 rc = dtree_pop(stp); in tar_getdir()
873 (void) dtree_push(stp, nmp, acls); in tar_getdir()
974 while (dtree_pop(stp) != -1) in tar_getdir()
[all …]
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c392 ct_status_open(ctid_t ctid, struct stat64 *stp) in ct_status_open() argument
400 if (fstat64(fd, stp) == -1 || ct_status_read(fd, CTD_FIXED, &hdl)) { in ct_status_open()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmap.c1422 struct stat std, stp; local
1463 sff, smode, &stp);
1544 (fstat(dirfd, &std) < 0 || fstat(pagfd, &stp) < 0))
1599 filechanged(pagfile, pfd, &stp))
/illumos-gate/usr/src/cmd/sgs/common/
H A Dstring_table.c159 Str_tbl *stp; in st_new() local
161 if ((stp = calloc(1, sizeof (*stp))) == NULL) in st_new()
167 stp->st_strsize = stp->st_fullstrsize = stp->st_nextoff = 1; in st_new()
174 return (stp); in st_new()
182 return (stp); in st_new()
340 free(stp); in st_destroy()
600 stp->st_hbckcnt = findprime(stp->st_strcnt); in st_getstrtab_sz()
601 if ((stp->st_hashbcks = calloc(stp->st_hbckcnt, in st_getstrtab_sz()
674 assert(stp->st_fullstrsize >= stp->st_strsize); in st_getstrtab_sz()
759 end = stp->st_strbuf + stp->st_fullstrsize; in st_findstring()
[all …]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dupdate.c3330 update_ostrtab(Os_desc *osp, Str_tbl *stp, uint_t extra) in update_ostrtab() argument
3338 assert(data->d_size == (st_getstrtab_sz(stp) + extra)); in update_ostrtab()
3339 (void) st_setstrbuf(stp, data->d_buf, data->d_size - extra); in update_ostrtab()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dsections.c95 Dbg_sec_strtab(Lm_list *lml, Os_desc *osp, Str_tbl *stp) in Dbg_sec_strtab() argument
106 if (stp->st_flags & FLG_STTAB_COMPRESS) in Dbg_sec_strtab()
108 EC_XWORD(stp->st_fullstrsize), EC_XWORD(stp->st_strsize)); in Dbg_sec_strtab()
111 EC_XWORD(stp->st_fullstrsize)); in Dbg_sec_strtab()
114 ((stp->st_flags & FLG_STTAB_COMPRESS) == 0)) in Dbg_sec_strtab()
119 stp->st_hbckcnt); in Dbg_sec_strtab()
121 for (cnt = 0; cnt < stp->st_hbckcnt; cnt++) { in Dbg_sec_strtab()
122 Str_hash *strhash = stp->st_hashbcks[cnt]; in Dbg_sec_strtab()
/illumos-gate/usr/src/cmd/streams/log/
H A Dstrclean.c52 static int clean(const char *name, const struct stat *stp, int info);
145 clean(const char *name, const struct stat *stp, int info) in clean() argument
153 if (stp->st_mtime >= cutoff) in clean()
/illumos-gate/usr/src/cmd/truss/
H A Dactions.c362 const struct systable *stp; in sysentry() local
384 stp = subsys(what, subcode); in sysentry()
386 if (nargs > stp->nargs) in sysentry()
387 nargs = stp->nargs; in sysentry()
432 } else if (stp->arg[0] == STG) { in sysentry()
479 x = stp->arg[i]; in sysentry()
517 const struct systable *stp; in sysexit() local
582 stp = subsys(what, subcode); in sysexit()
733 switch (stp->rval[0]) { in sysexit()
762 switch (stp->rval[1]) { in sysexit()
[all …]
H A Dlistopts.c105 const struct systable *stp = systable; in syslist() local
106 for (; sys == 0 && stp->nargs >= 0; stp++) in syslist()
107 if (stp->name && strcmp(stp->name, name) == 0) in syslist()
108 sys = stp-systable; in syslist()
H A Dsystable.c1161 stp = &msgtable[subcode]; in subsys()
1165 stp = &semtable[subcode]; in subsys()
1169 stp = &shmtable[subcode]; in subsys()
1173 stp = &pidtable[subcode]; in subsys()
1177 stp = &utstable[subcode]; in subsys()
1181 stp = &sfstable[subcode]; in subsys()
1185 stp = &sgptable[subcode]; in subsys()
1189 stp = &ctxtable[subcode]; in subsys()
1193 stp = &hrttable[subcode]; in subsys()
1290 if (stp == NULL) in subsys()
[all …]
/illumos-gate/usr/src/common/fs/
H A Dhsfs.c589 bhsfs_fstat(int fd, struct bootstat *stp) in bhsfs_fstat() argument
599 stp->st_mode = 0; in bhsfs_fstat()
600 stp->st_size = 0; in bhsfs_fstat()
607 stp->st_mode = S_IFDIR; in bhsfs_fstat()
610 stp->st_mode = S_IFREG; in bhsfs_fstat()
620 stp->st_size = ip->i_size; in bhsfs_fstat()
623 stp->st_atim.tv_sec = ip->i_atime.tv_sec; in bhsfs_fstat()
624 stp->st_atim.tv_nsec = ip->i_atime.tv_usec * 1000; in bhsfs_fstat()
625 stp->st_mtim.tv_sec = ip->i_mtime.tv_sec; in bhsfs_fstat()
626 stp->st_mtim.tv_nsec = ip->i_mtime.tv_usec * 1000; in bhsfs_fstat()
[all …]
H A Dufsops.c700 bufs_fstat(int fd, struct bootstat *stp) in bufs_fstat() argument
710 stp->st_mode = 0; in bufs_fstat()
711 stp->st_size = 0; in bufs_fstat()
718 stp->st_mode = S_IFLNK; in bufs_fstat()
721 stp->st_mode = S_IFREG; in bufs_fstat()
731 stp->st_size = ip->i_size; in bufs_fstat()
732 stp->st_atim.tv_sec = ip->i_atime.tv_sec; in bufs_fstat()
733 stp->st_atim.tv_nsec = ip->i_atime.tv_usec * 1000; in bufs_fstat()
734 stp->st_mtim.tv_sec = ip->i_mtime.tv_sec; in bufs_fstat()
735 stp->st_mtim.tv_nsec = ip->i_mtime.tv_usec * 1000; in bufs_fstat()
[all …]

1234