Home
last modified time | relevance | path

Searched +full:tf +full:- +full:a (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/freebsd/sys/kern/
H A Dsubr_filter.c1 /*-
2 * Copyright (c) 2016-2019 Netflix, Inc.
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
37 reset_time(struct time_filter *tf, uint32_t time_len) in reset_time() argument
39 tf->cur_time_limit = time_len; in reset_time()
43 reset_time_small(struct time_filter_small *tf, uint32_t time_len) in reset_time_small() argument
45 tf->cur_time_limit = time_len; in reset_time_small()
49 * A time filter can be a filter for MIN or MAX.
56 * to the filter. You also provide a time (now). The filter will
59 * window of time. Time is a relative thing, it might be ticks
[all …]
/freebsd/stand/libsa/
H A Dpkgfs.c1 /*-
2 * Copyright (c) 2007-2014, Juniper Networks, Inc.
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
132 static int cache_data(struct tarfile *tf, int);
138 struct tarfile *tf, *tfn; in pkgfs_cleanup() local
141 inflateEnd(&package->pkg_zs); in pkgfs_cleanup()
142 close(package->pkg_fd); in pkgfs_cleanup()
144 tf = package->pkg_first; in pkgfs_cleanup()
145 while (tf != NULL) { in pkgfs_cleanup()
146 tfn = tf->tf_next; in pkgfs_cleanup()
[all …]
/freebsd/sys/powerpc/powerpc/
H A Dexec_machdep.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause AND BSD-2-Clause
24 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
33 /*-
48 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
152 struct trapframe *tf; in sendsig() local
169 p = td->td_proc; in sendsig()
172 psp = p->p_sigacts; in sendsig()
173 mtx_assert(&psp->ps_mtx, MA_OWNED); in sendsig()
174 tf = td->td_frame; in sendsig()
[all …]
/freebsd/sys/sys/
H A Dtim_filter.h3 /*-
4 * Copyright (c) 2016-9 Netflix, Inc.
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
37 * the cache-line size for an amd64 processor. Other processors
66 * To conserve on space there is a code duplication here (this
68 * is duplicated to have a filter with a value of uint32_t instead
69 * of a uint64_t. This saves 20 bytes and the structure size
83 int setup_time_filter(struct time_filter *tf, int fil_type, uint32_t time_len);
84 void reset_time(struct time_filter *tf, uint32_t time_len);
85 void forward_filter_clock(struct time_filter *tf, uint32_t ticks_forward);
[all …]
/freebsd/contrib/openpam/t/
H A Dt_openpam_readlinev.c1 /*-
2 * Copyright (c) 2012-2017 Dag-Erling Smørgrav
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
56 * Read a line from the temp file and verify that the result matches our
57 * expectations: whether a line was read at all, how many and which words
62 orlv_expect(struct t_file *tf, const char **expectedv, int lines, int eof) in orlv_expect() argument
73 gotv = openpam_readlinev(tf->file, &lineno, &gotc); in orlv_expect()
74 if (t_ferror(tf)) in orlv_expect()
75 err(1, "%s(): %s", __func__, tf->name); in orlv_expect()
102 if (eof && !t_feof(tf)) { in orlv_expect()
[all …]
H A Dt_openpam_readword.c1 /*-
2 * Copyright (c) 2012-2017 Dag-Erling Smørgrav
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
55 * Read a word from the temp file and verify that the result matches our
56 * expectations: whether a word was read at all, how many lines were read
61 orw_expect(struct t_file *tf, const char *expected, int lines, int eof, int eol) in orw_expect() argument
68 got = openpam_readword(tf->file, &lineno, &len); in orw_expect()
70 if (t_ferror(tf)) in orw_expect()
71 err(1, "%s(): %s", __func__, tf->name); in orw_expect()
88 if (eof && !t_feof(tf)) { in orw_expect()
[all …]
/freebsd/contrib/bmake/
H A Dimport.sh6 GIT=${GIT:-git}
7 PAGER=${PAGER:-${LESS:-${MORE:-more}}}
16 [ $# -eq 1 ] || Error "Cd() takes a single parameter."
28 --) shift; break;;
29 -a) TARBAL
[all...]
/freebsd/sys/arm/arm/
H A Dtrap-v6.c1 /*-
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
92 * - Always fatal as we do not know what does it mean.
94 * - Always fatal, but can be handled somehow in the future.
97 * - Always fatal, but who knows in the future???
99 * - Special handling.
101 * - Always fatal as something is screwed up in page tables or hardware.
103 * - Always fatal as we do not play game with domains.
105 * - Everything should be aligned in kernel with exception of user to kernel
109 * - According to manual, this is translation fault during cache maintenance
[all …]
H A Dexec_machdep.c3 /*-
4 * SPDX-License-Identifier: BSD-4-Clause
7 * Copyright (c) 1994-1998 Mark Brinicombe.
31 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
79 struct trapframe *tf = td->td_frame; in exec_setregs() local
81 memset(tf, 0, sizeof(*tf)); in exec_setregs()
82 tf->tf_usr_sp = stack; in exec_setregs()
83 tf->tf_usr_lr = imgp->entry_addr; in exec_setregs()
84 tf->tf_svc_lr = 0x77777777; in exec_setregs()
85 tf->tf_pc = imgp->entry_addr; in exec_setregs()
[all …]
/freebsd/sys/arm/include/
H A Dpmc_mdep.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
36 * ARMV7 ARM Cortex-A processors
57 #define PMC_TRAPFRAME_TO_PC(TF) ((TF)->tf_pc) argument
58 #define PMC_TRAPFRAME_TO_FP(TF) ((TF)->tf_r11) argument
59 #define PMC_TRAPFRAME_TO_SVC_SP(TF) ((TF)->tf_svc_sp) argument
60 #define PMC_TRAPFRAME_TO_USR_SP(TF) ((TF)->tf_usr_sp) argument
61 #define PMC_TRAPFRAME_TO_SVC_LR(TF) ((TF)->tf_svc_lr) argument
62 #define PMC_TRAPFRAME_TO_USR_LR(TF) ((TF)->tf_usr_lr) argument
[all …]
/freebsd/sys/riscv/riscv/
H A Dexec_machdep.c1 /*-
3 * Copyright (c) 2015-2017 Ruslan Bukin <br@bsdpad.com>
8 * FA8750-10-C-0237 ("CTSRD"), as part of the DARPA CRASH research programme.
25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
83 frame = td->td_frame; in fill_regs()
84 regs->sepc = frame->tf_sepc; in fill_regs()
85 regs->sstatus = frame->tf_sstatus; in fill_regs()
86 regs->ra = frame->tf_ra; in fill_regs()
87 regs->sp = frame->tf_sp; in fill_regs()
88 regs->gp = frame->tf_gp; in fill_regs()
[all …]
/freebsd/sys/arm64/arm64/
H A Dexec_machdep.c1 /*-
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
74 frame = td->td_frame; in fill_regs()
75 regs->sp = frame->tf_sp; in fill_regs()
76 regs->lr = frame->tf_lr; in fill_regs()
77 regs->elr = frame->tf_elr; in fill_regs()
78 regs->spsr = frame->tf_spsr; in fill_regs()
80 memcpy(regs->x, frame->tf_x, sizeof(regs->x)); in fill_regs()
84 * We may be called here for a 32bits process, if we're using a in fill_regs()
87 if (SV_PROC_FLAG(td->td_proc, SV_ILP32)) { in fill_regs()
[all …]
H A Dvm_machdep.c1 /*-
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
65 * Finish a fork operation, with process p2 nearly set up.
73 struct trapframe *tf; in cpu_fork() local
84 td1->td_pcb->pcb_tpidr_el0 = READ_SPECIALREG(tpidr_el0); in cpu_fork()
85 td1->td_pcb->pcb_tpidrro_el0 = READ_SPECIALREG(tpidrro_el0); in cpu_fork()
87 if ((td1->td_pcb->pcb_fpflags & PCB_FP_STARTED) != 0) in cpu_fork()
88 vfp_save_state(td1, td1->td_pcb); in cpu_fork()
92 pcb2 = (struct pcb *)(td2->td_kstack + in cpu_fork()
93 td2->td_kstack_pages * PAGE_SIZE) - 1; in cpu_fork()
[all …]
/freebsd/sys/i386/i386/
H A Ddb_trace.c1 /*-
21 * Pittsburgh PA 15213-3890
79 get_esp(struct trapframe *tf) in get_esp() argument
81 return (TF_HAS_STACKREGS(tf) ? tf->tf_esp : (intptr_t)&tf->tf_esp); in get_esp()
92 reg = (int *)((uintptr_t)kdb_frame + (db_expr_t)vp->valuep); in db_frame()
110 off = (intptr_t)vp->valuep; in db_frame_seg()
111 if (kdb_frame->tf_eflags & PSL_VM) { in db_frame_seg()
113 switch ((intptr_t)vp->valuep) { in db_frame_seg()
115 reg = (uint16_t *)&tfp->tf_cs; in db_frame_seg()
118 reg = (uint16_t *)&tfp->tf_vm86_ds; in db_frame_seg()
[all …]
H A Dexec_machdep.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
12 * Portions of this software were developed by A. Joseph Koshy under
33 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
139 p = td->td_proc; in osendsig()
141 sig = ksi->ksi_signo; in osendsig()
142 psp = p->p_sigacts; in osendsig()
143 mtx_assert(&psp->ps_mtx, MA_OWNED); in osendsig()
144 regs = td->td_frame; in osendsig()
145 oonstack = sigonstack(regs->tf_esp); in osendsig()
[all …]
/freebsd/sys/i386/include/
H A Dpmc_mdep.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2003-2005,2008 Joseph Koshy
8 * Portions of this software were developed by A. Joseph Koshy under
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
47 * IAF Intel fixed-function PMCs.
49 * UCF Intel Uncore fixed-function PMCs.
100 #define PMC_TRAPFRAME_TO_PC(TF) ((TF)->tf_eip) argument
101 #define PMC_TRAPFRAME_TO_FP(TF) ((TF)->tf_ebp) argument
105 * whether a privilege level change (and consequent stack switch) was
[all …]
/freebsd/sys/amd64/include/
H A Dpmc_mdep.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2003-2008 Joseph Koshy
8 * Portions of this software were developed by A. Joseph Koshy under
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
67 * IAF Intel fixed-function PMCs in Core2 and later CPUs.
69 * UCF Intel Uncore fixed-function PMCs.
94 #define PMC_TRAPFRAME_TO_PC(TF) ((TF)->tf_rip) argument
95 #define PMC_TRAPFRAME_TO_FP(TF) ((TF)->tf_rbp) argument
96 #define PMC_TRAPFRAME_TO_USER_SP(TF) ((TF)->tf_rsp) argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.h1 //===-- PPCInstrInfo.h - PowerPC Instruction Information --------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
28 // form if the correct input is a result of a load immediate. In order to
34 // Does the immediate need to be a multiple of some value?
44 // The operand number to check for add-immediate def.
58 // Information required to convert an instruction to just a materialized
194 // If the inst is imm-form and its register operand is produced by a ADDI, put
198 // If the inst is x-form and has imm-form and one of its operand is produced
[all …]
/freebsd/sys/amd64/amd64/
H A Ddb_trace.c1 /*-
21 * Pittsburgh PA 15213-3890
52 CTASSERT(sizeof(struct dbreg) == sizeof(((struct pcpu *)NULL)->pc_dbreg));
94 reg = (uint16_t *)((uintptr_t)kdb_frame + (db_expr_t)vp->valuep); in db_frame_seg()
110 reg = (long *)((uintptr_t)kdb_frame + (db_expr_t)vp->valuep); in db_frame()
140 struct trapframe *tf; in db_nextframe() local
158 * the instruction at the saved EIP will be part of a different in db_nextframe()
163 sym = db_search_symbol(rip - 1, DB_STGY_ANY, &offset); in db_nextframe()
210 db_printf("--- invalid trapframe %p\n", (void *)tf_addr); in db_nextframe()
215 tf = (struct trapframe *)tf_addr; in db_nextframe()
[all …]
/freebsd/stand/userboot/test/
H A Dtest.c1 /*-
3 * Copyright (c) 2023-2024 Juniper Networks, Inc.
17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
60 int disk_index = -1;
83 return -1; in test_poll()
112 struct test_file *tf, int depth) in test_open()
127 if (tf == NULL) { in test_open()
128 tf = calloc(1, sizeof(struct test_file)); in test_open()
129 if (tf == NULL) in test_open()
132 } else if (tf in test_open()
109 struct test_file *tf; test_open() local
151 struct test_file *tf = h; test_close() local
165 struct test_file *tf = h; test_isdir() local
173 struct test_file *tf = h; test_read() local
189 struct test_file *tf = h; test_readdir() local
215 struct test_file *tf = h; test_seek() local
227 struct test_file *tf = h; test_stat() local
[all...]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_offline/
H A Dzpool_offline_002_neg.ksh1 #!/bin/ksh -p
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or https://opensource.org/licenses/CDDL-1.0.
48 set -A args "" "-?" "-t fakepool" "-f fakepool" "-ev fakepool" "fakepool" \
49 "-t $TESTPOOL" "-t $TESTPOOL/$TESTFS" "-t $TESTPOOL/$TESTFS $DISKLIST" \
50 "-t $TESTPOOL/$TESTCTR" "-t $TESTPOOL/$TESTCTR/$TESTFS1" \
51 "-t $TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \
52 "-t $TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" \
53 "-t $TESTPOOL/$TESTVOL $DISKLIST" \
54 "-t $DISKLIST" \
[all …]
/freebsd/stand/efi/loader/arch/amd64/
H A Dtrap.c1 /*-
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
57 * IST-specified one, e.g. to handle #SS. If hand-off cannot find
58 * unused IST slot, or create a new descriptor in GDT, we bail out.
83 void report_exc(struct trapframe *tf);
85 report_exc(struct trapframe *tf) in report_exc() argument
92 base = (uintptr_t)boot_img->ImageBase; in report_exc()
100 printf("Exception %u\n", tf->tf_trapno); in report_exc()
103 (uint16_t)tf->tf_ss, (uint16_t)tf->tf_cs, (uint16_t)tf->tf_ds, in report_exc()
104 (uint16_t)tf->tf_es, (uint16_t)tf->tf_fs, (uint16_t)tf->tf_gs); in report_exc()
[all …]
/freebsd/share/mk/
H A Dmeta2deps.sh4 # meta2deps.sh - extract useful info from .meta files
21 # CMD "command-line"
24 # -- command output --
25 # -- filemon acquired metadata --
[all...]
/freebsd/contrib/bmake/mk/
H A Dmeta2deps.sh4 # meta2deps.sh - extract useful info from .meta files
21 # CMD "command-line"
24 # -- command output --
25 # -- filemon acquired metadata --
[all...]
/freebsd/contrib/bmake/unit-tests/
H A Dmeta-cmd-cmp.mk1 # $NetBSD: meta-cmd-cmp.mk,v 1.6 2022/03/02 19:32:15 sjg Exp $
9 tf:= .${.PARSEFILE:R}
14 CLEANFILES= ${tf}*
17 @rm -f ${CLEANFILES}
24 tests= ${tf}.cmp ${tf}.nocmp ${tf}.cmp2
25 filter_tests= ${tf}.filter
27 ${tf}.cmp:
30 ${tf}.nocmp: .NOMETA_CMP
33 # a line containing ${.OODATE} will not be compared
35 ${tf}.cmp2:
[all …]

12345678910>>...13