| /freebsd/sys/contrib/dpdk_rte_lpm/ |
| H A D | rte_lpm.c | 62 #define VERIFY_DEPTH(depth) do { \ argument 63 if ((depth == 0) || (depth > RTE_LPM_MAX_DEPTH)) \ 64 rte_panic("LPM: Invalid depth (%u) at line %d", \ 65 (unsigned)(depth), __LINE__); \ 68 #define VERIFY_DEPTH(depth) argument 72 * Converts a given depth value to its corresponding mask value. 74 * depth (IN) : range = 1 - 32 78 depth_to_mask(uint8_t depth) in depth_to_mask() argument 80 VERIFY_DEPTH(depth); in depth_to_mask() 85 return (int)0x80000000 >> (depth - 1); in depth_to_mask() [all …]
|
| H A D | rte_lpm6.c | 57 uint32_t depth :8; /**< Rule depth. */ member 69 uint8_t depth; /**< Rule depth. */ member 75 uint8_t depth; /**< Rule depth. */ member 113 * Takes an array of uint8_t (IPv6 address) and masks it using the depth. 114 * It leaves untouched one bit per unit in the depth variable 118 ip6_mask_addr(uint8_t *ip, uint8_t depth) in ip6_mask_addr() argument 123 part_depth = depth; in ip6_mask_addr() 217 rule_key_init(struct rte_lpm6_rule_key *key, uint8_t *ip, uint8_t depth) 220 key->depth = depth; 235 rte_lpm6_add(lpm, rule_key->ip, rule_key->depth, [all …]
|
| /freebsd/contrib/unifdef/tests/ |
| H A D | recursive.experr | 24 unifdef: process line 1 PLAIN -> OUTSIDE depth 0 26 unifdef: process line 2 PLAIN -> OUTSIDE depth 0 28 unifdef: process line 3 PLAIN -> OUTSIDE depth 0 30 unifdef: process line 4 PLAIN -> OUTSIDE depth 0 32 unifdef: process line 5 PLAIN -> OUTSIDE depth 0 34 unifdef: process line 6 PLAIN -> OUTSIDE depth 0 36 unifdef: process line 7 PLAIN -> OUTSIDE depth 0 53 unifdef: process line 8 IF -> PASS_MIDDLE depth 1 55 unifdef: process line 9 PLAIN -> PASS_MIDDLE depth 1 57 unifdef: process line 10 ELSE -> PASS_ELSE depth 1 [all …]
|
| /freebsd/contrib/bearssl/T0/ |
| H A D | CPU.cs | 86 * Get the current stack depth (number of elements). 88 internal int Depth { property in CPU 117 * Look at the value at depth 'depth' (0 is top of stack). The 120 internal TValue Peek(int depth) in Peek() argument 122 return stackBuf[stackPtr - depth]; in Peek() 126 * Rotate the stack at depth 'depth': the value at that depth 129 internal void Rot(int depth) in Rot() argument 131 TValue v = stackBuf[stackPtr - depth]; in Rot() 132 Array.Copy(stackBuf, stackPtr - (depth - 1), in Rot() 133 stackBuf, stackPtr - depth, depth); in Rot() [all …]
|
| /freebsd/sys/fs/ext2fs/ |
| H A D | ext2_extents.c | 83 ext4_ext_walk_index(struct inode *ip, struct ext4_extent_index *ex, int depth, in ext4_ext_walk_index() argument 114 (struct ext4_extent_header *)bp->b_data, depth); in ext4_ext_walk_index() 141 ext4_ext_walk_header(struct inode *ip, struct ext4_extent_header *eh, int depth) in ext4_ext_walk_header() argument 145 error = ext4_ext_check_header(ip, eh, depth); in ext4_ext_walk_header() 150 printf("header %p => (entries %d max %d depth %d gen %d)\n", in ext4_ext_walk_header() 158 (struct ext4_extent_index *)(eh + 1 + i), depth - 1, in ext4_ext_walk_header() 186 int k, depth, error = 0; in ext4_ext_print_path() local 188 depth = path->ep_depth; in ext4_ext_print_path() 193 for (k = 0; k <= depth && error == 0; k++, path++) { in ext4_ext_print_path() 196 depth - 1, false); in ext4_ext_print_path() [all …]
|
| /freebsd/sys/ddb/ |
| H A D | db_pprint.c | 43 u_int depth); 53 db_pprint_int(db_addr_t addr, struct ctf_type_v3 *type, u_int depth) in db_pprint_int() argument 79 * Pretty-prints a struct. Nested structs are pretty-printed up 'depth' nested 83 db_pprint_struct(db_addr_t addr, struct ctf_type_v3 *type, u_int depth) in db_pprint_struct() argument 103 if (depth > max_depth) { in db_pprint_struct() 122 db_indent = depth; in db_pprint_struct() 129 db_pprint_type(maddr, mtype, depth + 1); in db_pprint_struct() 145 db_indent = depth; in db_pprint_struct() 152 db_pprint_type(maddr, mtype, depth + 1); in db_pprint_struct() 156 db_indent = depth - 1; in db_pprint_struct() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelValueTracking.cpp | 55 Align GISelValueTracking::computeKnownAlignment(Register R, unsigned Depth) { in computeKnownAlignment() argument 59 return computeKnownAlignment(MI->getOperand(1).getReg(), Depth); in computeKnownAlignment() 73 return TL.computeKnownAlignForTargetInstr(*this, R, MRI, Depth + 1); in computeKnownAlignment() 95 unsigned Depth) { in getKnownBits() argument 100 computeKnownBitsImpl(R, Known, DemandedElts, Depth); in getKnownBits() 120 dumpResult(const MachineInstr &MI, const KnownBits &Known, unsigned Depth) { in dumpResult() argument 121 dbgs() << "[" << Depth << "] Compute known bits: " << MI << "[" << Depth in dumpResult() 122 << "] Computed for: " << MI << "[" << Depth << "] Known: 0x" in dumpResult() 124 << "[" << Depth << "] Zero: 0x" << toString(Known.Zero, 16, false) in dumpResult() 126 << "[" << Depth << "] One: 0x" << toString(Known.One, 16, false) in dumpResult() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/net/can/ |
| H A D | xilinx,can.yaml | 37 tx-fifo-depth: 39 description: CAN Tx fifo depth (Zynq, Axi CAN). 41 rx-fifo-depth: 43 description: CAN Rx fifo depth (Zynq, Axi CAN, CAN FD in sequential Rx mode) 81 - tx-fifo-depth 82 - rx-fifo-depth 98 - tx-fifo-depth 99 - rx-fifo-depth 117 - rx-fifo-depth 130 tx-fifo-depth = <0x40>; [all …]
|
| H A D | xilinx_can.txt | 19 - tx-fifo-depth : Can Tx fifo depth (Zynq, Axi CAN). 20 - rx-fifo-depth : Can Rx fifo depth (Zynq, Axi CAN, CAN FD in 37 tx-fifo-depth = <0x40>; 38 rx-fifo-depth = <0x40>; 48 tx-fifo-depth = <0x40>; 49 rx-fifo-depth = <0x40>; 60 rx-fifo-depth = <0x20>;
|
| /freebsd/sys/kern/ |
| H A D | subr_stack.c | 71 if (st->depth < STACK_MAX) { in stack_put() 72 st->pcs[st->depth++] = pc; in stack_put() 99 KASSERT(st->depth <= STACK_MAX, ("bogus stack")); in stack_print() 100 for (i = 0; i < st->depth; i++) { in stack_print() 115 KASSERT(st->depth <= STACK_MAX, ("bogus stack")); in stack_print_short() 116 for (i = 0; i < st->depth; i++) { in stack_print_short() 135 KASSERT(st->depth <= STACK_MAX, ("bogus stack")); in stack_print_ddb() 136 for (i = 0; i < st->depth; i++) { in stack_print_ddb() 151 KASSERT(st->depth <= STACK_MAX, ("bogus stack")); in stack_print_short_ddb() 152 for (i = 0; i < st->depth; i++) { in stack_print_short_ddb() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/ |
| H A D | rtsan_test_context.cpp | 51 context.RealtimePush(); // depth 1 in TEST_F() 53 context.RealtimePush(); // depth 2 in TEST_F() 55 context.RealtimePop(); // depth 1 in TEST_F() 57 context.RealtimePush(); // depth 2 in TEST_F() 59 context.RealtimePop(); // depth 1 in TEST_F() 61 context.RealtimePop(); // depth 0 in TEST_F() 63 context.RealtimePush(); // depth 1 in TEST_F() 84 context.BypassPush(); // depth 1 in TEST_F() 86 context.BypassPush(); // depth 2 in TEST_F() 88 context.BypassPop(); // depth 1 in TEST_F() [all …]
|
| /freebsd/contrib/libdivsufsort/lib/ |
| H A D | sssort.c | 143 saidx_t depth) { in ss_compare() argument 146 for(U1 = T + depth + *p1, in ss_compare() 147 U2 = T + depth + *p2, in ss_compare() 168 saidx_t *first, saidx_t *last, saidx_t depth) { in ss_insertionsort() argument 174 for(t = *i, j = i + 1; 0 < (r = ss_compare(T, PA + t, PA + *j, depth));) { in ss_insertionsort() 292 saidx_t *first, saidx_t *last, saidx_t depth) { in ss_partition() argument 296 for(; (++a < b) && ((PA[*a] + depth) >= (PA[*a + 1] + 1));) { *a = ~*a; } in ss_partition() 297 for(; (a < --b) && ((PA[*b] + depth) < (PA[*b + 1] + 1));) { } in ss_partition() 312 saidx_t depth) { in ss_mintrosort() argument 326 if(1 < (last - first)) { ss_insertionsort(T, PA, first, last, depth); } in ss_mintrosort() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | LongestCommonSequence.h | 52 for (int32_t Depth = Trace.size() - 1; X > 0 || Y > 0; Depth--) { in longestCommonSequence() local 53 const auto &P = Trace[Depth]; in longestCommonSequence() 56 if (K == -Depth || (K != Depth && P[Index(K - 1)] < P[Index(K + 1)])) in longestCommonSequence() 69 if (Depth == 0) in longestCommonSequence() 88 for (int32_t Depth = 0; Depth <= MaxDepth; Depth++) { in longestCommonSequence() local 90 for (int32_t K = -Depth; K <= Depth; K += 2) { in longestCommonSequence() 92 if (K == -Depth || (K != Depth && V[Index(K - 1)] < V[Index(K + 1)])) in longestCommonSequence()
|
| /freebsd/tests/sys/vm/ |
| H A D | shared_shadow_inval_test.c | 80 #define DEPTH 5 macro 96 volatile bool exiting[DEPTH]; 126 static void child(struct shared_state *ss, int depth); 129 child_fork(struct shared_state *ss, int depth) in child_fork() argument 135 child(ss, depth); in child_fork() 170 child_verify(struct shared_state *ss, int depth, int newval, int oldval) in child_verify() argument 181 depth, foundval, expectval, oldval); in child_verify() 186 child(struct shared_state *ss, int depth) in child() argument 190 if (depth < 1 || depth >= DEPTH) in child() 191 child_errx("Bad depth %d", depth); in child() [all …]
|
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmfmac/ |
| H A D | commonring.c | 31 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument 34 commonring->depth = depth; in brcmf_commonring_config() 75 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_write_available() 83 if (available > commonring->depth / 8) { in brcmf_commonring_write_available() 116 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write() 130 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write() 157 available = commonring->depth - commonring->w_ptr + in brcmf_commonring_reserve_for_write_multiple() 171 if (*alloced + commonring->w_ptr > commonring->depth) in brcmf_commonring_reserve_for_write_multiple() 172 *alloced = commonring->depth - commonring->w_ptr; in brcmf_commonring_reserve_for_write_multiple() 174 if (commonring->w_ptr == commonring->depth) in brcmf_commonring_reserve_for_write_multiple() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | GISelValueTracking.h | 44 const APInt &DemandedElts, unsigned Depth = 0); 47 const APInt &DemandedElts, unsigned Depth = 0); 50 FPClassTest InterestedClasses, unsigned Depth); 55 KnownFPClass &Known, unsigned Depth); 59 unsigned Depth); 71 unsigned Depth = 0); 74 unsigned Depth = 0); 75 unsigned computeNumSignBits(Register R, unsigned Depth = 0); 80 unsigned Depth = 0); 104 Align computeKnownAlignment(Register R, unsigned Depth = 0); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 136 unsigned Depth); 139 const SimplifyQuery &Q, unsigned Depth) { in computeKnownBits() argument 146 ::computeKnownBits(V, DemandedElts, Known, Q, Depth); in computeKnownBits() 152 bool UseInstrInfo, unsigned Depth) { in computeKnownBits() argument 155 Depth); in computeKnownBits() 161 unsigned Depth) { in computeKnownBits() argument 163 V, SimplifyQuery(DL, DT, AC, safeCxtI(V, CxtI), UseInstrInfo), Depth); in computeKnownBits() 170 unsigned Depth) { in computeKnownBits() argument 173 SimplifyQuery(DL, DT, AC, safeCxtI(V, CxtI), UseInstrInfo), Depth); in computeKnownBits() 270 unsigned Depth) { in isKnownToBeAPowerOfTwo() argument [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Template.h | 74 /// list will contain a template argument list (int) at depth 0 and a 75 /// template argument list (17) at depth 1. 77 /// The template argument list at a certain template depth 133 // Determine the number of substituted args at 'Depth'. 134 unsigned getNumSubsitutedArgs(unsigned Depth) const { in getNumSubsitutedArgs() argument 135 assert(NumRetainedOuterLevels <= Depth && Depth < getNumLevels()); in getNumSubsitutedArgs() 136 return TemplateArgumentLists[getNumLevels() - Depth - 1].Args.size(); in getNumSubsitutedArgs() 153 /// Retrieve the template argument at a given depth and index. 154 const TemplateArgument &operator()(unsigned Depth, unsigned Index) const { in operator() 155 assert(NumRetainedOuterLevels <= Depth && Depth < getNumLevels()); in operator() [all …]
|
| /freebsd/secure/lib/libcrypto/man/man3/ |
| H A D | SSL_CTX_set_verify.3 | 86 \& void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth); 87 \& void SSL_set_verify_depth(SSL *ssl, int depth); 122 callback (e.g., at a lower depth, or for a separate error condition) returns 0. 124 \&\fBSSL_CTX_set_verify_depth()\fR sets the maximum \fBdepth\fR for the certificate chain 127 \&\fBSSL_set_verify_depth()\fR sets the maximum \fBdepth\fR for the certificate chain 207 application provided procedure also has access to the verify depth information 214 end\-entity nor the trust\-anchor certificates count against \fBdepth\fR. If the 215 certificate chain needed to reach a trusted issuer is longer than \fBdepth+2\fR, 217 The depth count is "level 0:peer certificate", "level 1: CA certificate", 219 depth to 2 allows the levels 0, 1, 2 and 3 (0 being the end\-entity and 3 the [all …]
|
| /freebsd/sys/contrib/libfdt/ |
| H A D | fdt.c | 165 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument 184 if (depth) in fdt_next_node() 185 (*depth)++; in fdt_next_node() 189 if (depth && ((--(*depth)) < 0)) in fdt_next_node() 195 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node() 207 int depth = 0; in fdt_first_subnode() local 209 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode() 210 if (offset < 0 || depth != 1) in fdt_first_subnode() 218 int depth = 1; in fdt_next_subnode() local 221 * With respect to the parent, the depth of the next subnode will be in fdt_next_subnode() [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zfs_list/ |
| H A D | zfs_list_008_neg.ksh | 37 # A negative depth or a non numeric depth should fail in 'zfs list -d <n>' 40 # 1. Run zfs list -d with negative depth or non numeric depth 46 log_assert "A negative depth or a non numeric depth should fail in 'zfs list -d <n>'" 57 log_pass "A negative depth or a non numeric depth should fail in 'zfs list -d <n>'"
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_get/ |
| H A D | zfs_get_010_neg.ksh | 38 # A negative depth or a non numeric depth should fail in 'zfs get -d <n>' 41 # 1. Run zfs get -d with negative depth or non numeric depth 47 log_assert "A negative depth or a non numeric depth should fail in 'zfs get -d <n>'" 58 log_pass "A negative depth or a non numeric depth should fail in 'zfs get -d <n>'"
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/sparc64/ |
| H A D | modsi3.S | 36 * $1 -- the current depth, 1<=$1<=4 38 * 4 -- max depth 163 !depth 1, accumulated bits 0 168 !depth 2, accumulated bits 1 173 !depth 3, accumulated bits 3 178 !depth 4, accumulated bits 7 193 !depth 4, accumulated bits 5 208 !depth 3, accumulated bits 1 213 !depth 4, accumulated bits 3 228 !depth 4, accumulated bits 1 [all …]
|
| H A D | divsi3.S | 36 * $1 -- the current depth, 1<=$1<=4 38 * 4 -- max depth 163 !depth 1, accumulated bits 0 168 !depth 2, accumulated bits 1 173 !depth 3, accumulated bits 3 178 !depth 4, accumulated bits 7 193 !depth 4, accumulated bits 5 208 !depth 3, accumulated bits 1 213 !depth 4, accumulated bits 3 228 !depth 4, accumulated bits 1 [all …]
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | SSL_CTX_set_verify.pod | 24 void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth); 25 void SSL_set_verify_depth(SSL *ssl, int depth); 60 callback (e.g., at a lower depth, or for a separate error condition) returns 0. 62 SSL_CTX_set_verify_depth() sets the maximum B<depth> for the certificate chain 65 SSL_set_verify_depth() sets the maximum B<depth> for the certificate chain 155 application provided procedure also has access to the verify depth information 162 end-entity nor the trust-anchor certificates count against B<depth>. If the 163 certificate chain needed to reach a trusted issuer is longer than B<depth+2>, 165 The depth count is "level 0:peer certificate", "level 1: CA certificate", 167 depth to 2 allows the levels 0, 1, 2 and 3 (0 being the end-entity and 3 the [all …]
|