Home
last modified time | relevance | path

Searched +full:elm +full:- +full:id (Results 1 – 25 of 52) sorted by relevance

123

/freebsd/usr.sbin/ypldap/
H A Dber.c50 static ssize_t ber_read_element(struct ber *ber, struct ber_element *elm);
64 struct ber_element *elm; in ber_get_element() local
66 if ((elm = calloc(1, sizeof(*elm))) == NULL) in ber_get_element()
69 elm->be_encoding = encoding; in ber_get_element()
70 ber_set_header(elm, BER_CLASS_UNIVERSAL, BER_TYPE_DEFAULT); in ber_get_element()
72 return elm; in ber_get_element()
76 ber_set_header(struct ber_element *elm, int class, unsigned long type) in ber_set_header() argument
78 elm->be_class = class & BER_CLASS_MASK; in ber_set_header()
80 type = elm->be_encoding; in ber_set_header()
81 elm->be_type = type; in ber_set_header()
[all …]
H A Daldap.c1 /* $Id: aldap.c,v 1.32 2016/04/27 10:53:27 schwarze Exp $ */
61 if (close(al->ber.fd) == -1) in aldap_close()
62 return (-1); in aldap_close()
64 ber_free(&al->ber); in aldap_close()
77 a->ber.fd = fd; in aldap_init()
85 struct ber_element *root = NULL, *elm; in aldap_bind() local
96 elm = ber_printf_elements(root, "d{tdsst", ++ldap->msgid, BER_CLASS_APP, in aldap_bind()
99 if (elm == NULL) in aldap_bind()
104 error = ber_write_elements(&ldap->ber, root); in aldap_bind()
107 if (error == -1) in aldap_bind()
[all …]
/freebsd/contrib/elftoolchain/common/
H A D_elftc.h1 /*-
26 * $Id: _elftc.h 3446 2016-05-03 01:31:17Z emaste $
41 #define offsetof(T, M) ((int) &((T*) 0) -> M)
44 /* --QUEUE-MACROS-- [[ */
96 *(head1)->stqh_last = (head2)->stqh_first; \
97 (head1)->stqh_last = (head2)->stqh_last; \
104 #define STAILQ_EMPTY(head) ((head)->stqh_first == NULL)
115 #define STAILQ_FIRST(head) ((head)->stqh_first)
133 for ((var) = ((head)->stqh_first); \
135 (var) = ((var)->field.stqe_next))
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_uapi.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
13 return -EOPNOTSUPP; in ib_uverbs_notsupp()
18 void *elm; in uapi_add_elm() local
22 return ERR_PTR(-EOVERFLOW); in uapi_add_elm()
24 elm = kzalloc(alloc_size, GFP_KERNEL); in uapi_add_elm()
25 if (!elm) in uapi_add_elm()
26 return ERR_PTR(-ENOMEM); in uapi_add_elm()
27 rc = radix_tree_insert(&uapi->radix, key, elm); in uapi_add_elm()
29 kfree(elm); in uapi_add_elm()
33 return elm; in uapi_add_elm()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mtd/
H A Dti,elm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mtd/ti,elm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments Error Location Module (ELM).
10 - Roger Quadros <rogerq@kernel.org>
13 ELM module is used together with GPMC and NAND Flash to detect
20 - ti,am3352-elm
21 - ti,am64-elm
33 clock-names:
[all …]
H A Dgpmc-nand.txt7 explained in a separate documents - please refer to
8 Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
11 Documentation/devicetree/bindings/mtd/nand-controller.yaml
16 - compatible: "ti,omap2-nand"
17 - reg: range id (CS number), base offset and length of the
19 - interrupts: Two interrupt specifiers, one for fifoevent, one for termcount.
23 - nand-bus-width: Set this numeric value to 16 if the hardware
27 - ti,nand-ecc-opt: A string setting the ECC layout to use. One of:
28 "sw" 1-bit Hamming ecc code via software
30 "hw-romcode" <deprecated> use "ham1" instead
[all …]
H A Dti,gpmc-nand.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mtd/ti,gpmc-nand.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tony Lindgren <tony@atomide.com>
11 - Roger Quadros <rogerq@kernel.org>
20 - enum:
21 - ti,am64-nand
22 - ti,omap2-nand
29 - description: Interrupt for fifoevent
[all …]
/freebsd/crypto/heimdal/base/
H A Dheimqueue.h2 /* $Id$ */
59 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_HEAD(head, elm, field) \ argument
60 if ((head)->tqh_first && \
61 (head)->tqh_first->field.tqe_prev != &(head)->tqh_first) \
63 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_TAIL(head, elm, field) \ argument
64 if (*(head)->tqh_last != NULL) \
66 #define QUEUEDEBUG_HEIM_TAILQ_OP(elm, field) \ argument
67 if ((elm)->field.tqe_next && \
68 (elm)->field.tqe_next->field.tqe_prev != \
69 &(elm)->field.tqe_next) \
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dasn1_queue.h2 /* $Id$ */
59 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_HEAD(head, elm, field) \ argument
60 if ((head)->tqh_first && \
61 (head)->tqh_first->field.tqe_prev != &(head)->tqh_first) \
63 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_TAIL(head, elm, field) \ argument
64 if (*(head)->tqh_last != NULL) \
66 #define QUEUEDEBUG_ASN1_TAILQ_OP(elm, field) \ argument
67 if ((elm)->field.tqe_next && \
68 (elm)->field.tqe_next->field.tqe_prev != \
69 &(elm)->field.tqe_next) \
[all …]
/freebsd/contrib/sendmail/include/sm/
H A Dtailq.h39 * $Id: tailq.h,v 1.3 2012-01-21 00:12:14 ashish Exp $
75 #define SM_TAILQ_FIRST(head) ((head)->tqh_first)
77 #define SM_TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) argument
79 (*(((struct headname *)((head)->tqh_last))->tqh_last))
81 #define SM_TAILQ_PREV(elm, headname, field) \ argument
82 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last))
100 (head)->tqh_first = NULL; \
101 (head)->tqh_last = &(head)->tqh_first; \
104 #define SM_TAILQ_INSERT_HEAD(head, elm, field) do { \ argument
105 if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \
[all …]
/freebsd/sys/contrib/device-tree/Bindings/arm/
H A Dmediatek.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/arm/mediatek.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sean Wang <sean.wang@mediatek.com>
11 - Matthia
[all...]
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dtcache_inlines.h36 if (unlikely(ticker_tick(&tcache->gc_ticker))) { in tcache_event()
94 bin->tstats.nrequests++; in tcache_alloc_small()
97 tcache->prof_accumbytes += usize; in tcache_alloc_small()
152 bin->tstats.nrequests++; in tcache_alloc_large()
155 tcache->prof_accumbytes += usize; in tcache_alloc_large()
180 (bin_info->ncached_max >> 1)); in tcache_dalloc_small()
204 if (unlikely(bin->ncached == bin_info->ncached_max)) { in tcache_dalloc_large()
206 (bin_info->ncached_max >> 1), tcache); in tcache_dalloc_large()
208 assert(bin->ncached < bin_info->ncached_max); in tcache_dalloc_large()
209 bin->ncached++; in tcache_dalloc_large()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dmaxvnodes2.sh29 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
31 # "panic: Bad link elm 0xfffff8015ea20000 prev->next != elm" seen:
38 oldmx=`sysctl -n kern.maxvnodes`
H A Dtmpfs12.sh29 # umount -f test scenario
34 # panic: Bad link elm 0xfffff800b384e828 next->prev != elm
38 # Fixed in r268605 - r268617 and r268766.
40 [ $((`sysctl -n hw.usermem` / 1024 / 1024 / 1024)) -lt 6 ] && exit 0
41 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
71 [ -d $mp ] || mkdir -p $mp
72 mount | grep $mp | grep -q tmpfs && umount -f $mp
73 mount -o size=2g -t tmpfs tmpfs $mp
77 su $testuser -c 'cd ..; ./testcases/run/run $TESTPROGS' > \
80 daemon sh -c '(cd ../testcases/swap; ./swap -t 5m -i 20 -h -l 100)' > \
[all …]
H A Dcrossmp3.sh30 # "panic: Bad link elm 0xfffff8052a20cc00 prev->next != elm" seen:
35 # http://people.freebsd.org/~pho/stress/log/crossmp3-2.txt, fixed by r273967.
37 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
42 if [ $# -eq 0 ]; then
43 N=`sysctl -n hw.ncpu`
44 [ $N -gt 32 ] && N=32 # Arbitrary cap
45 usermem=`sysctl -n hw.usermem`
46 [ `sysctl -n vm.swap_total` -eq 0 ] && usermem=$((usermem / 2))
53 m=$(( i + mdstart - 1 ))
54 [ ! -d ${mntpoint}$m ] &&
[all …]
H A Ddev2.sh29 # Test parallel access to /dev. A non-root version.
31 # "panic: Bad link elm 0xfffff8000b07ed00 prev->next != elm" seen.
37 # https://people.freebsd.org/~pho/stress/log/dev2-2.txt
39 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
43 kldstat -v | grep -q pty || { kldload pty || exit 0; }
47 mycc -o dev2 -Wall -Wextra -O2 dev2.c || exit 1
48 rm -f dev2.c
50 daemon sh -c \
51 "(cd $here/../testcases/swap; ./swap -t 6m -i 20 -k -l 100)" > \
54 su $testuser -c /tmp/dev2
[all …]
H A Dsyzkaller26.sh3 # panic: Bad link elm 0xfffff8001a83db00 prev->next != elm
27 # version: FreeBSD 13.0-CURRENT #0 r367672: Sat Nov 14 08:42:14 CET 2020
31 [ `uname -p` != "amd64" ] && exit 0
37 // https://syzkaller.appspot.com/bug?id=95ac7e30218c63bc9322b1dd775101f8f88de4ff
39 // Reported-by: syzbot+1b27e0237aa22d8adffa@syzkaller.appspotmail.com
62 while (waitpid(-1, status, 0) != pid) {
97 if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid)
100 if (current_time_ms() - start < 5 * 1000)
114 if (res != -1)
131 *(uint64_t*)0x20000058 = -1;
[all …]
H A Dcontigmalloc3.sh32 # "panic: Bad link elm 0x6766fbc next->prev != elm" seen:
36 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
37 [ -d /usr/src/sys ] || exit 0
39 [ -d "$builddir" ] && export KERNBUILDDIR=$builddir || exit 0
46 rm -rf $dir; mkdir -
[all...]
/freebsd/sys/cam/scsi/
H A Dscsi_enc_ses.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
123 SES_SETSTATUS_ENC_IDX = -1
133 req->result = result; in ses_terminate_control_requests()
147 ITERATOR_INDEX_INVALID = -1,
220 * This index is appropriate for indexing into enc->ses_elm_map.
393 * of the first type (ITERATOR_INDEX_INVALID == -1). This in ses_iter_reset()
396 iter->type_index = 0; in ses_iter_reset()
397 iter->type_element_index = ITERATOR_INDEX_INVALID; in ses_iter_reset()
398 iter->global_element_index = ITERATOR_INDEX_INVALID; in ses_iter_reset()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/
H A Dam335x-chilisom.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015 Jablotron s.r.o. -- https://www.jablotron.com/
7 #include <dt-bindings/interrupt-controller/irq.h>
11 compatible = "grinn,am335x-chilisom", "ti,am33xx";
15 cpu0-supply = <&dcdc2_reg>;
26 pinctrl-names = "default";
28 i2c0_pins: i2c0-pins {
29 pinctrl-single,pins = <
35 nandflash_pins: nandflash-pins {
36 pinctrl-single,pins = <
[all …]
H A Dam335x-myirtech-myc.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* SPDX-FileCopyrightText: Alexander Shiyan, <shc_work@mail.ru> */
5 /* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ */
7 /dts-v1/;
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/leds/common.h>
15 model = "MYIR MYC-AM335X";
16 compatible = "myir,myc-am335x", "ti,am33xx";
20 cpu0-supply = <&vdd_core>;
21 voltage-tolerance = <2>;
[all …]
H A Dam335x-igep0033.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * am335x-igep0033.dtsi - Device Tree file for IGEP COM AQUILA AM335x
5 * Copyright (C) 2013 ISEE 2007 SL - http://www.isee.biz
8 /dts-v1/;
11 #include <dt-bindings/interrupt-controller/irq.h>
16 cpu0-supply = <&vdd1_reg>;
26 pinctrl-names = "default";
27 pinctrl-0 = <&leds_pins>;
29 compatible = "gpio-leds";
34 default-state = "on";
[all …]
H A Dam335x-phycore-som.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <dt-bindings/interrupt-controller/irq.h>
12 compatible = "phytec,am335x-phycore-som", "ti,am33xx";
22 cpu0-supply = <&vdd1_reg>;
32 compatible = "regulator-fixed";
33 regulator-name = "vcc5v";
34 regulator-min-microvolt = <5000000>;
35 regulator-max-microvolt = <5000000>;
36 regulator-boot-on;
37 regulator-always-on;
[all …]
H A Ddra72-evm-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
8 #include "dra7-ipu-dsp-commo
[all...]
/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/
H A Dti,gpmc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id
[all...]

123