Home
last modified time | relevance | path

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

12345678910>>...42

/Linux-v5.15/include/linux/
Ddevice-mapper.h3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
13 #include <linux/dm-ioctl.h>
25 * Type of table, mapped_device's mempool and request_queue
41 * In the constructor the target parameter will already have the
42 * table, type, begin and len fields filled in.
44 typedef int (*dm_ctr_fn) (struct dm_target *target,
49 * anything hidden ti->private.
56 * = 0: The target will handle the io by resubmitting it later
58 * = 2: The target wants to push back the io
73 * multipath target might want to requeue a failed io).
[all …]
/Linux-v5.15/drivers/acpi/numa/
Dhmat.c1 // SPDX-License-Identifier: GPL-2.0
88 if (initiator->processor_pxm == cpu_pxm) in find_mem_initiator()
95 struct memory_target *target; in find_mem_target() local
97 list_for_each_entry(target, &targets, node) in find_mem_target()
98 if (target->memory_pxm == mem_pxm) in find_mem_target()
99 return target; in find_mem_target()
118 initiator->processor_pxm = cpu_pxm; in alloc_memory_initiator()
119 initiator->has_cpu = node_state(pxm_to_node(cpu_pxm), N_CPU); in alloc_memory_initiator()
120 list_add_tail(&initiator->node, &initiators); in alloc_memory_initiator()
126 struct memory_target *target; in alloc_memory_target() local
[all …]
/Linux-v5.15/arch/riscv/include/asm/
Dgdb_xml.h1 /* SPDX-License-Identifier: GPL-2.0-only */
9 static const char gdb_xfer_read_target[31] = "qXfer:features:read:target.xml:";
13 "qXfer:features:read:riscv-64bit-cpu.xml";
17 "<!DOCTYPE target SYSTEM \"gdb-target.dtd\">"
18 "<target>"
19 "<xi:include href=\"riscv-64bit-cpu.xml\"/>"
20 "</target>";
24 "<!DOCTYPE feature SYSTEM \"gdb-target.dtd\">"
26 "<reg name=\""DBG_REG_ZERO"\" bitsize=\"64\" type=\"int\" regnum=\"0\"/>"
27 "<reg name=\""DBG_REG_RA"\" bitsize=\"64\" type=\"code_ptr\"/>"
[all …]
/Linux-v5.15/net/netfilter/
Dnft_compat.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * (C) 2012-2013 by Pablo Neira Ayuso <pablo@netfilter.org>
34 enum nft_chain_types type = NFT_CHAIN_T_DEFAULT; in nft_compat_chain_validate_dependency() local
35 const struct nft_chain *chain = ctx->chain; in nft_compat_chain_validate_dependency()
44 if (ctx->family != NFPROTO_BRIDGE) in nft_compat_chain_validate_dependency()
45 type = NFT_CHAIN_T_NAT; in nft_compat_chain_validate_dependency()
46 if (basechain->type->type != type) in nft_compat_chain_validate_dependency()
47 return -EINVAL; in nft_compat_chain_validate_dependency()
65 par->state = pkt->state; in nft_compat_set_par()
66 par->thoff = nft_thoff(pkt); in nft_compat_set_par()
[all …]
/Linux-v5.15/Documentation/power/
Dpm_qos_interface.rst11 * The per-device PM QoS framework provides the API to manage the
12 per-device latency constraints and PM QoS flags.
21 (effective) target value. The aggregated target value is updated with changes
23 aggregated target value is simply the min of the request values held in the list
26 Note: the aggregated target value is implemented as an atomic variable so that
32 Will insert an element into the CPU latency QoS list with the target value.
33 Upon change to this list the new target is recomputed and any registered
34 notifiers are called only if the target value is now different.
39 Will update the list element pointed to by the handle with the new target
40 value and recompute the new aggregated target, calling the notification tree
[all …]
/Linux-v5.15/scripts/dtc/
Ddtc-parser.y1 // SPDX-License-Identifier: GPL-2.0-or-later
66 %type <data> propdata
67 %type <data> propdataprefix
68 %type <flags> header
69 %type <flags> headers
70 %type <re> memreserve
71 %type <re> memreserves
72 %type <array> arrayprefix
73 %type <data> bytestring
74 %type <prop> propdef
[all …]
/Linux-v5.15/fs/configfs/
Dsymlink.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * symlink.c - operations for configfs symlinks.
26 do { depth++; } while ((p = p->ci_parent) && !configfs_is_root(p)); in item_depth()
36 p = p->ci_parent; in item_path_length()
45 --length; in fill_item_path()
46 for (p = item; p && !configfs_is_root(p); p = p->ci_parent) { in fill_item_path()
50 length -= cur; in fill_item_path()
52 *(buffer + --length) = '/'; in fill_item_path()
57 struct config_item *target, char *path) in configfs_get_target_path() argument
63 size = item_path_length(target) + depth * 3 - 1; in configfs_get_target_path()
[all …]
/Linux-v5.15/fs/ocfs2/dlm/
Ddlmthread.c1 // SPDX-License-Identifier: GPL-2.0-or-later
40 /* will exit holding res->spinlock, but may drop in function */
41 /* waits until flags are cleared on res->state */
46 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags()
48 add_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags()
51 if (res->state & flags) { in __dlm_wait_on_lockres_flags()
52 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags()
54 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags()
57 remove_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags()
63 if (list_empty(&res->granted) && in __dlm_lockres_has_locks()
[all …]
/Linux-v5.15/drivers/scsi/qla2xxx/
Dqla_target.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) 2004 - 2010 Vladislav Bolkhovitin <vst@vlnb.net>
4 * Copyright (C) 2004 - 2005 Leonid Stoljar
6 * Copyright (C) 2007 - 2010 ID7 Ltd.
8 * Forward port and refactoring to modern qla2xxx and target/configfs
10 * Copyright (C) 2010-2011 Nicholas A. Bellinger <nab@kernel.org>
12 * Additional file for the target driver support.
16 * target portion.
27 * data in the target add-on
32 * Must be changed on any change in any target visible interfaces or
[all …]
/Linux-v5.15/security/tomoyo/
Dtomoyo.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2005-2011 NTT DATA CORPORATION
12 * tomoyo_domain - Get "struct tomoyo_domain_info" for current thread.
20 if (s->old_domain_info && !current->in_execve) { in tomoyo_domain()
21 atomic_dec(&s->old_domain_info->users); in tomoyo_domain()
22 s->old_domain_info = NULL; in tomoyo_domain()
24 return s->domain_info; in tomoyo_domain()
28 * tomoyo_cred_prepare - Target for security_prepare_creds().
42 if (s->old_domain_info && !current->in_execve) { in tomoyo_cred_prepare()
43 atomic_dec(&s->domain_info->users); in tomoyo_cred_prepare()
[all …]
/Linux-v5.15/include/trace/events/
Dthermal.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 #define show_tzt_type(type) \ argument
18 __print_symbolic(type, \
31 __string(thermal_zone, tz->type)
38 __assign_str(thermal_zone, tz->type);
39 __entry->id = tz->id;
40 __entry->temp_prev = tz->last_temperature;
41 __entry->temp = tz->temperature;
45 __get_str(thermal_zone), __entry->id, __entry->temp_prev,
46 __entry->temp)
[all …]
/Linux-v5.15/drivers/acpi/acpica/
Drsdump.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: rsdump - AML debugger support for resource structures.
55 * PARAMETERS: resource_list - Pointer to a resource descriptor list
66 u32 type; in acpi_rs_dump_resource_list() local
82 /* Validate Type before dispatch */ in acpi_rs_dump_resource_list()
84 type = resource_list->type; in acpi_rs_dump_resource_list()
85 if (type > ACPI_RESOURCE_TYPE_MAX) { in acpi_rs_dump_resource_list()
87 ("Invalid descriptor type (%X) in resource list\n", in acpi_rs_dump_resource_list()
88 resource_list->type); in acpi_rs_dump_resource_list()
90 } else if (!resource_list->type) { in acpi_rs_dump_resource_list()
[all …]
Dexstoren.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: exstoren - AML Interpreter object store support,
7 * Copyright (C) 2000 - 2021, Intel Corp.
23 * PARAMETERS: source_desc_ptr - Pointer to the source object
24 * target_type - Current type of the target
25 * walk_state - Current walk state
43 /* Ensure we have a Target that can be stored to */ in acpi_ex_resolve_object()
62 if (source_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) { in acpi_ex_resolve_object()
76 if (walk_state->opcode == AML_COPY_OBJECT_OP) { in acpi_ex_resolve_object()
82 if ((source_desc->common.type != ACPI_TYPE_INTEGER) && in acpi_ex_resolve_object()
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dmem.c32 enum nvkm_memory_target target; member
45 return nvkm_mem(memory)->target; in nvkm_mem_target()
58 if (mem->pages == 1 && mem->mem) in nvkm_mem_addr()
59 return mem->dma[0]; in nvkm_mem_addr()
66 return nvkm_mem(memory)->pages << PAGE_SHIFT; in nvkm_mem_size()
75 .memory = &mem->memory, in nvkm_mem_map_dma()
77 .dma = mem->dma, in nvkm_mem_map_dma()
86 if (mem->mem) { in nvkm_mem_dtor()
87 while (mem->pages--) { in nvkm_mem_dtor()
88 dma_unmap_page(mem->mmu->subdev.device->dev, in nvkm_mem_dtor()
[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
16 BPF_FIELD_EXISTS = 2, /* field existence in target kernel */
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 */
[all …]
/Linux-v5.15/drivers/md/
Ddm-table.c3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
8 #include "dm-core.h"
21 #include <linux/blk-mq.h>
60 return t->index[l] + (n * KEYS_PER_NODE); in get_node()
69 for (; l < t->depth - 1; l++) in high()
70 n = get_child(n, CHILDREN_PER_NODE - 1); in high()
72 if (n >= t->counts[l]) in high()
73 return (sector_t) - 1; in high()
75 return get_node(t, l, n)[KEYS_PER_NODE - 1]; in high()
87 for (n = 0U; n < t->counts[l]; n++) { in setup_btree_index()
[all …]
Ddm-zone.c1 // SPDX-License-Identifier: GPL-2.0
11 #include "dm-core.h"
24 struct gendisk *disk = md->disk; in dm_blk_do_report_zones()
36 if (WARN_ON_ONCE(!tgt->type->report_zones)) in dm_blk_do_report_zones()
37 return -EIO; in dm_blk_do_report_zones()
40 ret = tgt->type->report_zones(tgt, &args, in dm_blk_do_report_zones()
41 nr_zones - args.zone_idx); in dm_blk_do_report_zones()
52 * report_zones operation for each target of a device table. This operation is
58 struct mapped_device *md = disk->private_data; in dm_blk_report_zones()
63 return -EAGAIN; in dm_blk_report_zones()
[all …]
/Linux-v5.15/Documentation/userspace-api/media/v4l/
Dselection-api-examples.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
8 ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` for other devices; change target to
14 .. code-block:: c
17 .type = V4L2_BUF_TYPE_VIDEO_CAPTURE,
18 .target = V4L2_SEL_TGT_CROP_DEFAULT,
22 exit(-1);
23 sel.target = V4L2_SEL_TGT_CROP;
26 exit(-1);
34 .. code-block:: c
37 .type = V4L2_BUF_TYPE_VIDEO_OUTPUT,
[all …]
Dvidioc-g-selection.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_G_SELECTION - VIDIOC_S_SELECTION - Get or set one of the selection rectangles
33 Pointer to struct :c:type:`v4l2_selection`.
41 :c:type:`v4l2_selection` ``type`` field to the
42 respective buffer type. The next step is setting the
43 value of struct :c:type:`v4l2_selection` ``target``
45 to table :ref:`v4l2-selections-common` or :ref:`selection-api` for
47 :c:type:`v4l2_selection` are ignored and they must be
49 EINVAL error code if incorrect buffer type or target was used. If
52 struct :c:type:`v4l2_rect` ``r`` rectangle is filled with
[all …]
/Linux-v5.15/net/sched/
Dact_ipt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * net/sched/act_ipt.c iptables target interface
7 * Copyright: Jamal Hadi Salim (2002-13)
37 struct xt_target *target; in ipt_init_target() local
41 target = xt_request_find_target(AF_INET, t->u.user.name, in ipt_init_target()
42 t->u.user.revision); in ipt_init_target()
43 if (IS_ERR(target)) in ipt_init_target()
44 return PTR_ERR(target); in ipt_init_target()
46 t->u.kernel.target = target; in ipt_init_target()
51 par.target = target; in ipt_init_target()
[all …]
/Linux-v5.15/drivers/scsi/fnic/
Dfcpio.h37 * Command entry type
50 * Target request types
93 FCPIO_REQ_NOT_SUPPORTED, /* request type is not supported */
98 * a cmpl message type. In cases where errors occurred,
122 * of the tag field will be the target command and target task management
139 tag->u.req_id = id; in fcpio_tag_id_enc()
145 *id = tag->u.req_id; in fcpio_tag_id_dec()
151 tag->u.ex_id.rx_id = rx_id; in fcpio_tag_exid_enc()
152 tag->u.ex_id.ox_id = ox_id; in fcpio_tag_exid_enc()
158 *rx_id = tag->u.ex_id.rx_id; in fcpio_tag_exid_dec()
[all …]
/Linux-v5.15/kernel/trace/
Dtrace_events_filter.c1 // SPDX-License-Identifier: GPL-2.0
3 * trace_events_filter - generic event filtering
47 * pred_funcs_##type below must match the order of them above.
50 #define PRED_FUNC_MAX (OP_BAND - PRED_FUNC_START)
61 C(ILLEGAL_FIELD_OP, "Illegal operation for field type"), \
94 * prog_entry - a singe entry in the filter program
95 * @target: Index to jump to on a branch (actually one minus the index)
100 int target; member
106 * update_preds- assign a program entry a label target
111 * The program entry at @N has a target that points to the index of a program
[all …]
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cpp.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */
6 * Interface for low-level NFP CPP access.
22 dev_err(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args)
24 dev_warn(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args)
26 dev_info(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args)
28 dev_dbg(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args)
30 dev_printk(level, nfp_cpp_device(cpp)->parent, \
67 #define NFP_CPP_ATOMIC_RD(target, island) \ argument
68 NFP_CPP_ISLAND_ID((target), 3, 0, (island))
[all …]
/Linux-v5.15/Documentation/driver-api/surface_aggregator/
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
27 SAM-over-SSH, as opposed to SAM-over-HID for the older generations.
29 On Surface devices with SAM-over-SSH, SAM is connected to the host via UART
32 and power information and events, thermal read-outs and events, and many
38 document: All of this has been reverse-engineered and may thus be erroneous
41 All CRCs used in the following are two-byte ``crc_ccitt_false(0xffff, ...)``.
42 All multi-byte values are little-endian, there is no implicit padding between
[all …]
Dclient.rst1 .. SPDX-License-Identifier: GPL-2.0+
3 .. |ssam_controller| replace:: :c:type:`struct ssam_controller <ssam_controller>`
4 .. |ssam_device| replace:: :c:type:`struct ssam_device <ssam_device>`
5 .. |ssam_device_driver| replace:: :c:type:`struct ssam_device_driver <ssam_device_driver>`
21 .. |ssam_event_mask| replace:: :c:type:`enum ssam_event_mask <ssam_event_mask>`
33 client-api
43 are non-discoverable and instead need to be explicitly provided by some
47 Non-SSAM Client Drivers
51 representing that EC to the kernel. Drivers targeting a non-SSAM device (and
65 .. code-block:: c
[all …]

12345678910>>...42