Home
last modified time | relevance | path

Searched +full:type +full:- +full:b (Results 1 – 25 of 1108) sorted by relevance

12345678910>>...45

/Linux-v5.15/net/ceph/crush/
Dhash.c1 // SPDX-License-Identifier: GPL-2.0
9 * Robert Jenkins' function for mixing 32-bit values
11 * a, b = random bits, c = input and output
13 #define crush_hashmix(a, b, c) do { \ argument
14 a = a-b; a = a-c; a = a^(c>>13); \
15 b = b-c; b = b-a; b = b^(a<<8); \
16 c = c-a; c = c-b; c = c^(b>>13); \
17 a = a-b; a = a-c; a = a^(c>>12); \
18 b = b-c; b = b-a; b = b^(a<<16); \
19 c = c-a; c = c-b; c = c^(b>>5); \
[all …]
/Linux-v5.15/arch/mips/include/asm/
Dunaligned-emul.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 #define _LoadHW(addr, value, res, type) \ argument
11 "1:\t"type##_lb("%0", "0(%2)")"\n" \
12 "2:\t"type##_lbu("$1", "1(%2)")"\n\t"\
23 STR(PTR)"\t1b, 4b\n\t" \
24 STR(PTR)"\t2b, 4b\n\t" \
27 : "r" (addr), "i" (-EFAULT)); \
31 #define _LoadW(addr, value, res, type) \ argument
34 "1:\t"type##_lwl("%0", "(%2)")"\n" \
35 "2:\t"type##_lwr("%0", "3(%2)")"\n\t"\
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/core/
Dmm.c26 #define node(root, dir) ((root)->nl_entry.dir == &mm->nodes) ? NULL : \
27 list_entry((root)->nl_entry.dir, struct nvkm_mm_node, nl_entry)
36 list_for_each_entry(node, &mm->nodes, nl_entry) { in nvkm_mm_dump()
38 node->offset, node->length, node->type); in nvkm_mm_dump()
41 list_for_each_entry(node, &mm->free, fl_entry) { in nvkm_mm_dump()
43 node->offset, node->length, node->type); in nvkm_mm_dump()
56 if (prev && prev->type == NVKM_MM_TYPE_NONE) { in nvkm_mm_free()
57 prev->length += this->length; in nvkm_mm_free()
58 list_del(&this->nl_entry); in nvkm_mm_free()
62 if (next && next->type == NVKM_MM_TYPE_NONE) { in nvkm_mm_free()
[all …]
/Linux-v5.15/scripts/atomic/
Datomics.tbl4 # Upper-case implies _{acquire,release,relaxed} variants.
6 # * B/b - bool: returns bool
7 # * v - void: returns void
8 # * I/i - int: returns base type
9 # * R - return: returns base type (has _return variants)
10 # * F/f - fetch: returns base type (has fetch_ variants)
11 # * l - load: returns base type (has _acquire order variant)
12 # * s - store: returns void (has _release order variant)
14 # Where args contains list of type[:name], where type is:
15 # * cv - const pointer to atomic base type (atomic_t/atomic64_t/atomic_long_t)
[all …]
/Linux-v5.15/include/linux/usb/
Dpd_vdo.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2015-2017 Google, Inc
21 * ----------
23 * <15> :: VDM type ( 1b == structured, 0b == unstructured )
26 * <10:8> :: object position (1-7 valid ... used for enter/exit mode only)
27 * <7:6> :: command type (SVDM only?)
28 * <5> :: reserved (SVDM), command type (UVDM)
31 #define VDO(vid, type, ver, custom) \ argument
33 ((type) << 15) | \
85 * SVDM Identity request -> response
[all …]
/Linux-v5.15/tools/lib/bpf/
Dbpf_core_read.h1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
7 * __builtin_preserve_field_info() built-in to get a specific aspect of
22 /* second argument to __builtin_btf_type_id() built-in */
24 BPF_TYPE_ID_LOCAL = 0, /* BTF type ID in local program */
25 BPF_TYPE_ID_TARGET = 1, /* BTF type ID in target kernel */
28 /* second argument to __builtin_preserve_type_info() built-in */
30 BPF_TYPE_EXISTS = 0, /* type existence in target kernel */
31 BPF_TYPE_SIZE = 1, /* type size in target kernel */
34 /* second argument to __builtin_preserve_enum_value() built-in */
41 __builtin_preserve_field_info((src)->field, BPF_FIELD_##info)
[all …]
/Linux-v5.15/tools/include/linux/
Doverflow.h1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
9 * type. These macros may also be useful elsewhere. It would seem more obvious
12 * #define type_min(T) (T)(is_signed_type(T) ? (T)1 << (8*sizeof(T)-1) : 0)
13 * #define type_max(T) (T)(is_signed_type(T) ? ((T)1 << (8*sizeof(T)-1)) - 1 : ~(T)0)
17 * the type_max expression (but not if -fsanitize=undefined is in
21 * macros also produce sensible values for the exotic type _Bool. [The
23 * a-feature-not-a-bug, since people shouldn't be doing arithmetic on
28 * https://mail-index.netbsd.org/tech-misc/2007/02/05/0000.html -
31 #define is_signed_type(type) (((type)(-1)) < (type)1) argument
32 #define __type_half_max(type) ((type)1 << (8*sizeof(type) - 1 - is_signed_type(type))) argument
[all …]
/Linux-v5.15/drivers/media/common/videobuf2/
Dvideobuf2-v4l2.c2 * videobuf2-v4l2.c - V4L2 driver helper framework
9 * The vb2_thread implementation was based on code from videobuf-dvb.c:
28 #include <media/v4l2-common.h>
29 #include <media/v4l2-dev.h>
30 #include <media/v4l2-device.h>
31 #include <media/v4l2-event.h>
32 #include <media/v4l2-fh.h>
34 #include <media/videobuf2-v4l2.h>
42 pr_info("vb2-v4l2: [%p] %s: " fmt, \
43 (q)->name, __func__, ## arg); \
[all …]
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_control.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Test devlink-trap control trap functionality over mlxsw. Each registered
8 # +---------------------------------+
16 # +----|----------------------------+
18 # +----|----------------------------------------------------------------------+
28 # +----|----------------------------------------------------------------------+
30 # +----|----------------------------+
38 # +---------------------------------+
95 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
96 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
[all …]
/Linux-v5.15/arch/powerpc/lib/
Dfeature-fixups-test.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 #include <asm/feature-fixups.h>
9 #include <asm/asm-compat.h>
10 #include <asm/ppc-opcode.h>
113 2: b 3f
115 beq 3b
116 b 1f
118 b 2b
119 1: bdnz 3b
127 2: b 3f
[all …]
/Linux-v5.15/arch/m68k/include/asm/
Dbootstd.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * (c) 1999, Rt-Control, Inc.
38 #define __bsc_return(type, res) \ argument
40 if ((unsigned long)(res) >= (unsigned long)(-64)) { \
42 int __err = -(res); \
44 res = -1; \
46 return (type)(res); \
49 #define _bsc0(type,name) \ argument
50 type name(void) \
57 __bsc_return(type,__res); \
[all …]
Duaccess.h1 /* SPDX-License-Identifier: GPL-2.0 */
48 " jra 2b\n" \
53 " .long 1b,10b\n" \
54 " .long 2b,10b\n" \
70 " jra 3b\n" \
75 " .long 1b,10b\n" \
76 " .long 2b,10b\n" \
77 " .long 3b,10b\n" \
80 : "r" (x), "i" (-EFAULT) \
85 * These are the main single-value transfer routines. They automatically
[all …]
/Linux-v5.15/drivers/iommu/intel/
Dcap_audit.c1 // SPDX-License-Identifier: GPL-2.0
3 * cap_audit.c - audit iommu capabilities for boot time and hot plug
13 #include <linux/intel-iommu.h>
20 struct intel_iommu *b) in check_irq_capabilities() argument
22 CHECK_FEATURE_MISMATCH(a, b, cap, pi_support, CAP_PI_MASK); in check_irq_capabilities()
23 CHECK_FEATURE_MISMATCH(a, b, ecap, eim_support, ECAP_EIM_MASK); in check_irq_capabilities()
27 struct intel_iommu *b) in check_dmar_capabilities() argument
29 MINIMAL_FEATURE_IOMMU(b, cap, CAP_MAMV_MASK); in check_dmar_capabilities()
30 MINIMAL_FEATURE_IOMMU(b, cap, CAP_NFR_MASK); in check_dmar_capabilities()
31 MINIMAL_FEATURE_IOMMU(b, cap, CAP_SLLPS_MASK); in check_dmar_capabilities()
[all …]
/Linux-v5.15/include/dt-bindings/usb/
Dpd.h1 /* SPDX-License-Identifier: GPL-2.0 */
64 #define PDO_APDO_TYPE_SHIFT 28 /* Only valid value currently is 0x0 - PPS */
89 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
99 * --------------------
102 * <29:27> :: product type (UFP / Cable / VPD)
103 * <26> :: modal operation supported (1b == yes)
104 * <25:23> :: product type (DFP) (SVDM version 2.0+ only; set to zero in version 1.0)
105 * <22:21> :: connector type (SVDM version 2.0+ only; set to zero in version 1.0)
107 * <15:0> :: USB-IF assigned VID for this cable vendor
113 /* SOP Product Type (UFP) */
[all …]
/Linux-v5.15/include/linux/
Doverflow.h1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
10 * type. These macros may also be useful elsewhere. It would seem more obvious
13 * #define type_min(T) (T)(is_signed_type(T) ? (T)1 << (8*sizeof(T)-1) : 0)
14 * #define type_max(T) (T)(is_signed_type(T) ? ((T)1 << (8*sizeof(T)-1)) - 1 : ~(T)0)
18 * the type_max expression (but not if -fsanitize=undefined is in
22 * macros also produce sensible values for the exotic type _Bool. [The
24 * a-feature-not-a-bug, since people shouldn't be doing arithmetic on
29 * https://mail-index.netbsd.org/tech-misc/2007/02/05/0000.html -
32 #define is_signed_type(type) (((type)(-1)) < (type)1) argument
33 #define __type_half_max(type) ((type)1 << (8*sizeof(type) - 1 - is_signed_type(type))) argument
[all …]
/Linux-v5.15/arch/s390/include/asm/
Duaccess.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * Derived from "include/asm-i386/uaccess.h"
63 " jg 2b\n" \
65 EX_TABLE(0b,3b) EX_TABLE(1b,3b) \
68 [retval] "K" (-EFAULT), [spec] "K" (0x81UL) \
142 return size ? -EFAULT : 0; in __put_user_fn()
148 return size ? -EFAULT : 0; in __get_user_fn()
154 * These are the main single-value transfer routines. They automatically
155 * use the right size if we just have the right pointer type.
160 int __pu_err = -EFAULT; \
[all …]
/Linux-v5.15/security/tomoyo/
Dfile.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2005-2011 NTT DATA CORPORATION
61 * tomoyo_put_name_union - Drop reference on "struct tomoyo_name_union".
69 tomoyo_put_group(ptr->group); in tomoyo_put_name_union()
70 tomoyo_put_name(ptr->filename); in tomoyo_put_name_union()
74 * tomoyo_compare_name_union - Check whether a name matches "struct tomoyo_name_union" or not.
85 if (ptr->group) in tomoyo_compare_name_union()
86 return tomoyo_path_matches_group(name, ptr->group); in tomoyo_compare_name_union()
87 if (tomoyo_path_matches_pattern(name, ptr->filename)) in tomoyo_compare_name_union()
88 return ptr->filename; in tomoyo_compare_name_union()
[all …]
/Linux-v5.15/arch/sh/include/asm/
Dio.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 * read{b,w,l,q}/write{b,w,l,q} are for PCI,
8 * while in{b,w,l}/out{b,w,l} are for ISA
10 * In addition we have 'pausing' versions: in{b,w,l}_p/out{b,w,l}_p
11 * and 'string' versions: ins{b,w,l}/outs{b,w,l}
13 * While read{b,w,l,q} and write{b,w,l,q} contain memory barriers
22 #include <asm-generic/iomap.h>
26 #include <asm-generic/pci_iomap.h>
27 #include <mach/mangle-port.h>
67 #define __BUILD_UNCACHED_IO(bwlq, type) \ argument
[all …]
/Linux-v5.15/security/
Ddevice_cgroup.c1 // SPDX-License-Identifier: GPL-2.0
3 * device_cgroup.c - device cgroup subsystem
36 short type; member
71 list_add_tail(&new->list, dest); in dev_exceptions_copy()
78 list_del(&ex->list); in dev_exceptions_copy()
81 return -ENOMEM; in dev_exceptions_copy()
96 return -ENOMEM; in dev_exception_add()
98 list_for_each_entry(walk, &dev_cgroup->exceptions, list) { in dev_exception_add()
99 if (walk->type != ex->type) in dev_exception_add()
101 if (walk->major != ex->major) in dev_exception_add()
[all …]
/Linux-v5.15/net/ceph/
Dceph_hash.c10 #define mix(a, b, c) \ argument
12 a = a - b; a = a - c; a = a ^ (c >> 13); \
13 b = b - c; b = b - a; b = b ^ (a << 8); \
14 c = c - a; c = c - b; c = c ^ (b >> 13); \
15 a = a - b; a = a - c; a = a ^ (c >> 12); \
16 b = b - c; b = b - a; b = b ^ (a << 16); \
17 c = c - a; c = c - b; c = c ^ (b >> 5); \
18 a = a - b; a = a - c; a = a ^ (c >> 3); \
19 b = b - c; b = b - a; b = b ^ (a << 10); \
20 c = c - a; c = c - b; c = c ^ (b >> 15); \
[all …]
/Linux-v5.15/net/netfilter/
Dnf_conntrack_proto_icmp.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* (C) 1999-2001 Paul `Rusty' Russell
3 * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org>
4 * (C) 2006-2010 Patrick McHardy <kaber@trash.net>
37 tuple->dst.u.icmp.type = hp->type; in icmp_pkt_to_tuple()
38 tuple->src.u.icmp.id = hp->un.echo.id; in icmp_pkt_to_tuple()
39 tuple->dst.u.icmp.code = hp->code; in icmp_pkt_to_tuple()
59 if (orig->dst.u.icmp.type >= sizeof(invmap) || in nf_conntrack_invert_icmp_tuple()
60 !invmap[orig->dst.u.icmp.type]) in nf_conntrack_invert_icmp_tuple()
63 tuple->src.u.icmp.id = orig->src.u.icmp.id; in nf_conntrack_invert_icmp_tuple()
[all …]
/Linux-v5.15/arch/arm/kernel/
Dswp_emulate.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Implements emulation of the SWP/SWPB instructions using load-exclusive and
9 * store-exclusive for processors that have them disabled (or future ones that
12 * Syntax of SWP{B} instruction: SWP{B}<c> <Rt>, <Rt2>, [<Rn>]
33 * Error-checking SWP macros implemented using ldrex{b}/strex{b}
35 #define __user_swpX_asm(data, addr, res, temp, B) \ argument
37 "0: ldrex"B" %2, [%3]\n" \
38 "1: strex"B" %0, %1, [%3]\n" \
46 " b 2b\n" \
50 " .long 0b, 3b\n" \
[all …]
/Linux-v5.15/arch/arm64/mm/
Dproc.S1 /* SPDX-License-Identifier: GPL-2.0-only */
14 #include <asm/asm-offsets.h>
17 #include <asm/pgtable-hwdef.h>
71 * cpu_do_suspend - save CPU registers context
105 * cpu_do_resume - restore CPU register context
184 * This is the low-level counterpart to cpu_replace_ttbr1, and should not be
205 .macro __idmap_kpti_get_pgtable_ent, type
206 dc cvac, cur_\()\type\()p // Ensure any existing dirty
208 ldr \type, [cur_\()\type\()p] // loading the entry
209 tbz \type, #0, skip_\()\type // Skip invalid and
[all …]
/Linux-v5.15/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dfifo.json11 "$IP link add dev $DUMMY type dummy || /bin/true"
16 "matchPattern": "qdisc bfifo 1: root.*limit [0-9]+b",
20 "$IP link del dev $DUMMY type dummy"
32 "$IP link add dev $DUMMY type dummy || /bin/true"
37 "matchPattern": "qdisc pfifo 1: root.*limit [0-9]+p",
41 "$IP link del dev $DUMMY type dummy"
52 "$IP link add dev $DUMMY type dummy || /bin/true"
57 "matchPattern": "qdisc bfifo ffff: root.*limit [0-9]+b",
61 "$IP link del dev $DUMMY type dummy"
72 "$IP link add dev $DUMMY type dummy || /bin/true"
[all …]
/Linux-v5.15/Documentation/input/
Dmulti-touch-protocol.rst4 Multi-touch (MT) Protocol
7 :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se>
11 ------------
13 In order to utilize the full power of the new multi-touch and multi-user
16 document describes the multi-touch (MT) protocol which allows kernel
20 hardware. For devices handling anonymous contacts (type A), the protocol
22 devices capable of tracking identifiable contacts (type B), the protocol
26 MT protocol type A is obsolete, all kernel drivers have been
27 converted to use type B.
30 --------------
[all …]

12345678910>>...45