Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd-14.2/bin/pax/
H A Dtables.c157 pt = pt->fow; in chk_lnk()
248 pt = pt->fow; in purg_lnk()
419 pt = pt->fow; in chk_ftime()
531 pt = pt->fow; in add_name()
603 pt = pt->fow; in sub_name()
715 while ((pt != NULL) && (pt->dev != dev)) in chk_dev()
716 pt = pt->fow; in chk_dev()
942 for (; pt != NULL; pt = pt->fow) in atdir_end()
943 set_ftime(pt->name, pt->mtime, pt->atime, 1); in atdir_end()
974 pt = pt->fow; in add_atdir()
[all …]
H A Dsel_subs.c108 USRT *pt; in usr_add() local
149 pt = pt->fow; in usr_add()
176 USRT *pt; in usr_match() local
185 pt = pt->fow; in usr_match()
246 pt = pt->fow; in grp_add()
282 pt = pt->fow; in grp_match()
403 pt->low_time = pt->high_time = time(NULL); in trng_add()
431 if (pt->low_time > pt->high_time) { in trng_add()
484 pt = pt->fow; in trng_match()
496 pt = pt->fow; in trng_match()
[all …]
H A Dpat_rep.c199 PATTERN *pt; in pat_add() local
244 PATTERN *pt; in pat_chk() local
251 for (pt = pathead; pt != NULL; pt = pt->fow) { in pat_chk()
281 PATTERN *pt; in pat_sel() local
342 pt->plen = strlen(pt->pstr); in pat_sel()
367 while ((pt != NULL) && (pt != arcn->pat)) { in pat_sel()
369 pt = pt->fow; in pat_sel()
380 free(pt); in pat_sel()
431 (strncmp(pt->pstr, arcn->name, pt->plen) == 0)) in pat_match()
435 pt = pt->fow; in pat_match()
[all …]
H A Dgen_subs.c252 char *pt; in ul_asc() local
258 pt = str + len - 1; in ul_asc()
266 while (pt >= str) { in ul_asc()
275 while (pt >= str) { in ul_asc()
285 while (pt >= str) in ul_asc()
286 *pt-- = '0'; in ul_asc()
348 char *pt; in uqd_asc() local
354 pt = str + len - 1; in uqd_asc()
362 while (pt >= str) { in uqd_asc()
381 while (pt >= str) in uqd_asc()
[all …]
H A Dtar.c149 char *pt; in ul_oct() local
160 *pt-- = ' '; in ul_oct()
164 *pt-- = ' '; in ul_oct()
169 *pt-- = ' '; in ul_oct()
183 *pt-- = '0'; in ul_oct()
203 char *pt; in uqd_oct() local
214 *pt-- = ' '; in uqd_oct()
257 char *pt; in tar_chksm() local
263 pt = blk; in tar_chksm()
369 char *pt; in tar_rd() local
[all …]
/freebsd-14.2/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-14.2/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-14.2/lib/libc/stdtime/
H A Dstrftime.c264 pt = _add("kitchen sink", pt, ptlim); in _fmt()
292 pt = _add("\n", pt, ptlim); in _fmt()
303 pt = _fmt(tptr->ampm_fmt, t, pt, ptlim, in _fmt()
324 pt = _add(buf, pt, ptlim); in _fmt()
331 pt = _add("\t", pt, ptlim); in _fmt()
483 pt = _add(t->TM_ZONE, pt, ptlim); in _fmt()
542 pt = _add(sign, pt, ptlim); in _fmt()
552 pt = _fmt(tptr->date_fmt, t, pt, ptlim, in _fmt()
600 while (pt < ptlim && (*pt = *str++) != '\0') in _add()
601 ++pt; in _add()
[all …]
/freebsd-14.2/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-14.2/sbin/nvmecontrol/
H A Dns.c423 memset(&pt, 0, sizeof(pt)); in nsactive()
468 memset(&pt, 0, sizeof(pt)); in nsallocated()
513 memset(&pt, 0, sizeof(pt)); in nscontrollers()
613 memset(&pt, 0, sizeof(pt)); in nscreate()
663 memset(&pt, 0, sizeof(pt)); in nsdelete()
730 memset(&pt, 0, sizeof(pt)); in nsattach()
749 memset(&pt, 0, sizeof(pt)); in nsattach()
800 memset(&pt, 0, sizeof(pt)); in nsdetach()
826 memset(&pt, 0, sizeof(pt)); in nsdetach()
875 memset(&pt, 0, sizeof(pt)); in nsattached()
[all …]
H A Dresv.c254 memset(&pt, 0, sizeof(pt)); in resvacquire()
259 pt.buf = &data; in resvacquire()
261 pt.is_read = 0; in resvacquire()
293 memset(&pt, 0, sizeof(pt)); in resvregister()
298 pt.buf = &data; in resvregister()
300 pt.is_read = 0; in resvregister()
331 memset(&pt, 0, sizeof(pt)); in resvrelease()
336 pt.buf = &data; in resvrelease()
338 pt.is_read = 0; in resvrelease()
371 memset(&pt, 0, sizeof(pt)); in resvreport()
[all …]
H A Dnvmecontrol.c102 struct nvme_pt_command pt; in read_controller_data() local
104 memset(&pt, 0, sizeof(pt)); in read_controller_data()
106 pt.cmd.cdw10 = htole32(1); in read_controller_data()
107 pt.buf = cdata; in read_controller_data()
108 pt.len = sizeof(*cdata); in read_controller_data()
109 pt.is_read = 1; in read_controller_data()
125 struct nvme_pt_command pt; in read_namespace_data() local
127 memset(&pt, 0, sizeof(pt)); in read_namespace_data()
131 pt.buf = nsdata; in read_namespace_data()
132 pt.len = sizeof(*nsdata); in read_namespace_data()
[all …]
H A Dpower.c103 struct nvme_pt_command pt; in power_set() local
107 memset(&pt, 0, sizeof(pt)); in power_set()
108 pt.cmd.opc = NVME_OPC_SET_FEATURES; in power_set()
112 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0) in power_set()
115 if (nvme_completion_is_error(&pt.cpl)) in power_set()
122 struct nvme_pt_command pt; in power_show() local
124 memset(&pt, 0, sizeof(pt)); in power_show()
125 pt.cmd.opc = NVME_OPC_GET_FEATURES; in power_show()
126 pt.cmd.cdw10 = htole32(NVME_FEAT_POWER_MANAGEMENT); in power_show()
128 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0) in power_show()
[all …]
H A Dfirmware.c160 struct nvme_pt_command pt; in update_firmware() local
181 memset(&pt, 0, sizeof(pt)); in update_firmware()
185 pt.buf = chunk; in update_firmware()
186 pt.len = size; in update_firmware()
187 pt.is_read = 0; in update_firmware()
192 if (nvme_completion_is_error(&pt.cpl)) in update_firmware()
204 struct nvme_pt_command pt; in activate_firmware() local
207 memset(&pt, 0, sizeof(pt)); in activate_firmware()
210 pt.is_read = 0; in activate_firmware()
216 sc = NVME_STATUS_GET_SC(pt.cpl.status); in activate_firmware()
[all …]
H A Dpassthru.c161 struct nvme_pt_command pt; in passthru() local
226 memset(&pt, 0, sizeof(pt)); in passthru()
227 pt.cmd.opc = opt.opcode; in passthru()
228 pt.cmd.fuse = opt.flags; in passthru()
229 pt.cmd.cid = htole16(opt.rsvd); in passthru()
231 pt.cmd.rsvd2 = htole32(opt.cdw2); in passthru()
232 pt.cmd.rsvd3 = htole32(opt.cdw3); in passthru()
233 pt.cmd.cdw10 = htole32(opt.cdw10); in passthru()
239 pt.buf = data; in passthru()
240 pt.len = opt.data_len; in passthru()
[all …]
H A Dselftest.c59 struct nvme_pt_command pt; in selftest_op() local
61 memset(&pt, 0, sizeof(pt)); in selftest_op()
62 pt.cmd.opc = NVME_OPC_DEVICE_SELF_TEST; in selftest_op()
63 pt.cmd.nsid = htole32(nsid); in selftest_op()
64 pt.cmd.cdw10 = htole32(stc); in selftest_op()
66 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0) in selftest_op()
69 if (NVME_STATUS_GET_SCT(pt.cpl.status) == NVME_SCT_COMMAND_SPECIFIC && in selftest_op()
70 NVME_STATUS_GET_SC(pt.cpl.status) == NVME_SC_SELF_TEST_IN_PROGRESS) in selftest_op()
72 else if (nvme_completion_is_error(&pt.cpl)) in selftest_op()
/freebsd-14.2/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-14.2/lib/libc/gen/
H A Dgetcwd.c77 if (pt) { in getcwd()
87 ept = pt + size; in getcwd()
93 if (__getcwd(pt, ept - pt) == 0) { in getcwd()
94 if (*pt != '/') { in getcwd()
95 bpt = pt; in getcwd()
96 ept = pt + strlen(pt) - 1; in getcwd()
103 return (pt); in getcwd()
136 return (pt); in getcwd()
194 off = bpt - pt; in getcwd()
196 if ((pt = reallocf(pt, ptsize *= 2)) == NULL) in getcwd()
[all …]
/freebsd-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/usr.bin/systat/
H A Dpigs.c63 } *pt = NULL; variable
94 qsort(pt, nproc, sizeof (struct p_times), compar); in showpigs()
99 for (k = 0; i > 0 && pt[k].pt_pctcpu > 0.01; i--, y++, k++) { in showpigs()
100 uname = user_from_uid(pt[k].pt_kp->ki_uid, 0); in showpigs()
101 pname = pt[k].pt_kp->ki_comm; in showpigs()
108 for (j = pt[k].pt_pctcpu * 50 + 0.5; j > 0; j--) in showpigs()
155 if ((pt = realloc(pt, nproc * sizeof(*pt))) == NULL) { in fetchpigs()
165 pt[i].pt_kp = &kpp[i]; in fetchpigs()
166 pctp = &pt[i].pt_pctcpu; in fetchpigs()

12345678910>>...12