Home
last modified time | relevance | path

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

12345678910>>...45

/linux/scripts/kconfig/
H A Dexpr.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
24 * expr_lookup - return the expression with the given type and sub-nodes
25 * This looks up an expression with the specified type and sub-nodes. If such
26 * an expression is found in the hash table, it is returned. Otherwise, a new
28 * @type: expression type
33 static struct expr *expr_lookup(enum expr_type type, void *l, void *r) in expr_lookup() argument
38 hash = hash_32((unsigned int)type ^ hash_ptr(l) ^ hash_ptr(r)); in expr_lookup()
41 if (e->type == type && e->left._initdata == l && in expr_lookup()
42 e->right._initdata == r) in expr_lookup()
[all …]
/linux/Documentation/netlink/
H A Dgenetlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
10 type: string
11 pattern: ^[0-9a-z-]+$
13 type: integer
15 len-or-define:
16 type: [ string, integer ]
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
[all …]
H A Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
10 type: string
11 pattern: ^[0-9a-z-]+$
12 name-cap:
13 type: string
14 pattern: ^[0-9a-zA-Z-]+$
16 type: integer
[all …]
/linux/include/linux/
H A Doverflow.h1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
10 * We need to compute the minimum and maximum values representable in a given
11 * type. These macros may also be useful elsewhere. It would seem more obvious
14 * #define type_min(T) (T)(is_signed_type(T) ? (T)1 << (8*sizeof(T)-1) : 0)
15 * #define type_max(T) (T)(is_signed_type(T) ? ((T)1 << (8*sizeof(T)-1)) - 1 : ~(T)0)
19 * the type_max expression (but not if -fsanitize=undefined is in
23 * macros also produce sensible values for the exotic type _Boo
33 __type_half_max(type) global() argument
43 is_non_negative(a) global() argument
44 is_negative(a) global() argument
67 check_add_overflow(a,b,d) global() argument
79 wrapping_add(type,a,b) global() argument
113 check_sub_overflow(a,b,d) global() argument
125 wrapping_sub(type,a,b) global() argument
159 check_mul_overflow(a,b,d) global() argument
171 wrapping_mul(type,a,b) global() argument
198 check_shl_overflow(a,s,d) global() argument
327 array_size(a,b) global() argument
340 array3_size(a,b,c) global() argument
388 struct_size_t(type,member,count) global() argument
401 __DEFINE_FLEX(type,name,member,count,trailer...) global() argument
420 _DEFINE_FLEX(type,name,member,count,initializer...) global() argument
439 DEFINE_RAW_FLEX(type,name,member,count) global() argument
459 DEFINE_FLEX(TYPE,NAME,MEMBER,COUNTER,COUNT) global() argument
[all...]
H A Dstddef.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) argument
19 * sizeof_field() - Report the size of a struct field in bytes
21 * @TYPE: The structure containing the field of interest
24 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument
27 * offsetofend() - Report the offset of a struct field within the struct
29 * @TYPE: The type of the structure
32 #define offsetofend(TYPE, MEMBER) \ argument
33 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
36 * struct_group() - Wrap a set of declarations in a mirrored struct
[all …]
H A Dmoduleparam.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 #define __MODULE_NAME_LEN (64 - sizeof(unsigned long))
46 * NOARG - the parameter allows for no argument (foo instead of foo=1)
55 /* Returns 0, or -errno. arg is in kp->arg. */
57 /* Returns length written or -errno. Buffer is 4k (ie. be short!) */
59 /* Optional function to free kp->arg when module unloaded. */
66 * UNSAFE - the parameter is dangerous and setting it will taint the kernel
67 * HWPARAM - Hardware param not permitted in lockdown mode
107 * module_param - typesafe helper for a module/cmdline parameter
109 * @type: the type of the parameter
[all …]
H A Delfnote.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Helper macros to generate ELF Note structures, which are put into a
7 * including name-value pairs of metadata into the kernel binary (or
10 * Each note has three parts: a name, a type and a desc. The name is
11 * intended to distinguish the note's originator, so it would be a
12 * company, project, subsystem, etc; it must be in a suitable form for
13 * use in a section name. The type is an integer which is used to tag
15 * "FooCo"'s type 42 is distinct from "BarProj"'s type 42). The
19 * All notes from a given NAME are put into a section named
21 * are packed into a single .notes section, which is mapped into the
[all …]
/linux/Documentation/driver-api/media/
H A Dv4l2-event.rst1 .. SPDX-License-Identifier: GPL-2.0
4 -----------
6 The V4L2 events provide a generic way to pass events to user space.
7 The driver must use :c:type:`v4l2_fh` to be able to support V4L2 events.
9 Events are subscribed per-filehandle. An event specification consists of a
10 ``type`` and is optionally associated with an object identified through the
12 identified by the ``(type, id)`` tuple.
14 The :c:type:`v4l2_fh` struct has a list of subscribed events on its
17 When the user subscribes to an event, a :c:type:`v4l2_subscribed_event`
18 struct is added to :c:type:`v4l2_fh`\ ``.subscribed``, one for every
[all …]
H A Dv4l2-dev.rst1 .. SPDX-License-Identifier: GPL-2.0
7 :c:type:`video_device` struct (``v4l2-dev.h``). This struct can either be
8 allocated dynamically or embedded in a larger struct.
12 .. code-block:: c
17 return -ENOMEM;
19 vdev->release = video_device_release;
21 If you embed it in a larger struct, then you must set the ``release()``
24 .. code-block:: c
26 struct video_device *vdev = &my_vdev->vdev;
28 vdev->release = my_vdev_release;
[all …]
H A Dv4l2-subdev.rst1 .. SPDX-License-Identifier: GPL-2.0
3 V4L2 sub-devices
4 ----------------
6 Many drivers need to communicate with sub-devices. These devices can do all
8 encoding or decoding. For webcams common sub-devices are sensors and camera
12 driver with a consistent interface to these sub-devices the
13 :c:type:`v4l2_subdev` struct (v4l2-subdev.h) was created.
15 Each sub-device driver must have a :c:type:`v4l2_subdev` struct. This struct
16 can be stand-alone for simple sub-devices or it might be embedded in a larger
17 struct if more state information needs to be stored. Usually there is a
[all …]
/linux/Documentation/kbuild/
H A Dgendwarfksyms.rst18 -----
20 gendwarfksyms accepts a list of object files on the command line, and a
23 Usage: gendwarfksyms [options] elf-object-file ... < symbol-list
26 -d, --debug Print debugging information
27 --dump-dies Dump DWARF DIE contents
28 --dump-die-map Print debugging information about die_map changes
29 --dump-types Dump type strings
30 --dump-versions Dump expanded type strings used for symbol versions
31 -s, --stable Support kABI stability features
32 -T, --symtypes file Write a symtypes file
[all …]
/linux/tools/lib/bpf/
H A Dbpf_core_read.h1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
8 * enum bpf_field_info_kind is passed as a second argument into
9 * __builtin_preserve_field_info() built-in to get a specific aspect of
10 * a field, captured as a firs
156 ___bpf_typeof(type) global() argument
158 ___bpf_typeof1(type,NR) global() argument
162 ___bpf_typeof(type) global() argument
167 ___bpf_field_ref2(type,field) global() argument
170 ___bpf_field_ref2(type,field) global() argument
220 bpf_core_type_id_local(type) global() argument
230 bpf_core_type_id_kernel(type) global() argument
240 bpf_core_type_exists(type) global() argument
250 bpf_core_type_matches(type) global() argument
260 bpf_core_type_size(type) global() argument
337 bpf_core_cast(ptr,type) global() argument
340 ___concat(a,b) global() argument
357 ___last2(a,x) global() argument
358 ___last3(a,b,x) global() argument
359 ___last4(a,b,c,x) global() argument
360 ___last5(a,b,c,d,x) global() argument
361 ___last6(a,b,c,d,e,x) global() argument
362 ___last7(a,b,c,d,e,f,x) global() argument
363 ___last8(a,b,c,d,e,f,g,x) global() argument
364 ___last9(a,b,c,d,e,f,g,h,x) global() argument
365 ___last10(a,b,c,d,e,f,g,h,i,x) global() argument
368 ___nolast2(a,_) global() argument
369 ___nolast3(a,b,_) global() argument
370 ___nolast4(a,b,c,_) global() argument
371 ___nolast5(a,b,c,d,_) global() argument
372 ___nolast6(a,b,c,d,e,_) global() argument
373 ___nolast7(a,b,c,d,e,f,_) global() argument
374 ___nolast8(a,b,c,d,e,f,g,_) global() argument
375 ___nolast9(a,b,c,d,e,f,g,h,_) global() argument
376 ___nolast10(a,b,c,d,e,f,g,h,i,_) global() argument
379 ___arrow1(a) global() argument
380 ___arrow2(a,b) global() argument
381 ___arrow3(a,b,c) global() argument
382 ___arrow4(a,b,c,d) global() argument
383 ___arrow5(a,b,c,d,e) global() argument
384 ___arrow6(a,b,c,d,e,f) global() argument
385 ___arrow7(a,b,c,d,e,f,g) global() argument
386 ___arrow8(a,b,c,d,e,f,g,h) global() argument
387 ___arrow9(a,b,c,d,e,f,g,h,i) global() argument
388 ___arrow10(a,b,c,d,e,f,g,h,i,j) global() argument
397 ___rd_first(fn,src,a) global() argument
412 ___core_read0(fn,fn_ptr,dst,src,a) global() argument
418 ___core_read(fn,fn_ptr,dst,src,a,...) global() argument
427 BPF_CORE_READ_INTO(dst,src,a,...) global() argument
437 BPF_CORE_READ_USER_INTO(dst,src,a,...) global() argument
443 BPF_PROBE_READ_INTO(dst,src,a,...) global() argument
453 BPF_PROBE_READ_USER_INTO(dst,src,a,...) global() argument
463 BPF_CORE_READ_STR_INTO(dst,src,a,...) global() argument
473 BPF_CORE_READ_USER_STR_INTO(dst,src,a,...) global() argument
479 BPF_PROBE_READ_STR_INTO(dst,src,a,...) global() argument
490 BPF_PROBE_READ_USER_STR_INTO(dst,src,a,...) global() argument
519 BPF_CORE_READ(src,a,...) global() argument
535 BPF_CORE_READ_USER(src,a,...) global() argument
542 BPF_PROBE_READ(src,a,...) global() argument
554 BPF_PROBE_READ_USER(src,a,...) global() argument
[all...]
/linux/drivers/usb/typec/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 tristate "USB Type-C Support"
6 USB Type-C Specification defines a cable and connector for USB where
7 only one type of plug is supported on both ends, i.e. there will not
8 be Type-A plug on one end of the cable and Type-B plug on the other.
9 Determination of the host-to-device relationship happens through a
10 specific Configuration Channel (CC) which goes through the USB Type-C
12 Accessory Modes - Analog Audio and Debug - and if USB Power Delivery
16 USB Power Delivery Specification defines a protocol that can be used
19 5V, up to 20V, and current up to 5A over the cable. The USB Power
[all …]
/linux/Documentation/userspace-api/netlink/
H A Dgenetlink-legacy.rst1 .. SPDX-License-Identifier: BSD-3-Clause
9 the ``genetlink-legacy`` protocol level.
15 -------
28 Attribute type nests
29 --------------------
31 New Netlink families should use ``multi-attr`` to define arrays.
33 define array types reusing attribute type to carry information.
35 For reference the ``multi-attr`` array may look like this::
37 [ARRAY-ATTR]
41 [SOME-OTHER-ATTR]
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dmm.c4 * Permission is hereby granted, free of charge, to any person obtaining a
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26 #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()
[all …]
/linux/Documentation/bpf/
H A Dmap_cgroup_storage.rst1 .. SPDX-License-Identifier: GPL-2.0-only
8 The ``BPF_MAP_TYPE_CGROUP_STORAGE`` map type represents a local fix-sized
13 The map provide a local storage at the cgroup that the BPF program is attached
14 to. It provides a faster and simpler access than the general purpose hash
15 table, which performs a hash table lookups, and requires user to track live
19 ``BPF_MAP_TYPE_CGROUP_STORAGE`` map type. Some of its behaviors was changed in
25 The map uses key of type of either ``__u64 cgroup_inode_id`` or
34 ``attach_type`` is the program's attach type.
36 Linux 5.9 added support for type ``__u64 cgroup_inode_id`` as the key type.
37 When this key type is used, then all attach types of the particular cgroup and
[all …]
/linux/Documentation/netlabel/
H A Ddraft-ietf-cipso-ipsecurity-01.txt12 This Internet Draft provides the high level specification for a Commercial
21 Internet Drafts are draft documents valid for a maximum of six months.
24 material or to cite them other than as a "working draft" or "work in
27 Please check the I-D abstract listing contained in each Internet Draft
36 these options is the DoD Basic Security Option (BSO) (Type 130) which allows
38 provides sixteen security classifications and a variable number of handling
40 categories or compartments, another security option (Type 133) exists and
46 mandatory access controls and multi-level security. These systems are
47 no longer built specifically for a particular group in the defense or
49 for use in a variety of government and civil sector environments.
[all …]
/linux/arch/m68k/include/asm/
H A Dbootstd.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * (c) 1999, Rt-Control, Inc.
14 #define __BN_exec 2 /* executes a bootloader image */
15 #define __BN_exit 3 /* terminates a bootloader image */
16 #define __BN_program 4 /* program FLASH from a chain */
22 #define __BN_mmap 10 /* map a file descriptor into memory */
23 #define __BN_munmap 11 /* remove a file to memory mapping */
26 #define __BN_getbenv 14 /* get a bootloader envvar */
27 #define __BN_setbenv 15 /* get a bootloader envvar */
38 #define __bsc_return(type, res) \ argument
[all …]
/linux/kernel/bpf/
H A Dcrypto.c1 // SPDX-License-Identifier: GPL-2.0-only
14 const struct bpf_crypto_type *type; member
20 * struct bpf_crypto_params - BPF crypto initialization parameters structure
21 * @type: The string of crypto operation type.
31 char type[14]; member
43 * struct bpf_crypto_ctx - refcounted BPF crypto context structure
44 * @type: The pointer to bpf crypto type
53 const struct bpf_crypto_type *type; member
60 int bpf_crypto_register_type(const struct bpf_crypto_type *type) in bpf_crypto_register_type() argument
63 int err = -EEXIST; in bpf_crypto_register_type()
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dnvidia,tegra124-xusb-padctl.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/phy/nvidia,tegra124-xusb-padctl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thierry Reding <thierry.reding@gmail.com>
11 - Jon Hunter <jonathanh@nvidia.com>
14 The Tegra XUSB pad controller manages a set of I/O lanes (with differential
16 is controlled by a HW block referred to as a "pad" in the Tegra hardware
21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or
22 super-speed USB. Other lanes are for various types of low-speed, full-speed
[all …]
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_pfvf_vf_proto.c1 // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
2 /* Copyright(c) 2015 - 2021 Intel Corporation */
25 * adf_send_vf2pf_msg() - send VF to PF message
29 * This function allows the VF to send a message to the PF.
36 u32 pfvf_offset = pfvf_ops->get_vf2pf_offset(0); in adf_send_vf2pf_msg()
38 return pfvf_ops->send_msg(accel_dev, msg, pfvf_offset, in adf_send_vf2pf_msg()
39 &accel_dev->vf.vf2pf_lock); in adf_send_vf2pf_msg()
43 * adf_recv_pf2vf_msg() - receive a PF to VF message
46 * This function allows the VF to receive a message from the PF.
48 * Return: a valid message on success, zero otherwise.
[all …]
/linux/security/keys/
H A Dkey.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2004-2008 Red Hat, Inc. All Rights Reserved.
41 key, key->magic, KEY_DEBUG_MAGIC); in __key_check()
47 * Get the key quota record for a user, allocating a new record if one doesn't
60 /* search the tree for a user record with a matching UID */ in key_user_lookup()
65 if (uid_lt(uid, user->uid)) in key_user_lookup()
66 p = &(*p)->rb_left; in key_user_lookup()
67 else if (uid_gt(uid, user->uid)) in key_user_lookup()
68 p = &(*p)->rb_right; in key_user_lookup()
73 /* if we get here, we failed to find a match in the tree */ in key_user_lookup()
[all …]
/linux/Documentation/driver-api/surface_aggregator/
H A Dssh.rst1 .. SPDX-License-Identifier: GPL-2.0+
3 .. |u8| replace:: :c:type:`u8 <u8>`
4 .. |u16| replace:: :c:type:`u16 <u16>`
5 .. |TYPE| replace:: ``TYPE`` substdef
28 SAM-over-SSH, as opposed to SAM-over-HID for the older generations.
30 On Surface devices with SAM-over-SSH, SAM is connected to the host via UART
33 and power information and events, thermal read-outs and events, and many
39 document: All of this has been reverse-engineered and may thus be erroneous
42 All CRCs used in the following are two-byte ``crc_itu_t(0xffff, ...)``.
43 All multi-byte values are little-endian, there is no implicit padding between
[all …]
/linux/Documentation/security/keys/
H A Dcore.rst5 This service allows cryptographic keys, authentication tokens, cross-domain
9 Keyrings are permitted; these are a special type of key that can hold links to
10 other keys. Processes each have three standard keyring subscriptions that a
28 Each key has a number of attributes:
30 - A serial number.
31 - A type.
32 - A description (for matching a key in a search).
33 - Access control information.
34 - An expiry time.
35 - A payload.
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-dqevent.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_DQEVENT - Dequeue event
29 Pointer to struct :c:type:`v4l2_event`.
34 Dequeue an event from a video device. No input is required for this
35 ioctl. All the fields of the struct :c:type:`v4l2_event`
40 .. c:type:: v4l2_event
45 .. flat-table:: struct v4l2_event
46 :header-rows: 0
47 :stub-columns: 0
50 * - __u32
[all …]

12345678910>>...45