Home
last modified time | relevance | path

Searched full:lookup (Results 1 – 25 of 1895) sorted by relevance

12345678910>>...76

/Linux-v5.15/drivers/i2c/
Di2c-core-acpi.c106 struct i2c_acpi_lookup *lookup = data; in i2c_acpi_fill_info() local
107 struct i2c_board_info *info = lookup->info; in i2c_acpi_fill_info()
114 if (lookup->index != -1 && lookup->n++ != lookup->index) in i2c_acpi_fill_info()
117 status = acpi_get_handle(lookup->device_handle, in i2c_acpi_fill_info()
119 &lookup->adapter_handle); in i2c_acpi_fill_info()
124 lookup->speed = sb->connection_speed; in i2c_acpi_fill_info()
141 struct i2c_acpi_lookup *lookup) in i2c_acpi_do_lookup() argument
143 struct i2c_board_info *info = lookup->info; in i2c_acpi_do_lookup()
154 lookup->device_handle = acpi_device_handle(adev); in i2c_acpi_do_lookup()
159 i2c_acpi_fill_info, lookup); in i2c_acpi_do_lookup()
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/haswell/
Duncore.json115 "BriefDescription": "L3 Lookup read request that access cache and found line in M-state.",
116 "PublicDescription": "L3 Lookup read request that access cache and found line in M-state.",
127 "BriefDescription": "L3 Lookup write request that access cache and found line in M-state.",
128 "PublicDescription": "L3 Lookup write request that access cache and found line in M-state.",
139 …"BriefDescription": "L3 Lookup external snoop request that access cache and found line in M-state.…
140 …"PublicDescription": "L3 Lookup external snoop request that access cache and found line in M-state…
151 "BriefDescription": "L3 Lookup any request that access cache and found line in M-state.",
152 "PublicDescription": "L3 Lookup any request that access cache and found line in M-state.",
163 "BriefDescription": "L3 Lookup read request that access cache and found line in I-state.",
164 "PublicDescription": "L3 Lookup read request that access cache and found line in I-state.",
[all …]
/Linux-v5.15/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh37 # Helpers to map a VCAP IS1 and VCAP IS2 lookup and policy to a chain number
39 # VCAP IS1 lookup 0: 10000
40 # VCAP IS1 lookup 1: 11000
41 # VCAP IS1 lookup 2: 12000
42 # VCAP IS2 lookup 0 policy 0: 20000
43 # VCAP IS2 lookup 0 policy 1: 20001
44 # VCAP IS2 lookup 0 policy 255: 20255
45 # VCAP IS2 lookup 1 policy 0: 21000
46 # VCAP IS2 lookup 1 policy 1: 21001
47 # VCAP IS2 lookup 1 policy 255: 21255
[all …]
/Linux-v5.15/drivers/net/wireless/broadcom/b43/
Dtables_nphy.h85 #define B43_NTAB_FRAMELT B43_NTAB8 (0x18, 0x000) /* Frame Lookup Table */
95 #define B43_NTAB_PILOTLT B43_NTAB32(0x14, 0x000) /* Pilot Lookup Table */
117 #define B43_NTAB_C0_ESTPLT B43_NTAB8 (0x1A, 0x000) /* Estimate Power Lookup Table Core 0 */
119 #define B43_NTAB_C0_ADJPLT B43_NTAB8 (0x1A, 0x040) /* Adjust Power Lookup Table Core 0 */
121 #define B43_NTAB_C0_GAINCTL B43_NTAB32(0x1A, 0x0C0) /* Gain Control Lookup Table Core 0 */
123 #define B43_NTAB_C0_IQLT B43_NTAB32(0x1A, 0x140) /* IQ Lookup Table Core 0 */
125 #define B43_NTAB_C0_LOFEEDTH B43_NTAB16(0x1A, 0x1C0) /* Local Oscillator Feed Through Lookup Table…
127 #define B43_NTAB_C1_ESTPLT B43_NTAB8 (0x1B, 0x000) /* Estimate Power Lookup Table Core 1 */
129 #define B43_NTAB_C1_ADJPLT B43_NTAB8 (0x1B, 0x040) /* Adjust Power Lookup Table Core 1 */
131 #define B43_NTAB_C1_GAINCTL B43_NTAB32(0x1B, 0x0C0) /* Gain Control Lookup Table Core 1 */
[all …]
/Linux-v5.15/net/qrtr/
Dns.c38 [QRTR_TYPE_NEW_LOOKUP] = "new-lookup",
39 [QRTR_TYPE_DEL_LOOKUP] = "del-lookup",
187 pr_err("failed to send lookup notification\n"); in lookup_notify()
275 struct qrtr_lookup *lookup; in server_del() local
291 lookup = container_of(li, struct qrtr_lookup, li); in server_del()
292 if (lookup->service && lookup->service != srv->service) in server_del()
294 if (lookup->instance && lookup->instance != srv->instance) in server_del()
297 lookup_notify(&lookup->sq, srv, false); in server_del()
423 struct qrtr_lookup *lookup; in ctrl_cmd_del_client() local
448 lookup = container_of(li, struct qrtr_lookup, li); in ctrl_cmd_del_client()
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/broadwell/
Duncore.json55 "BriefDescription": "L3 Lookup read request that access cache and found line in M-state",
56 "PublicDescription": "L3 Lookup read request that access cache and found line in M-state.",
67 "BriefDescription": "L3 Lookup write request that access cache and found line in M-state",
68 "PublicDescription": "L3 Lookup write request that access cache and found line in M-state.",
79 "BriefDescription": "L3 Lookup any request that access cache and found line in M-state",
80 "PublicDescription": "L3 Lookup any request that access cache and found line in M-state.",
91 "BriefDescription": "L3 Lookup read request that access cache and found line in I-state",
92 "PublicDescription": "L3 Lookup read request that access cache and found line in I-state.",
103 "BriefDescription": "L3 Lookup any request that access cache and found line in I-state",
104 "PublicDescription": "L3 Lookup any request that access cache and found line in I-state.",
[all …]
/Linux-v5.15/tools/perf/pmu-events/arch/x86/skylake/
Duncore.json55 "BriefDescription": "L3 Lookup write request that access cache and found line in M-state",
56 "PublicDescription": "L3 Lookup write request that access cache and found line in M-state.",
67 "BriefDescription": "L3 Lookup any request that access cache and found line in M-state",
68 "PublicDescription": "L3 Lookup any request that access cache and found line in M-state.",
79 "BriefDescription": "L3 Lookup read request that access cache and found line in I-state",
80 "PublicDescription": "L3 Lookup read request that access cache and found line in I-state.",
91 "BriefDescription": "L3 Lookup any request that access cache and found line in I-state",
92 "PublicDescription": "L3 Lookup any request that access cache and found line in I-state.",
103 "BriefDescription": "L3 Lookup read request that access cache and found line in any MESI-state",
104 … "PublicDescription": "L3 Lookup read request that access cache and found line in any MESI-state.",
[all …]
/Linux-v5.15/drivers/gpio/
Dgpiolib-acpi.c725 struct acpi_gpio_lookup *lookup = data; in acpi_populate_gpio_lookup() local
730 if (!lookup->desc) { in acpi_populate_gpio_lookup()
736 if (lookup->info.quirks & ACPI_GPIO_QUIRK_ONLY_GPIOIO && gpioint) in acpi_populate_gpio_lookup()
737 lookup->index++; in acpi_populate_gpio_lookup()
739 if (lookup->n++ != lookup->index) in acpi_populate_gpio_lookup()
742 pin_index = lookup->pin_index; in acpi_populate_gpio_lookup()
746 if (lookup->info.quirks & ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER) in acpi_populate_gpio_lookup()
751 lookup->desc = desc; in acpi_populate_gpio_lookup()
752 lookup->info.pin_config = agpio->pin_config; in acpi_populate_gpio_lookup()
753 lookup->info.debounce = agpio->debounce_timeout; in acpi_populate_gpio_lookup()
[all …]
/Linux-v5.15/Documentation/filesystems/
Dpath-lookup.txt1 Path walking and name lookup locking
9 path string. Then repeating the lookup from the child dentry and finding its
16 Prior to 2.5.10, dcache_lock was acquired in d_lookup (dcache hash lookup) and
50 current->fs->cwd or current->fs->root) as the first parent of the lookup. Then
53 parent for the next lookup.
58 Turning the child into a parent for the next lookup requires more checks and
72 - lookup and create missing parts of the path on demand.
77 Dcache name lookup
79 In order to lookup a dcache (parent, name) tuple, we take a hash on the tuple
115 lookup of the old list veering off into the new (incorrect) list and missing
[all …]
Dpath-lookup.rst2 Pathname lookup
7 - <https://lwn.net/Articles/649115/> Pathname lookup in Linux
8 - <https://lwn.net/Articles/649729/> RCU-walk: faster pathname lookup in Linux
15 - per-directory parallel name lookup.
18 Introduction to pathname lookup
21 The most obvious aspect of pathname lookup, which very little
96 changes that affect that lookup. One fairly extreme case is that if
100 pathname lookup is to prevent them from having damaging effects. Many
103 pathname lookup.
109 make them quickly available for lookup. Each entry (known as a
[all …]
/Linux-v5.15/include/linux/
Dof_platform.h16 * struct of_dev_auxdata - lookup table entry for device names & platform_data
22 * This lookup table allows the caller of of_platform_populate() to override
32 * Note: Using an auxdata lookup table should be considered a last resort when
44 /* Macro to simplify populating a lookup table */
76 const struct of_dev_auxdata *lookup,
79 const struct of_dev_auxdata *lookup,
89 const struct of_dev_auxdata *lookup, in of_platform_populate() argument
95 const struct of_dev_auxdata *lookup, in of_platform_default_populate() argument
Dkref.h100 * objects that can be looked up from a lookup structure, and which are
101 * removed from that lookup structure in the object destructor.
103 * lookup + kref_get, and a write lock around kref_put + remove from lookup
105 * With a lookup followed by a kref_get_unless_zero *with return value check*
107 * the lookup structure and RCU lookups become trivial.
/Linux-v5.15/Documentation/bpf/
Dprog_sk_lookup.rst8 into the socket lookup performed by the transport layer when a packet is to be
31 latency spikes during socket lookup.
54 ``SK_PASS`` signifies that the socket lookup should continue on to regular
55 hashtable-based lookup, while ``SK_DROP`` causes the transport layer to drop the
69 is used as the result of the socket lookup.
73 selected a socket, socket lookup fails.
75 socket lookup continues on.
81 receives information about the packet that triggered the socket lookup. Namely:
/Linux-v5.15/net/netfilter/ipvs/
Dip_vs_mh.c8 /* The mh algorithm is to assign a preference list of all the lookup
12 * up a the lookup table.
63 struct ip_vs_mh_lookup *lookup; member
111 l = &s->lookup[0]; in ip_vs_mh_reset()
170 * the population for the dests and reset lookup table. in ip_vs_mh_populate()
209 dest = rcu_dereference_protected(s->lookup[c].dest, 1); in ip_vs_mh_populate()
215 RCU_INIT_POINTER(s->lookup[c].dest, new_dest); in ip_vs_mh_populate()
241 struct ip_vs_dest *dest = rcu_dereference(s->lookup[hash].dest); in ip_vs_mh_get()
258 dest = rcu_dereference(s->lookup[ihash].dest); in ip_vs_mh_get_fallback()
274 dest = rcu_dereference(s->lookup[hash].dest); in ip_vs_mh_get_fallback()
[all …]
/Linux-v5.15/fs/orangefs/
Dnamei.c114 * in theory we could skip a lookup here (if the intent is to in orangefs_lookup()
115 * create) in order to avoid a potentially failed lookup, but in orangefs_lookup()
116 * leaving it in can skip a valid lookup and try to create a file in orangefs_lookup()
118 * -EEXIST on O_EXCL opens, which is broken if we skip this lookup in orangefs_lookup()
131 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_lookup()
138 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_lookup()
140 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, in orangefs_lookup()
144 "%s: doing lookup on %s under %pU,%d\n", in orangefs_lookup()
146 new_op->upcall.req.lookup.d_name, in orangefs_lookup()
147 &new_op->upcall.req.lookup.parent_refn.khandle, in orangefs_lookup()
[all …]
Ddcache.c26 gossip_debug(GOSSIP_DCACHE_DEBUG, "%s: attempting lookup.\n", __func__); in orangefs_revalidate_lookup()
32 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_revalidate_lookup()
33 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_revalidate_lookup()
34 strncpy(new_op->upcall.req.lookup.d_name, in orangefs_revalidate_lookup()
52 "%s:%s:%d lookup failure.\n", in orangefs_revalidate_lookup()
56 if (!match_handle(new_op->downcall.resp.lookup.refn.khandle, in orangefs_revalidate_lookup()
71 "%s:%s:%d lookup failure.\n", in orangefs_revalidate_lookup()
/Linux-v5.15/drivers/net/ethernet/mscc/
Docelot_flower.c11 /* Arbitrarily chosen constants for encoding the VCAP block and lookup number
19 #define VCAP_IS1_CHAIN(lookup) \ argument
20 (1 * VCAP_BLOCK + (lookup) * VCAP_LOOKUP)
21 #define VCAP_IS2_CHAIN(lookup, pag) \ argument
22 (2 * VCAP_BLOCK + (lookup) * VCAP_LOOKUP + (pag))
26 int lookup, pag; in ocelot_chain_to_block() local
40 for (lookup = 0; lookup < VCAP_IS1_NUM_LOOKUPS; lookup++) in ocelot_chain_to_block()
41 if (chain == VCAP_IS1_CHAIN(lookup)) in ocelot_chain_to_block()
44 for (lookup = 0; lookup < VCAP_IS2_NUM_LOOKUPS; lookup++) in ocelot_chain_to_block()
46 if (chain == VCAP_IS2_CHAIN(lookup, pag)) in ocelot_chain_to_block()
[all …]
/Linux-v5.15/arch/mips/pic32/pic32mzda/
Dinit.c98 static int __init pic32_of_prepare_platform_data(struct of_dev_auxdata *lookup) in pic32_of_prepare_platform_data() argument
105 for (; lookup->compatible; lookup++) { in pic32_of_prepare_platform_data()
106 np = of_find_compatible_node(NULL, NULL, lookup->compatible); in pic32_of_prepare_platform_data()
108 lookup->name = (char *)np->name; in pic32_of_prepare_platform_data()
109 if (lookup->phys_addr) in pic32_of_prepare_platform_data()
112 lookup->phys_addr = res.start; in pic32_of_prepare_platform_data()
/Linux-v5.15/drivers/mfd/
Darizona-spi.c65 static void arizona_spi_acpi_remove_lookup(void *lookup) in arizona_spi_acpi_remove_lookup() argument
67 gpiod_remove_lookup_table(lookup); in arizona_spi_acpi_remove_lookup()
72 struct gpiod_lookup_table *lookup; in arizona_spi_acpi_probe() local
80 lookup = devm_kzalloc(arizona->dev, in arizona_spi_acpi_probe()
81 struct_size(lookup, table, ARRAY_SIZE(arizona_soc_gpios) + 1), in arizona_spi_acpi_probe()
83 if (!lookup) in arizona_spi_acpi_probe()
86 lookup->dev_id = dev_name(arizona->dev); in arizona_spi_acpi_probe()
87 memcpy(lookup->table, arizona_soc_gpios, sizeof(arizona_soc_gpios)); in arizona_spi_acpi_probe()
89 gpiod_add_lookup_table(lookup); in arizona_spi_acpi_probe()
90 ret = devm_add_action_or_reset(arizona->dev, arizona_spi_acpi_remove_lookup, lookup); in arizona_spi_acpi_probe()
/Linux-v5.15/security/apparmor/
Dpath.c75 * d_namespace_path - lookup a name associated with a given path
76 * @path: path to lookup (NOT NULL)
79 * @flags: flags controlling path lookup
82 * Handle path name lookup.
84 * Returns: %0 else error code if path lookup fails
183 * @info: Returns - information on why the path lookup failed (MAYBE NULL)
205 *info = "Failed name lookup - deleted entry"; in aa_path_name()
207 *info = "Failed name lookup - disconnected path"; in aa_path_name()
209 *info = "Failed name lookup - name too long"; in aa_path_name()
211 *info = "Failed name lookup"; in aa_path_name()
/Linux-v5.15/net/l3mdev/
Dl3mdev.c79 lookup_by_table_id_t lookup; in l3mdev_ifindex_lookup_by_table_id() local
92 lookup = hdlr->dev_lookup; in l3mdev_ifindex_lookup_by_table_id()
93 if (!lookup) in l3mdev_ifindex_lookup_by_table_id()
96 ifindex = lookup(net, table_id); in l3mdev_ifindex_lookup_by_table_id()
141 * @net: network namespace for device index lookup
210 * l3mdev_link_scope_lookup - IPv6 route lookup based on flow for link
212 * @net: network namespace for device index lookup
213 * @fl6: IPv6 flow struct for lookup
242 * @net: network namespace for device index lookup
/Linux-v5.15/net/netfilter/
Dnft_set_pipapo.h27 /* If a lookup table gets bigger than NFT_PIPAPO_LT_SIZE_HIGH, switch to the
112 * struct nft_pipapo_field - Lookup, mapping tables and related data for a field
115 * @bsize: Size of each bucket in lookup table, in longs
116 * @bb: Number of bits grouped together in lookup table buckets
117 * @lt: Lookup table: 'groups' rows of buckets
134 * struct nft_pipapo_match - Data used for lookup and matching
138 * @bsize_max: Maximum lookup table bucket size of all fields, in longs
140 * @f: Fields, with lookup and mapping tables
184 * @f: Field including lookup table
212 * @f: Field including lookup table
[all …]
Dnft_set_pipapo.c53 * Translate the set to a sequence of lookup tables, one per field. Each table
88 * - allocate a lookup table with one column ("bucket") for each possible
116 * - insert references to the rules in the lookup table, selecting buckets
128 * these bits are set in the lookup table:
144 * rules from the lookup table to rules belonging to the same entry in
145 * the next lookup table, done by pipapo_map().
152 * given lookup table #0 for field 0 (see example above):
167 * and lookup table #1 for field 1 with:
182 * we need to map rules for 10.0.0.5 in lookup table #0 (rule #0) to 1024
183 * in lookup table #1 (rule #0) and rules for 192.168.1.0-192.168.2.1
[all …]
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/macsec/
Dmacsec_api.h85 * Lookup table, and unpack it into the fields of rec.
94 * specified row of the Egress SC Lookup table.
103 * Lookup table, and unpack it into the fields of rec.
112 * specified row of the Egress SA Lookup table.
121 * Key Lookup table, and unpack it into the fields of rec.
130 * specified row of the Egress SA Key Lookup table.
175 * Lookup table, and unpack it into the fields of rec.
184 * specified row of the Ingress SC Lookup table.
193 * Lookup table, and unpack it into the fields of rec.
202 * specified row of the Ingress SA Lookup table.
[all …]
/Linux-v5.15/fs/overlayfs/
Dexport.c55 * in ovl_lookup_real_ancestor() will not be able to lookup a connected overlay
65 * (*) the algorithm in ovl_lookup_real_ancestor() can be improved to lookup an
360 * Lookup a child overlay dentry to get a connected overlay dentry whose real
361 * dentry is @real. If @real is on upper layer, we lookup a child overlay
363 * index for lookup.
375 * Lookup child overlay dentry by real name. The dir mutex protects us in ovl_lookup_real_one()
378 * connected overlay dir, we return -ECHILD and restart the lookup of in ovl_lookup_real_one()
415 pr_warn_ratelimited("failed to lookup one by real (%pd2, layer=%d, connected=%pd2, err=%i)\n", in ovl_lookup_real_one()
426 * Lookup an indexed or hashed overlay dentry by real inode.
438 * Decoding upper dir from index is expensive, so first try to lookup in ovl_lookup_real_inode()
[all …]

12345678910>>...76