Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/freebsd/bin/pax/
H A Dtables.c151 pt = pt->fow; in chk_lnk()
242 pt = pt->fow; in purg_lnk()
413 pt = pt->fow; in chk_ftime()
525 pt = pt->fow; in add_name()
597 pt = pt->fow; in sub_name()
709 while ((pt != NULL) && (pt->dev != dev)) in chk_dev()
710 pt = pt->fow; in chk_dev()
936 for (; pt != NULL; pt = pt->fow) in atdir_end()
937 set_ftime(pt->name, pt->mtime, pt->atime, 1); in atdir_end()
968 pt = pt->fow; in add_atdir()
[all …]
H A Dsel_subs.c102 USRT *pt; in usr_add() local
143 pt = pt->fow; in usr_add()
170 USRT *pt; in usr_match() local
179 pt = pt->fow; in usr_match()
240 pt = pt->fow; in grp_add()
276 pt = pt->fow; in grp_match()
397 pt->low_time = pt->high_time = time(NULL); in trng_add()
425 if (pt->low_time > pt->high_time) { in trng_add()
478 pt = pt->fow; in trng_match()
490 pt = pt->fow; in trng_match()
[all …]
H A Dpat_rep.c193 PATTERN *pt; in pat_add() local
238 PATTERN *pt; in pat_chk() local
245 for (pt = pathead; pt != NULL; pt = pt->fow) { in pat_chk()
275 PATTERN *pt; in pat_sel() local
336 pt->plen = strlen(pt->pstr); in pat_sel()
361 while ((pt != NULL) && (pt != arcn->pat)) { in pat_sel()
363 pt = pt->fow; in pat_sel()
374 free(pt); in pat_sel()
425 (strncmp(pt->pstr, arcn->name, pt->plen) == 0)) in pat_match()
429 pt = pt->fow; in pat_match()
[all …]
H A Dgen_subs.c246 char *pt; in ul_asc() local
252 pt = str + len - 1; in ul_asc()
260 while (pt >= str) { in ul_asc()
269 while (pt >= str) { in ul_asc()
279 while (pt >= str) in ul_asc()
280 *pt-- = '0'; in ul_asc()
342 char *pt; in uqd_asc() local
348 pt = str + len - 1; in uqd_asc()
356 while (pt >= str) { in uqd_asc()
375 while (pt >= str) in uqd_asc()
[all …]
H A Dtar.c143 char *pt; in ul_oct() local
154 *pt-- = ' '; in ul_oct()
158 *pt-- = ' '; in ul_oct()
163 *pt-- = ' '; in ul_oct()
177 *pt-- = '0'; in ul_oct()
197 char *pt; in uqd_oct() local
208 *pt-- = ' '; in uqd_oct()
251 char *pt; in tar_chksm() local
257 pt = blk; in tar_chksm()
363 char *pt; in tar_rd() local
[all …]
/freebsd/contrib/tzcode/
H A Dstrftime.c242 pt = _conv(t->tm_mday, "%2d", pt, ptlim); in _fmt()
269 pt = _conv(t->tm_hour, "%2d", pt, ptlim); in _fmt()
276 pt = _add("kitchen sink", pt, ptlim); in _fmt()
300 pt = _add("\n", pt, ptlim); in _fmt()
309 pt = _fmt("%H:%M", t, pt, ptlim, warnp); in _fmt()
347 pt = _add(buf, pt, ptlim); in _fmt()
354 pt = _add("\t", pt, ptlim); in _fmt()
507 pt = _add(t->TM_ZONE, pt, ptlim); in _fmt()
580 pt = _add(sign, pt, ptlim); in _fmt()
584 pt = _conv(diff, "%04d", pt, ptlim); in _fmt()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_leapsec.c116 if (pt == &_ltab[0] || pt == &_ltab[1]) in leapsec_set_table()
151 memset(&pt->lsig, 0, sizeof(pt->lsig)); in leapsec_clear()
152 memset(&pt->head, 0, sizeof(pt->head)); in leapsec_clear()
716 pt->head.stime = pt->head.ebase; in reset_times()
717 pt->head.ttime = pt->head.ebase; in reset_times()
718 pt->head.dtime = pt->head.ebase; in reset_times()
750 pt->head.base_tai = pt->info[pt->head.size].taiof; in add_range()
754 memmove(pt->info+1, pt->info, pt->head.size*sizeof(*pt->info)); in add_range()
871 pt->head.dtime = pt->head.ttime; in reload_limits()
882 pt->head.stime = pt->head.ttime; in reload_limits()
[all …]
/freebsd/lib/libc/stdtime/
H A Dstrftime.c251 pt = _add("kitchen sink", pt, ptlim); in _fmt()
279 pt = _add("\n", pt, ptlim); in _fmt()
290 pt = _fmt(tptr->ampm_fmt, t, pt, ptlim, in _fmt()
311 pt = _add(buf, pt, ptlim); in _fmt()
318 pt = _add("\t", pt, ptlim); in _fmt()
470 pt = _add(t->TM_ZONE, pt, ptlim); in _fmt()
529 pt = _add(sign, pt, ptlim); in _fmt()
539 pt = _fmt(tptr->date_fmt, t, pt, ptlim, in _fmt()
587 while (pt < ptlim && (*pt = *str++) != '\0') in _add()
588 ++pt; in _add()
[all …]
/freebsd/crypto/openssh/regress/unittests/misc/
H A Dtest_ptimeout.c32 struct timespec pt, *ts; in test_ptimeout() local
35 ptimeout_init(&pt); in test_ptimeout()
44 ts = ptimeout_get_tsp(&pt); in test_ptimeout()
54 ts = ptimeout_get_tsp(&pt); in test_ptimeout()
61 ptimeout_init(&pt); in test_ptimeout()
62 ptimeout_deadline_ms(&pt, 0); in test_ptimeout()
64 ts = ptimeout_get_tsp(&pt); in test_ptimeout()
71 ptimeout_init(&pt); in test_ptimeout()
75 ts = ptimeout_get_tsp(&pt); in test_ptimeout()
82 ptimeout_init(&pt); in test_ptimeout()
[all …]
/freebsd/sbin/nvmecontrol/
H A Dns.c422 memset(&pt, 0, sizeof(pt)); in nsactive()
467 memset(&pt, 0, sizeof(pt)); in nsallocated()
512 memset(&pt, 0, sizeof(pt)); in nscontrollers()
612 memset(&pt, 0, sizeof(pt)); in nscreate()
662 memset(&pt, 0, sizeof(pt)); in nsdelete()
729 memset(&pt, 0, sizeof(pt)); in nsattach()
748 memset(&pt, 0, sizeof(pt)); in nsattach()
799 memset(&pt, 0, sizeof(pt)); in nsdetach()
825 memset(&pt, 0, sizeof(pt)); in nsdetach()
874 memset(&pt, 0, sizeof(pt)); in nsattached()
[all …]
H A Dresv.c253 memset(&pt, 0, sizeof(pt)); in resvacquire()
258 pt.buf = &data; in resvacquire()
260 pt.is_read = 0; in resvacquire()
292 memset(&pt, 0, sizeof(pt)); in resvregister()
297 pt.buf = &data; in resvregister()
299 pt.is_read = 0; in resvregister()
330 memset(&pt, 0, sizeof(pt)); in resvrelease()
335 pt.buf = &data; in resvrelease()
337 pt.is_read = 0; in resvrelease()
370 memset(&pt, 0, sizeof(pt)); in resvreport()
[all …]
H A Dnvmecontrol.c101 struct nvme_pt_command pt; in read_controller_data() local
103 memset(&pt, 0, sizeof(pt)); in read_controller_data()
105 pt.cmd.cdw10 = htole32(1); in read_controller_data()
106 pt.buf = cdata; in read_controller_data()
107 pt.len = sizeof(*cdata); in read_controller_data()
108 pt.is_read = 1; in read_controller_data()
124 struct nvme_pt_command pt; in read_namespace_data() local
126 memset(&pt, 0, sizeof(pt)); in read_namespace_data()
130 pt.buf = nsdata; in read_namespace_data()
131 pt.len = sizeof(*nsdata); in read_namespace_data()
[all …]
H A Dpower.c102 struct nvme_pt_command pt; in power_set() local
106 memset(&pt, 0, sizeof(pt)); in power_set()
107 pt.cmd.opc = NVME_OPC_SET_FEATURES; in power_set()
111 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0) in power_set()
114 if (nvme_completion_is_error(&pt.cpl)) in power_set()
121 struct nvme_pt_command pt; in power_show() local
123 memset(&pt, 0, sizeof(pt)); in power_show()
124 pt.cmd.opc = NVME_OPC_GET_FEATURES; in power_show()
125 pt.cmd.cdw10 = htole32(NVME_FEAT_POWER_MANAGEMENT); in power_show()
127 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0) in power_show()
[all …]
H A Dfirmware.c159 struct nvme_pt_command pt; in update_firmware() local
180 memset(&pt, 0, sizeof(pt)); in update_firmware()
184 pt.buf = chunk; in update_firmware()
185 pt.len = size; in update_firmware()
186 pt.is_read = 0; in update_firmware()
191 if (nvme_completion_is_error(&pt.cpl)) in update_firmware()
203 struct nvme_pt_command pt; in activate_firmware() local
206 memset(&pt, 0, sizeof(pt)); in activate_firmware()
209 pt.is_read = 0; in activate_firmware()
215 sc = NVME_STATUS_GET_SC(pt.cpl.status); in activate_firmware()
[all …]
H A Dpassthru.c160 struct nvme_pt_command pt; in passthru() local
225 memset(&pt, 0, sizeof(pt)); in passthru()
226 pt.cmd.opc = opt.opcode; in passthru()
227 pt.cmd.fuse = opt.flags; in passthru()
228 pt.cmd.cid = htole16(opt.rsvd); in passthru()
230 pt.cmd.rsvd2 = htole32(opt.cdw2); in passthru()
231 pt.cmd.rsvd3 = htole32(opt.cdw3); in passthru()
232 pt.cmd.cdw10 = htole32(opt.cdw10); in passthru()
238 pt.buf = data; in passthru()
239 pt.len = opt.data_len; in passthru()
[all …]
H A Dselftest.c58 struct nvme_pt_command pt; in selftest_op() local
60 memset(&pt, 0, sizeof(pt)); in selftest_op()
61 pt.cmd.opc = NVME_OPC_DEVICE_SELF_TEST; in selftest_op()
62 pt.cmd.nsid = htole32(nsid); in selftest_op()
63 pt.cmd.cdw10 = htole32(stc); in selftest_op()
65 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0) in selftest_op()
68 if (NVME_STATUS_GET_SCT(pt.cpl.status) == NVME_SCT_COMMAND_SPECIFIC && in selftest_op()
69 NVME_STATUS_GET_SC(pt.cpl.status) == NVME_SC_SELF_TEST_IN_PROGRESS) in selftest_op()
71 else if (nvme_completion_is_error(&pt.cpl)) in selftest_op()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrIntrinsicVL.gen.td2 …t_ve_vl_vld_vssvl i64:$sy, i64:$sz, v256f64:$pt, i32:$vl), (VLDrrl_v i64:$sy, i64:$sz, i32:$vl, v2…
4 …_ve_vl_vld_vssvl simm7:$I, i64:$sz, v256f64:$pt, i32:$vl), (VLDirl_v (LO7 $I), i64:$sz, i32:$vl, v…
170 def : Pat<(int_ve_vl_vbrdd_vsvl f64:$sy, v256f64:$pt, i32:$vl), (VBRDrl_v f64:$sy, i32:$vl, v256f64…
173 def : Pat<(int_ve_vl_vbrdl_vsvl i64:$sy, v256f64:$pt, i32:$vl), (VBRDrl_v i64:$sy, i32:$vl, v256f64…
179 …ef : Pat<(int_ve_vl_vbrds_vsvl f32:$sy, v256f64:$pt, i32:$vl), (VBRDUrl_v f32:$sy, i32:$vl, v256f6…
182 …ef : Pat<(int_ve_vl_vbrdw_vsvl i32:$sy, v256f64:$pt, i32:$vl), (VBRDLrl_v i32:$sy, i32:$vl, v256f6…
188 …ef : Pat<(int_ve_vl_pvbrd_vsvl i64:$sy, v256f64:$pt, i32:$vl), (PVBRDrl_v i64:$sy, i32:$vl, v256f6…
641 def : Pat<(int_ve_vl_vseq_vvl v256f64:$pt, i32:$vl), (VSEQl_v i32:$vl, v256f64:$pt)>;
643 def : Pat<(int_ve_vl_pvseqlo_vvl v256f64:$pt, i32:$vl), (PVSEQLOl_v i32:$vl, v256f64:$pt)>;
645 def : Pat<(int_ve_vl_pvsequp_vvl v256f64:$pt, i32:$vl), (PVSEQUPl_v i32:$vl, v256f64:$pt)>;
[all …]
/freebsd/lib/libc/gen/
H A Dgetcwd.c76 if (pt) { in __ssp_real()
86 ept = pt + size; in __ssp_real()
92 if (__getcwd(pt, ept - pt) == 0) { in __ssp_real()
93 if (*pt != '/') { in __ssp_real()
94 bpt = pt; in __ssp_real()
95 ept = pt + strlen(pt) - 1; in __ssp_real()
102 return (pt); in __ssp_real()
135 return (pt); in __ssp_real()
193 off = bpt - pt; in __ssp_real()
195 if ((pt = reallocf(pt, ptsize *= 2)) == NULL) in __ssp_real()
[all …]
/freebsd/usr.sbin/ppp/
H A Dtimer.c104 pt = NULL; in timer_Start()
109 pt = t; in timer_Start()
123 if (pt) { in timer_Start()
150 pt = NULL; in StopTimerNoBlock()
152 pt = t; in StopTimerNoBlock()
155 if (pt) in StopTimerNoBlock()
172 pt = NULL; in StopTimerNoBlock()
174 pt = t; in StopTimerNoBlock()
177 if (pt) in StopTimerNoBlock()
257 pt->name, pt, SECS(pt->load), HSECS(pt->load), SECS(rest), \ in timer_Show()
[all …]
/freebsd/crypto/openssh/openbsd-compat/
H A Dgetcwd.c51 getcwd(char *pt, size_t size) in getcwd() argument
71 if (pt) { in getcwd()
80 ept = pt + size; in getcwd()
82 if ((pt = malloc(ptsize = MAXPATHLEN)) == NULL) in getcwd()
84 ept = pt + ptsize; in getcwd()
126 memmove(pt, bpt, ept - bpt); in getcwd()
128 return (pt); in getcwd()
203 bpt = npt + (bpt - pt); in getcwd()
204 pt = npt; in getcwd()
205 ept = pt + ptsize; in getcwd()
[all …]
/freebsd/sys/dev/mfi/
H A Dmfi_cam.c346 struct mfi_pass_frame *pt; in mfip_start() local
360 pt = &cm->cm_frame->pass; in mfip_start()
362 pt->header.cmd_status = 0; in mfip_start()
363 pt->header.scsi_status = 0; in mfip_start()
366 pt->header.flags = 0; in mfip_start()
367 pt->header.timeout = 0; in mfip_start()
379 cm->cm_sg = &pt->sgl; in mfip_start()
408 struct mfi_pass_frame *pt; in mfip_done() local
410 pt = &cm->cm_frame->pass; in mfip_done()
412 switch (pt->header.cmd_status) { in mfip_done()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector2.cpp127 return pt; in CreatePhysicalThread()
131 pt->~DDPhysicalThread(); in DestroyPhysicalThread()
190 DDPhysicalThread *pt = cb->pt; in MutexBeforeLock() local
263 CycleCheck(pt, lt, m); in MutexBeforeLock()
358 internal_memset(pt->visited, 0, sizeof(pt->visited)); in CycleCheck()
373 if (pt->visited[link.id]) in CycleCheck()
382 pt->path[npath++] = link; in CycleCheck()
399 DDReport *rep = &pt->rep; in Report()
402 Link *link = &pt->path[i]; in Report()
410 pt->report_pending = true; in Report()
[all …]
/freebsd/sys/powerpc/aim/
H A Dmoea64_native.c331 ptelo = be64toh(pt->pte_lo); in moea64_pte_synch_native()
361 ptelo = be64toh(pt->pte_lo); in moea64_pte_clear_native()
396 pt->pte_hi = htobe64(ptehi); in moea64_pte_unset_locked()
399 ptelo = be64toh(pt->pte_lo); in moea64_pte_unset_locked()
434 volatile struct lpte *pt) in moea64_pte_replace_inval_native() argument
457 pt->pte_hi = htobe64(ptehi); in moea64_pte_replace_inval_native()
460 ptelo = be64toh(pt->pte_lo); in moea64_pte_replace_inval_native()
490 ptelo = be64toh(pt->pte_lo); in moea64_pte_replace_native()
765 volatile struct lpte *pt; in moea64_insert_to_pteg_native() local
774 pt = &moea64_pteg_table[k]; in moea64_insert_to_pteg_native()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dec_print.c55 EC_POINT *pt = NULL; in EC_POINT_hex2point() local
61 pt = EC_POINT_new(group); in EC_POINT_hex2point()
62 if (pt == NULL) in EC_POINT_hex2point()
65 pt = point; in EC_POINT_hex2point()
74 || !EC_POINT_oct2point(group, pt, oct_buf, oct_buf_len, ctx)) in EC_POINT_hex2point()
80 if (pt != point) in EC_POINT_hex2point()
81 EC_POINT_clear_free(pt); in EC_POINT_hex2point()
82 pt = NULL; in EC_POINT_hex2point()
84 return pt; in EC_POINT_hex2point()
/freebsd/usr.bin/systat/
H A Dpigs.c57 } *pt = NULL; variable
88 qsort(pt, nproc, sizeof (struct p_times), compar); in showpigs()
93 for (k = 0; i > 0 && pt[k].pt_pctcpu > 0.01; i--, y++, k++) { in showpigs()
94 uname = user_from_uid(pt[k].pt_kp->ki_uid, 0); in showpigs()
95 pname = pt[k].pt_kp->ki_comm; in showpigs()
102 for (j = pt[k].pt_pctcpu * 50 + 0.5; j > 0; j--) in showpigs()
149 if ((pt = realloc(pt, nproc * sizeof(*pt))) == NULL) { in fetchpigs()
159 pt[i].pt_kp = &kpp[i]; in fetchpigs()
160 pctp = &pt[i].pt_pctcpu; in fetchpigs()

12345678910>>...12