Home
last modified time | relevance | path

Searched +full:state +full:- +full:labels (Results 1 – 25 of 121) sorted by relevance

12345

/linux-6.12.1/drivers/iio/multiplexer/
Diio-mux.c1 // SPDX-License-Identifier: GPL-2.0
41 struct mux_child *child = &mux->child[idx]; in iio_mux_select()
42 struct iio_chan_spec const *chan = &mux->chan[idx]; in iio_mux_select()
46 ret = mux_control_select_delay(mux->control, chan->channel, in iio_mux_select()
47 mux->delay_us); in iio_mux_select()
49 mux->cached_state = -1; in iio_mux_select()
53 if (mux->cached_state == chan->channel) in iio_mux_select()
56 if (chan->ext_info) { in iio_mux_select()
57 for (i = 0; chan->ext_info[i].name; ++i) { in iio_mux_select()
58 const char *attr = chan->ext_info[i].name; in iio_mux_select()
[all …]
/linux-6.12.1/net/openvswitch/
Dconntrack.c1 // SPDX-License-Identifier: GPL-2.0-only
72 struct md_labels labels; member
87 /* Elements in ovs_ct_limit_info->limits hash table */
105 static bool labels_nonzero(const struct ovs_key_ct_labels *labels);
111 switch (ntohs(key->eth.type)) { in key_to_nfproto()
121 /* Map SKB connection state into the values used by flow definition. */
157 return ct ? READ_ONCE(ct->mark) : 0; in ovs_ct_get_mark()
163 /* Guard against conntrack labels max size shrinking below 128 bits. */
169 struct ovs_key_ct_labels *labels) in ovs_ct_get_labels() argument
174 if (ct->master && !nf_ct_is_confirmed(ct)) in ovs_ct_get_labels()
[all …]
/linux-6.12.1/arch/mips/kernel/
Dpm-cps.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <asm/asm-offsets.h>
17 #include <asm/mips-cps.h>
20 #include <asm/pm-cps.h>
22 #include <asm/smp-cps.h>
26 * cps_nc_entry_fn - type of a generated non-coherent state entry function
28 * @nc_ready_count: pointer to a non-coherent mapping of the core ready_count
30 * The code entering & exiting non-coherent states is generated at runtime
33 * core-specific code particularly for cache routines. If coupled_coherence
34 * is non-zero and this is the entry function for the CPS_PM_NC_WAIT state,
[all …]
Dsmp-cps.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #include <asm/mips-cps.h>
22 #include <asm/pm-cps.h>
26 #include <asm/smp-cps.h>
55 struct uasm_label labels[2]; in mips_cps_build_core_entry() local
57 struct uasm_label *l = labels; in mips_cps_build_core_entry()
60 memset(labels, 0, sizeof(labels)); in mips_cps_build_core_entry()
92 uasm_resolve_relocs(relocs, labels); in mips_cps_build_core_entry()
101 0x0, CSEGX_SIZE - 1); in allocate_cps_vecs()
109 0x0, SZ_4G - 1); in allocate_cps_vecs()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dsimple-audio-mux.yaml1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/simple-audio-mux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexandre Belloni <aleandre.belloni@bootlin.com>
17 - $ref: dai-common.yaml#
21 const: simple-audio-mux
23 mux-gpios:
27 state-labels:
28 description: State of input line. default is "Input 1", "Input 2"
[all …]
/linux-6.12.1/security/apparmor/
Dlabel.c1 // SPDX-License-Identifier: GPL-2.0-only
24 * Labels maintain a reference count to the set of pointers they reference
25 * Labels are ref counted by
27 * code - will take a ref count on a label if it needs the label
29 * profiles - each profile is a label
30 * secids - a pinned secid will keep a refcount of the label it is
32 * objects - inode, files, sockets, ...
34 * Labels are not ref counted by the label set, so they maybe removed and
45 /* p->label will not updated any more as p is dead */ in free_proxy()
46 aa_put_label(rcu_dereference_protected(proxy->label, true)); in free_proxy()
[all …]
/linux-6.12.1/arch/mips/kvm/
Dentry.c58 * kvm_mips_entry_setup() - Perform global setup for entry code.
63 * -errno on failure.
73 if (pgd_reg != -1) in kvm_mips_entry_setup()
79 scratch_vcpu[1] = ffs(kscratch_mask) - 1; in kvm_mips_entry_setup()
83 /* Pick a scratch register to use as a temp for saving state */ in kvm_mips_entry_setup()
86 scratch_tmp[1] = ffs(kscratch_mask) - 1; in kvm_mips_entry_setup()
124 * build_set_exc_base() - Assemble code to write exception base address.
143 * kvm_mips_build_vcpu_run() - Assemble function to start running a guest VCPU.
166 UASM_i_ADDIU(&p, GPR_K1, GPR_SP, -(int)sizeof(struct pt_regs)); in kvm_mips_build_vcpu_run()
183 /* Offset into vcpu->arch */ in kvm_mips_build_vcpu_run()
[all …]
/linux-6.12.1/drivers/nvdimm/
Dlabel.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
19 NSLABEL_FLAG_ROLABEL = 0x1, /* read-only label */
20 NSLABEL_FLAG_LOCAL = 0x2, /* DIMM-local namespace */
26 BTTINFO_FLAG_ERROR = 0x1, /* error state (read-only) */
34 * struct nd_namespace_index - label set superblock
37 * @labelsize: log2 size (v1 labels 128 bytes v2 labels 256 bytes)
70 * struct cxl_region_label - CXL 2.0 Table 211
74 * @nlabel: 1 per interleave-way in the region
76 * @dpa: start address in device-local capacity for this label
[all …]
Ddimm_devs.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
14 #include "nd-core.h"
29 if (!nvdimm->cmd_mask || in nvdimm_check_config_data()
30 !test_bit(ND_CMD_GET_CONFIG_DATA, &nvdimm->cmd_mask)) { in nvdimm_check_config_data()
31 if (test_bit(NDD_LABELING, &nvdimm->flags)) in nvdimm_check_config_data()
32 return -ENXIO; in nvdimm_check_config_data()
34 return -ENOTTY; in nvdimm_check_config_data()
45 return -EINVAL; in validate_dimm()
47 rc = nvdimm_check_config_data(ndd->dev); in validate_dimm()
[all …]
Dnd.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
20 * support and is an input to the geometry/on-disk-format of a
42 if (ndd->cxl) in nsl_ref_name()
43 return nd_label->cxl.name; in nsl_ref_name()
44 return nd_label->efi.name; in nsl_ref_name()
50 if (ndd->cxl) in nsl_get_name()
51 return memcpy(name, nd_label->cxl.name, NSLABEL_NAME_LEN); in nsl_get_name()
52 return memcpy(name, nd_label->efi.name, NSLABEL_NAME_LEN); in nsl_get_name()
60 if (ndd->cxl) in nsl_set_name()
[all …]
/linux-6.12.1/block/partitions/
Dibm.c1 // SPDX-License-Identifier: GPL-2.0
29 * cyl-cyl-head-head structure
37 cyl = ptr->hh & 0xFFF0; in cchh2blk()
39 cyl |= ptr->cc; in cchh2blk()
40 head = ptr->hh & 0x000F; in cchh2blk()
41 return cyl * geo->heads * geo->sectors + in cchh2blk()
42 head * geo->sectors; in cchh2blk()
47 * cyl-cyl-head-head-block structure
55 cyl = ptr->hh & 0xFFF0; in cchhb2blk()
57 cyl |= ptr->cc; in cchhb2blk()
[all …]
Dsgi.c1 // SPDX-License-Identifier: GPL-2.0
36 int sgi_partition(struct parsed_partitions *state) in sgi_partition() argument
47 label = read_part_sector(state, 0, &sect); in sgi_partition()
49 return -1; in sgi_partition()
50 p = &label->partitions[0]; in sgi_partition()
51 magic = label->magic_mushroom; in sgi_partition()
54 state->disk->disk_name, be32_to_cpu(magic));*/ in sgi_partition()
58 ui = ((__be32 *) (label + 1)) - 1; in sgi_partition()
60 cs = *ui--; in sgi_partition()
65 state->disk->disk_name); in sgi_partition()
[all …]
/linux-6.12.1/Documentation/admin-guide/LSM/
DSmack.rst7 - The Elevator, from Dark Star
21 - The kernel
22 - Basic utilities, which are helpful but not required
23 - Configuration data
41 git://github.com/smack-team/smack.git
77 Smack uses extended attributes (xattrs) to store labels on filesystem
120 # attr -S -s SMACK64 -V "value" path
121 # chsmack -a value path
128 in the smackfs filesystem. This pseudo-filesystem is mounted
153 change-rule
[all …]
/linux-6.12.1/security/apparmor/include/
Dlabel.h1 /* SPDX-License-Identifier: GPL-2.0-only */
37 (V) ? 0 : -ENOMEM; \
51 #define vec_last(VEC, SIZE) ((VEC)[(SIZE) - 1])
52 #define vec_ns(VEC, SIZE) (vec_last((VEC), (SIZE))->ns)
53 #define vec_labelset(VEC, SIZE) (&vec_ns((VEC), (SIZE))->labels)
54 #define cleanup_domain_vec(V, L) cleanup_label_vec((V), (L)->size)
65 /* struct aa_labelset - set of labels for a namespace
67 * Labels are reference counted; aa_labelset does not contribute to label
78 for ((N) = rb_first(&(LS)->root); (N); (N) = rb_next(N))
86 FLAG_USER_DEFINED = 0x20, /* user based profile - lower privs */
[all …]
/linux-6.12.1/arch/s390/include/uapi/asm/
Dtape390.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
20 * - 1 format control byte, and
21 * - two 8-byte messages
24 * 0-2: New Message Overlay
74 * The TAPE390_CRYPT_QUERY ioctl is used to query the encryption state.
94 * The TAPE390_KEKL_SET ioctl is used to set Key Encrypting Key labels.
99 * The TAPE390_KEKL_QUERY ioctl is used to query Key Encrypting Key labels.
/linux-6.12.1/net/sched/
Dact_ct.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
2 /* -
70 int i = flow_action->num_entries++; in tcf_ct_flow_table_flow_action_get_next()
72 return &flow_action->entries[i]; in tcf_ct_flow_table_flow_action_get_next()
84 entry->id = FLOW_ACTION_MANGLE; in tcf_ct_add_mangle_action()
85 entry->mangle.htype = htype; in tcf_ct_add_mangle_action()
86 entry->mangle.mask = ~mask; in tcf_ct_add_mangle_action()
87 entry->mangle.offset = offset; in tcf_ct_add_mangle_action()
88 entry->mangle.val = val; in tcf_ct_add_mangle_action()
92 * (target) is different then the current dir tuple - meaning nat for ports
[all …]
/linux-6.12.1/fs/nfsd/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 You may choose to use a user-space NFS server instead, in which
24 user space programs which can be found in the Linux nfs-utils
25 package, available from http://linux-nfs.org/. More detail about
41 NFSv2 (RFC 1094) was the first publicly-released version of NFS.
68 To store ACLs on your NFS server, you also need to enable ACL-
88 space programs which can be found in the Linux nfs-utils package,
89 available from http://linux-nfs.org/.
118 the server and the clients. See draft-ietf-nfsv4-scsi-layout for
132 draft-ietf-nfsv4-flex-files for more details.
[all …]
/linux-6.12.1/drivers/iio/adc/
Dpac1934.c1 // SPDX-License-Identifier: GPL-2.0+
3 * IIO driver for PAC1934 Multi-Channel DC Power/Energy Monitor
5 * Copyright (C) 2017-2024 Microchip Technology Inc. and its subsidiaries
12 …oads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/PAC1931-Family-Data-Sheet-DS20005850E.…
46 * (2^31 - 1) * 10^8 + 99999999
51 * -(2^31) * 10^8 - 99999999
53 #define PAC_193X_MIN_POWER_ACC -214748364899999999LL
118 * relative offsets when using multi-byte reads/writes even though these
147 /* Scale constant = (10^3 * 3.2 * 10^9 / 2^28) for mili Watt-second */
187 * 033771E0-1705-47B4-9535-D1BBE14D9A09,
[all …]
Dmcp3564.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2022-2023 Microchip Technology Inc. and its subsidiaries
10 …s/aemDocuments/documents/MSLD/ProductDocuments/DataSheets/MCP3561-2-4-Family-Data-Sheet-DS20006181…
12 …ds/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP3561_2_4R-Data-Sheet-DS200006391C.pdf
14 …ProductDocuments/DataSheets/MCP3461-2-4-Two-Four-Eight-Channel-153.6-ksps-Low-Noise-16-Bit-Delta-S…
16 …/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP3461-2-4R-Family-Data-Sheet-DS20006404…
64 * ADC Output Data Format 32-bit (25-bit right justified data + Channel ID):
65 * CHID[3:0] + SGN extension (4 bits) + 24-bit ADC data.
70 * ADC Output Data Format 32-bit (25-bit right justified data):
71 * SGN extension (8-bit) + 24-bit ADC data.
[all …]
/linux-6.12.1/Documentation/sphinx/
Dkfigure.py1 # -*- coding: utf-8; mode: python -*-
14 handling from the author's POV. Directives like ``kernel-figure`` implement
15 methods *to* always get the best output-format even if some tools are not
19 * ``.. kernel-image``: for image handling / a ``.. image::`` replacement
21 * ``.. kernel-figure``: for figure handling / a ``.. figure::`` replacement
23 * ``.. kernel-render``: for render markup / a concept to embed *render*
26 - ``DOT``: render embedded Graphviz's **DOC**
27 - ``SVG``: render embedded Scalable Vector Graphics (**SVG**)
28 - ... *developable*
33 available, the DOT language is inserted as literal-block.
[all …]
/linux-6.12.1/include/sound/
Dak4xxx-adda.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
35 /* ADC labels and channels */
72 void snd_akm4xxx_reset(struct snd_akm4xxx *ak, int state);
77 (ak)->images[(chip) * 16 + (reg)]
79 ((ak)->images[(chip) * 16 + (reg)] = (val))
81 (ak)->volumes[(chip) * 16 + (reg)]
83 ((ak)->volumes[(chip) * 16 + (reg)] = (val))
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dsc7280-qcard.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
14 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
15 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h>
16 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
17 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
34 wcd9385: audio-codec-1 {
35 compatible = "qcom,wcd9385-codec";
36 pinctrl-names = "default", "sleep";
37 pinctrl-0 = <&wcd_reset_n>, <&us_euro_hs_sel>;
38 pinctrl-1 = <&wcd_reset_n_sleep>, <&us_euro_hs_sel>;
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_ddp.c1 // SPDX-License-Identifier: GPL-2.0
10 * boost tcam entries. The metadata labels names that match the following
27 * ice_verify_pkg - verify package
42 if (pkg->pkg_format_ver.major != ICE_PKG_FMT_VER_MAJ || in ice_verify_pkg()
43 pkg->pkg_format_ver.minor != ICE_PKG_FMT_VER_MNR || in ice_verify_pkg()
44 pkg->pkg_format_ver.update != ICE_PKG_FMT_VER_UPD || in ice_verify_pkg()
45 pkg->pkg_format_ver.draft != ICE_PKG_FMT_VER_DFT) in ice_verify_pkg()
49 seg_count = le32_to_cpu(pkg->seg_count); in ice_verify_pkg()
59 u32 off = le32_to_cpu(pkg->seg_offset[i]); in ice_verify_pkg()
69 if (len < off + le32_to_cpu(seg->seg_size)) in ice_verify_pkg()
[all …]
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Duserspace_msr_exit_test.c1 // SPDX-License-Identifier: GPL-2.0
82 u32 idx = msr & (KVM_MSR_FILTER_MAX_BITMAP_SIZE - 1); in deny_msr()
142 * Note: Force test_rdmsr() to not be inlined to prevent the labels,
158 * Note: Force test_wrmsr() to not be inlined to prevent the labels,
176 * Note: Force test_em_rdmsr() to not be inlined to prevent the labels,
192 * Note: Force test_em_wrmsr() to not be inlined to prevent the labels,
291 /* This goes into the in-kernel emulation */ in guest_msr_calls()
306 /* This goes into the in-kernel emulation */ in guest_msr_calls()
353 if (regs->rip == (uintptr_t)r_start) { in __guest_gp_handler()
354 regs->rip = (uintptr_t)r_end; in __guest_gp_handler()
[all …]
/linux-6.12.1/arch/arc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
89 source "arch/arc/plat-tb10x/Kconfig"
90 source "arch/arc/plat-axs10x/Kconfig"
91 source "arch/arc/plat-hsdk/Kconfig"
109 ISA for the Next Generation ARC-HS cores
127 -MMU-v3: Variable Page Sz (4k, 8k, 16k), bigger J-TLB (128x4)
129 -Caches: New Prog Model, Region Flush
130 -Insns: endian swap, load-locked/store-conditional, time-stamp-ctr
133 bool "ARC-HS"
[all …]

12345