Home
last modified time | relevance | path

Searched +full:- +full:- +full:depth (Results 1 – 25 of 1009) sorted by relevance

12345678910>>...41

/freebsd/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm.c1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2014 Intel Corporation
59 /* Macro to enable/disable run-time checks. */
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
[all …]
H A Drte_lpm6.c1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2014 Intel Corporation
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()
132 part_depth -= BYTE_SIZE; in ip6_mask_addr()
[all …]
/freebsd/contrib/unifdef/tests/
H A Drecursive.experr24 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/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp1 //===- lib/CodeGen/GlobalISel/GISelKnownBits.cpp --------------*- C++ *-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
26 #define DEBUG_TYPE "gisel-known-bits"
39 Align GISelKnownBits::computeKnownAlignment(Register R, unsigned Depth) { in computeKnownAlignment() argument
41 switch (MI->getOpcode()) { in computeKnownAlignment()
43 return computeKnownAlignment(MI->getOperand(1).getReg(), Depth); in computeKnownAlignment()
46 return Align(MI->getOperand(2).getImm()); in computeKnownAlignment()
49 int FrameIdx = MI->getOperand(1).getIndex(); in computeKnownAlignment()
[all …]
/freebsd/sys/fs/ext2fs/
H A Dext2_extents.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
74 fs = ip->i_e2fs; in ext4_ext_blk_check()
76 if (blk < fs->e2fs->e2fs_first_dblock || blk >= fs->e2fs_bcount) in ext4_ext_blk_check()
83 ext4_ext_walk_index(struct inode *ip, struct ext4_extent_index *ex, int depth, in ext4_ext_walk_index() argument
141 ext4_ext_walk_header(struct inode * ip,struct ext4_extent_header * eh,int depth) ext4_ext_walk_header() argument
186 int k, depth, error = 0; ext4_ext_print_path() local
340 ext4_ext_max_entries(struct inode * ip,int depth) ext4_ext_max_entries() argument
404 ext4_validate_extent_entries(struct inode * ip,struct ext4_extent_header * eh,int depth) ext4_validate_extent_entries() argument
448 ext4_ext_check_header(struct inode * ip,struct ext4_extent_header * eh,int depth) ext4_ext_check_header() argument
575 int depth, i; ext4_ext_drop_refs() local
607 int error, depth, i, ppos, alloc; ext4_ext_find_extent() local
743 int depth; ext4_ext_blkpref() local
793 int depth = path->ep_depth; ext4_ext_next_leaf_block() local
929 int depth = ext4_ext_inode_depth(ip); ext4_ext_split() local
1147 int depth, i, error; ext4_ext_create_new_leaf() local
1202 int depth, k; ext4_ext_correct_indexes() local
1241 int depth, len, error, next; ext4_ext_insert_extent() local
1404 int error = 0, depth; ext4_ext_get_blocks() local
1556 int depth; ext4_ext_rm_leaf() local
1640 ext4_read_extent_tree_block(struct inode * ip,e4fs_daddr_t pblk,int depth,int flags) ext4_read_extent_tree_block() argument
1696 int depth; ext4_ext_remove_space() local
[all...]
/freebsd/contrib/bearssl/T0/
H A DCPU.cs58 stackPtr = -1; in CPU()
86 * Get the current stack depth (number of elements).
88 internal int Depth { property in CPU
99 return stackBuf[stackPtr --]; in Pop()
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()
[all …]
/freebsd/sys/ddb/
H A Ddb_pprint.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
44 u_int depth);
51 * Pretty-prints a CTF_INT type.
54 db_pprint_int(db_addr_t addr, struct ctf_type_v3 *type, u_int depth) in db_pprint_int() argument
59 type_struct_size = (type->ctt_size == CTF_V3_LSIZE_SENT) ? in db_pprint_int()
80 * Pretty-prints a struct. Nested structs are pretty-printed up 'depth' nested
84 db_pprint_struct(db_addr_t addr, struct ctf_type_v3 *type, u_int depth) in db_pprint_struct() argument
93 type_struct_size = (type->ctt_size == CTF_V3_LSIZE_SENT) ? in db_pprint_struct()
96 struct_size = ((type->ctt_size == CTF_V3_LSIZE_SENT) ? in db_pprint_struct()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/can/
H A Dxilinx,can.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schema
[all...]
H A Dxilinx_can.txt2 ---------------------------------------------------------
5 - compatible : Should be:
6 - "xlnx,zynq-can-1.0" for Zynq CAN controllers
7 - "xlnx,axi-can-1.00.a" for Axi CAN controllers
8 - "xlnx,canfd-1.0" for CAN FD controllers
9 - "xlnx,canfd-2.0" for CAN FD 2.0 controllers
10 - reg : Physical base address and size of the controller
12 - interrupts : Property with a value describing the interrupt
14 - clock-names : List of input clock names
15 - "can_clk", "pclk" (For CANPS),
[all …]
/freebsd/sys/kern/
H A Dsubr_stack.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
71 if (st->depth < STACK_MAX) { in stack_put()
72 st->pcs[st->depth++] = pc; in stack_put()
75 return (-1); 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()
101 (void)stack_symbol(st->pcs[i], namebuf, sizeof(namebuf), in stack_print()
103 printf("#%d %p at %s+%#lx\n", i, (void *)st->pcs[i], in stack_print()
115 KASSERT(st->depth <= STACK_MAX, ("bogus stack")); in stack_print_short()
[all …]
/freebsd/contrib/libdivsufsort/lib/
H A Dsssort.c3 * Copyright (c) 2003-2008 Yuta Mori All Rights Reserved.
30 /*- Private Functions -*/
33 -1,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
121 y = sqq_table[x >> ((e - 6) - (e & 1))] << ((e >> 1) - 7); in ss_isqrt()
125 y = (sqq_table[x >> ((e - 6) - (e & 1))] >> (7 - (e >> 1))) + 1; in ss_isqrt()
130 return (x < (y * y)) ? y - 1 : y; in ss_isqrt()
136 /*---------------------------------------------------------------------------*/
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()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h1 //===- SemaTemplate.h - C++ Templates ---------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //===----------------------------------------------------------------------===//
10 //===----------------------------------------------------------------------===//
73 /// When instantiating X<int>::Y<17>::f, the multi-level template argument
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
104 /// Construct a single-level template argument list.
133 // Determine the number of substituted args at 'Depth'.
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DScoreboardHazardRecognizer.h1 //=- llvm/CodeGen/ScoreboardHazardRecognizer.h - Schedule Support -*- C++ -*-=//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // encapsulates hazard-avoidance heuristics for scheduling, based on the
13 //===----------------------------------------------------------------------===//
37 // bottom-up scheduler, then the scoreboard cycles are the inverse of the
45 size_t Depth = 0; variable
58 size_t getDepth() const { return Depth; } in getDepth()
61 // Depth is expected to be a power-of-2.
62 assert(Depth && !(Depth & (Depth - 1)) &&
[all …]
/freebsd/tests/sys/vm/
H A Dshared_shadow_inval_test.c42 * The issue became CVE-2021-29626.
45 * standalone program with -DSTANDALONE (and optionally -DDEBUG).
71 #include <atf-c.h>
80 #define DEPTH 5 macro
96 volatile bool exiting[DEPTH];
106 * P0 -> P1 -> P2 => P3
115 ss->exit = true; \
120 ss->exit = true; \
126 static void child(struct shared_state *ss, int depth);
129 child_fork(struct shared_state *ss, int depth) in child_fork() argument
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list_008_neg.ksh1 #!/bin/ksh -p
10 # or https://opensource.org/licenses/CDDL-1.0.
36 # A negative depth or a non numeric depth should fail in 'zfs list -d <n>'
39 # 1. Run zfs list -d with negative depth or non numeric depth
45 log_assert "A negative depth or a non numeric depth should fail in 'zfs list -d <n>'"
47 set -A badargs "a" "AB" "aBc" "2A" "a2b" "aB2" "-1" "-32" "-999"
49 typeset -i i=0
52 log_mustnot eval "zfs list -d ${badargs[i]} $DEPTH_FS >/dev/null 2>&1"
56 log_pass "A negative depth or a non numeric depth should fail in 'zfs list -d <n>'"
/freebsd/sys/contrib/libfdt/
H A Dfdt.c2 * libfdt - Flat Device Tree manipulation
21 * MA 02110-1301 USA
63 return -FDT_ERR_BADVERSION; in fdt_check_header()
65 return -FDT_ERR_BADVERSION; in fdt_check_header()
67 /* Unfinished sequential-write blob */ in fdt_check_header()
69 return -FDT_ERR_BADSTATE; in fdt_check_header()
71 return -FDT_ERR_BADMAGIC; in fdt_check_header()
101 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
108 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
123 /* skip-name offset, length and value */ in fdt_next_tag()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/sparc64/
H A Dmodsi3.S8 * dividend -- the thing being divided
9 * divisor -- how many ways to divide it
11 * N -- how many bits per iteration we try to get
13 * WORDSIZE -- how many bits altogether we're talking about:
16 * TOPBITS -- how many bits are in the top "decade" of a number:
19 * Q -- the partial quotient under development -- initially 0
20 * R -- the remainder so far -- initially == the dividend
21 * ITER -- number of iterations of the main division loop which will
24 * V -- the current comparand -- initially divisor*2ˆ(ITER*4-1)
26 * current estimate for non-large dividend is
[all …]
H A Ddivsi3.S8 * dividend -- the thing being divided
9 * divisor -- how many ways to divide it
11 * N -- how many bits per iteration we try to get
13 * WORDSIZE -- how many bits altogether we're talking about:
16 * TOPBITS -- how many bits are in the top "decade" of a number:
19 * Q -- the partial quotient under development -- initially 0
20 * R -- the remainder so far -- initially == the dividend
21 * ITER -- number of iterations of the main division loop which will
24 * V -- the current comparand -- initially divisor*2ˆ(ITER*4-1)
26 * current estimate for non-large dividend is
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_010_neg.ksh1 #!/bin/ksh -p
10 # or https://opensource.org/licenses/CDDL-1.0.
37 # A negative depth or a non numeric depth should fail in 'zfs get -d <n>'
40 # 1. Run zfs get -d with negative depth or non numeric depth
46 log_assert "A negative depth or a non numeric depth should fail in 'zfs get -d <n>'"
48 set -A badargs "a" "AB" "aBc" "2A" "a2b" "aB2" "-1" "-32" "-999"
50 typeset -i i=0
53 log_mustnot eval "zfs get -d ${badargs[i]} $TESTPOOL/$TESTFS >/dev/null 2>&1"
57 log_pass "A negative depth or a non numeric depth should fail in 'zfs get -d <n>'"
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp1 //===- ValueTracking.cpp - Walk computations to compute properties --------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
88 static cl::opt<unsigned> DomConditionsMaxUses("dom-conditions-max-uses",
95 if (unsigned BitWidth = Ty->getScalarSizeInBits()) in getBitWidth()
106 if (CxtI && CxtI->getParent()) in safeCxtI()
109 // If the value is really an already-inserted instruction, then use that. in safeCxtI()
111 if (CxtI && CxtI->getParent()) in safeCxtI()
120 if (CxtI && CxtI->getParent()) in safeCxtI()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Daltr,tse.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Maxime Chevallier <maxime.chevallier@bootlin.com>
15 - const: altr,tse-1.0
16 - const: ALTR,tse-1.0
18 - const: altr,tse-msgdma-1.0
23 interrupt-names:
25 - const: rx_irq
26 - const: tx_irq
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DSSL_CTX_set_verify.pod12 - set various SSL/TLS parameters for peer certificate verification
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
69 Post-Handshake Authentication extension to be added to the ClientHello such that
70 post-handshake authentication can be requested by the server. If B<val> is 0
126 renegotiation or post-authentication if a certificate was requested
137 to be configured for post-handshak
[all...]
/freebsd/usr.sbin/camdd/
H A Dcamdd.868 .Bl -tag -width 12n
79 .Bl -tag -width 9n
107 disk-like devices are supported.
129 .Dq - ,
166 .It depth=N
167 Specify a desired queue depth for the input or output path.
174 The queue depth is maintained on a best effort basis, and may not be
176 For writes, maintaining the queue depth also depends on a sufficiently
201 non-zero value will turn on debugging.
244 .Dl camdd -i pass=da8,bs=512k,depth=4 -o pass=da3,bs=512k,depth=4
[all …]
/freebsd/secure/lib/libcrypto/man/man3/
H A DSSL_CTX_set_verify.318 .\" Set up some character translations and predefined strings. \*(-- will
24 .tr \(*W-
27 . ds -- \(*W-
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
37 . ds -- \|\(em\|
71 .\" Fear. Run. Save yourself. No user-serviceable parts.
81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
97 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
98 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp1 //===- InstCombineSimplifyDemanded.cpp ------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
28 VerifyKnownBits("instcombine-verify-known-bits",
39 assert(OpNo < I->getNumOperands() && "Operand index too large"); in ShrinkDemandedConstant()
42 Value *Op = I->getOperand(OpNo); in ShrinkDemandedConstant()
48 if (C->isSubsetOf(Demanded)) in ShrinkDemandedConstant()
52 I->setOperand(OpNo, ConstantInt::get(Op->getType(), *C & Demanded)); in ShrinkDemandedConstant()
60 if (unsigned BitWidth = Ty->getScalarSizeInBits()) in getBitWidth()
[all …]

12345678910>>...41