Home
last modified time | relevance | path

Searched full:ids (Results 1 – 25 of 1946) sorted by relevance

12345678910>>...78

/Linux-v5.4/ipc/
Dutil.c38 * The ids->rwsem must be taken when:
75 int ids; member
109 * @ids: ipc identifier set
112 * below ipc_mni) then initialise the keys hashtable and ids idr.
114 void ipc_init_ids(struct ipc_ids *ids) in ipc_init_ids() argument
116 ids->in_use = 0; in ipc_init_ids()
117 ids->seq = 0; in ipc_init_ids()
118 init_rwsem(&ids->rwsem); in ipc_init_ids()
119 rhashtable_init(&ids->key_ht, &ipc_kht_params); in ipc_init_ids()
120 idr_init(&ids->ipcs_idr); in ipc_init_ids()
[all …]
Dutil.h115 void ipc_init_ids(struct ipc_ids *ids);
118 int ids, int (*show)(struct seq_file *, void *));
121 #define ipc_init_proc_interface(path, header, ids, show) do {} while (0) argument
132 /* must be called with ids->rwsem acquired for writing */
146 * @ids: ipc identifier set
150 static inline int ipc_get_maxidx(struct ipc_ids *ids) in ipc_get_maxidx() argument
152 if (ids->in_use == 0) in ipc_get_maxidx()
155 if (ids->in_use == ipc_mni) in ipc_get_maxidx()
158 return ids->max_idx; in ipc_get_maxidx()
174 struct kern_ipc_perm *ipc_obtain_object_idr(struct ipc_ids *ids, int id);
[all …]
/Linux-v5.4/drivers/dio/
Ddio-driver.c20 * @ids: array of DIO device id structures to search in
29 dio_match_device(const struct dio_device_id *ids, in dio_match_device() argument
32 while (ids->id) { in dio_match_device()
33 if (ids->id == DIO_WILDCARD) in dio_match_device()
34 return ids; in dio_match_device()
35 if (DIO_NEEDSSECID(ids->id & 0xff)) { in dio_match_device()
36 if (ids->id == d->id) in dio_match_device()
37 return ids; in dio_match_device()
39 if ((ids->id & 0xff) == (d->id & 0xff)) in dio_match_device()
40 return ids; in dio_match_device()
[all …]
/Linux-v5.4/arch/arm/boot/dts/
Dimx28.dtsi220 fsl,pinmux-ids = <
231 fsl,pinmux-ids = <
242 fsl,pinmux-ids = <
255 fsl,pinmux-ids = <
279 fsl,pinmux-ids = <
289 fsl,pinmux-ids = <
302 fsl,pinmux-ids = <
313 fsl,pinmux-ids = <
326 fsl,pinmux-ids = <
337 fsl,pinmux-ids = <
[all …]
Dimx23.dtsi146 fsl,pinmux-ids = <
157 fsl,pinmux-ids = <
170 fsl,pinmux-ids = <
181 fsl,pinmux-ids = <
192 fsl,pinmux-ids = <
218 fsl,pinmux-ids = <
228 fsl,pinmux-ids = <
243 fsl,pinmux-ids = <
263 fsl,pinmux-ids = <
272 fsl,pinmux-ids = <
[all …]
Dimx28-cfa10049.dts86 fsl,pinmux-ids = <
96 fsl,pinmux-ids = <
107 fsl,pinmux-ids = <
117 fsl,pinmux-ids = <
127 fsl,pinmux-ids = <
138 fsl,pinmux-ids = <
148 fsl,pinmux-ids = <
161 fsl,pinmux-ids = <
175 fsl,pinmux-ids = <
202 fsl,pinmux-ids = <
[all …]
/Linux-v5.4/net/openvswitch/
Dvport.c325 * @ids: new configuration, an array of port ids.
327 * Sets the vport's upcall_portids to @ids.
329 * Returns 0 if successful, -EINVAL if @ids is zero length or cannot be parsed
334 int ovs_vport_set_upcall_portids(struct vport *vport, const struct nlattr *ids) in ovs_vport_set_upcall_portids() argument
338 if (!nla_len(ids) || nla_len(ids) % sizeof(u32)) in ovs_vport_set_upcall_portids()
343 vport_portids = kmalloc(sizeof(*vport_portids) + nla_len(ids), in ovs_vport_set_upcall_portids()
348 vport_portids->n_ids = nla_len(ids) / sizeof(u32); in ovs_vport_set_upcall_portids()
350 nla_memcpy(vport_portids->ids, ids, nla_len(ids)); in ovs_vport_set_upcall_portids()
376 struct vport_portids *ids; in ovs_vport_get_upcall_portids() local
378 ids = rcu_dereference_ovsl(vport->upcall_portids); in ovs_vport_get_upcall_portids()
[all …]
/Linux-v5.4/drivers/zorro/
Dzorro-driver.c23 * @ids: array of Zorro device id structures to search in
32 zorro_match_device(const struct zorro_device_id *ids, in zorro_match_device() argument
35 while (ids->id) { in zorro_match_device()
36 if (ids->id == ZORRO_WILDCARD || ids->id == z->id) in zorro_match_device()
37 return ids; in zorro_match_device()
38 ids++; in zorro_match_device()
120 * @ids: array of Zorro device id structures to search in
132 const struct zorro_device_id *ids = zorro_drv->id_table; in zorro_bus_match() local
134 if (!ids) in zorro_bus_match()
137 while (ids->id) { in zorro_bus_match()
[all …]
/Linux-v5.4/drivers/regulator/
Dstpmic1_regulator.c195 #define REG_LDO(ids, base) { \ argument
196 .name = #ids, \
197 .id = STPMIC1_##ids, \
204 .vsel_reg = ids##_ACTIVE_CR, \
206 .enable_reg = ids##_ACTIVE_CR, \
214 #define REG_LDO3(ids, base) { \ argument
215 .name = #ids, \
216 .id = STPMIC1_##ids, \
237 #define REG_LDO4(ids, base) { \ argument
238 .name = #ids, \
[all …]
Dmax8907-regulator.c46 #define REG_LDO(ids, supply, base, min, max, step) \ argument
47 [MAX8907_##ids] = { \
48 .name = #ids, \
50 .id = MAX8907_##ids, \
63 #define REG_FIXED(ids, supply, voltage) \ argument
64 [MAX8907_##ids] = { \
65 .name = #ids, \
67 .id = MAX8907_##ids, \
75 #define REG_OUT5V(ids, supply, base, voltage) \ argument
76 [MAX8907_##ids] = { \
[all …]
/Linux-v5.4/drivers/pci/
Dpci-stub.c22 static char ids[1024] __initdata; variable
24 module_param_string(ids, ids, sizeof(ids), 0);
25 MODULE_PARM_DESC(ids, "Initial PCI IDs to add to the stub driver, format is "
50 /* no ids passed actually */ in pci_stub_init()
51 if (ids[0] == '\0') in pci_stub_init()
54 /* add ids specified in the module parameter */ in pci_stub_init()
55 p = ids; in pci_stub_init()
Dsearch.c284 * @vendor: PCI vendor id to match, or %PCI_ANY_ID to match all vendor ids
285 * @device: PCI device id to match, or %PCI_ANY_ID to match all device ids
286 * @ss_vendor: PCI subsystem vendor id to match, or %PCI_ANY_ID to match all vendor ids
287 * @ss_device: PCI subsystem device id to match, or %PCI_ANY_ID to match all device ids
315 * @vendor: PCI vendor id to match, or %PCI_ANY_ID to match all vendor ids
316 * @device: PCI device id to match, or %PCI_ANY_ID to match all device ids
365 * @ids: A pointer to a null terminated list of struct pci_device_id structures
374 int pci_dev_present(const struct pci_device_id *ids) in pci_dev_present() argument
379 while (ids->vendor || ids->subvendor || ids->class_mask) { in pci_dev_present()
380 found = pci_get_dev_by_id(ids, NULL); in pci_dev_present()
[all …]
/Linux-v5.4/Documentation/RCU/
DarrayRCU.txt52 to map from semaphore, message-queue, and shared-memory IDs to the data
55 ids->sem semaphore.
59 the remainder of the new, updates the ids->entries pointer to point to
61 Note that rcu_assign_pointer() is used to update the ids->entries pointer,
65 static int grow_ary(struct ipc_ids* ids, int newsize)
70 int size = ids->entries->size;
82 memcpy(new->p, ids->entries->p,
88 old = ids->entries;
95 rcu_assign_pointer(ids->entries, new);
117 struct kern_ipc_perm* ipc_lock(struct ipc_ids* ids, int id)
[all …]
/Linux-v5.4/Documentation/driver-api/usb/
Dbulk-streams.rst38 allocate memory so the driver can use up to num_streams stream IDs. They must
40 IDs. This is to ensure that a UASP driver will be able to use the same stream
46 declares how many stream IDs it can support, and each bulk endpoint on a
47 SuperSpeed device will say how many stream IDs it can handle. Therefore,
48 drivers should be able to deal with being allocated less stream IDs than they
60 Picking new Stream IDs to use
69 driver supports secondary stream IDs.
82 All stream IDs will be deallocated when the driver releases the interface, to
/Linux-v5.4/Documentation/core-api/
Didr.rst12 A common problem to solve is allocating identifiers (IDs); generally
14 process IDs, packet identifiers in networking protocols, SCSI tags
37 Some users need to allocate IDs larger than ``INT_MAX``. So far all of
39 :c:func:`idr_alloc_u32`. If you need IDs that will not fit in a u32,
42 If you need to allocate IDs sequentially, you can use
44 with larger IDs, so using this function comes at a slight cost.
58 IDs currently allocated.
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/diag/
Den_tc_tracepoint.h15 #define __parse_action(ids, num) parse_action(p, ids, num) argument
17 void put_ids_to_array(int *ids,
22 int *ids,
30 __dynamic_array(int, ids, f->rule ?
37 put_ids_to_array(__get_dynamic_array(ids),
43 __parse_action(__get_dynamic_array(ids),
Den_tc_tracepoint.c7 void put_ids_to_array(int *ids, in put_ids_to_array() argument
14 ids[i] = entries[i].id; in put_ids_to_array()
43 int *ids, in parse_action() argument
50 if (ids[i] < NUM_FLOW_ACTIONS) in parse_action()
51 trace_seq_printf(p, "%s ", FLOWACT2STR[ids[i]]); in parse_action()
/Linux-v5.4/Documentation/devicetree/bindings/clock/
Dmvebu-core-clock.txt7 The following is a list of provided IDs and clock names on Armada 370/XP:
14 The following is a list of provided IDs and clock names on Armada 375:
20 The following is a list of provided IDs and clock names on Armada 380/385:
26 The following is a list of provided IDs and clock names on Armada 39x:
34 The following is a list of provided IDs and clock names on 98dx3236:
40 The following is a list of provided IDs and clock names on Kirkwood and Dove:
46 The following is a list of provided IDs and clock names on Orion5x:
Dmvebu-gated-clock.txt10 The following is a list of provided IDs for Armada 370:
27 The following is a list of provided IDs for Armada 375:
54 The following is a list of provided IDs for Armada 380/385:
81 The following is a list of provided IDs for Armada 39x:
95 The following is a list of provided IDs for Armada XP:
122 The following is a list of provided IDs for 98dx3236:
132 The following is a list of provided IDs for Dove:
155 The following is a list of provided IDs for Kirkwood:
/Linux-v5.4/arch/mips/include/asm/sgi/
Dgio.h34 * GIO bus IDs
37 * read with an "ID" value. IDs are either 8 or 32 bits long. IDs less
41 * 32-bit IDs are divided into
52 * IDs above 0x50/0xd0 are of 3rd party boards.
54 * 8-bit IDs
/Linux-v5.4/include/dt-bindings/clock/
Dbcm281xx.h35 /* root CCU clock ids */
40 /* aon CCU clock ids */
47 /* hub CCU clock ids */
52 /* master CCU clock ids */
63 /* slave CCU clock ids */
Dbcm21664.h29 /* root CCU clock ids */
34 /* aon CCU clock ids */
39 /* master CCU clock ids */
51 /* slave CCU clock ids */
/Linux-v5.4/drivers/sh/superhyway/
Dsuperhyway.c124 superhyway_match_id(const struct superhyway_device_id *ids, in superhyway_match_id() argument
127 while (ids->id) { in superhyway_match_id()
128 if (ids->id == dev->id.id) in superhyway_match_id()
129 return ids; in superhyway_match_id()
131 ids++; in superhyway_match_id()
198 const struct superhyway_device_id *ids = shyway_drv->id_table; in superhyway_bus_match() local
200 if (!ids) in superhyway_bus_match()
202 if (superhyway_match_id(ids, shyway_dev)) in superhyway_bus_match()
/Linux-v5.4/tools/perf/util/
Dmetricgroup.c87 const char **ids; member
94 const char **ids, in find_evsel_group() argument
103 if (!strcmp(ev->name, ids[i])) { in find_evsel_group()
115 if (!strcmp(ev->name, ids[i])) in find_evsel_group()
169 evsel = find_evsel_group(perf_evlist, eg->ids, eg->idnum, in metricgroup__setup_events()
419 const char **ids; in metricgroup__add_metric() local
427 NULL, &ids, &idnum) < 0) in metricgroup__add_metric()
432 pr_debug("found event %s\n", ids[j]); in metricgroup__add_metric()
438 if (!strcmp(ids[j], "duration_time")) { in metricgroup__add_metric()
447 ids[j]); in metricgroup__add_metric()
[all …]
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/api/
Dcommands.h68 * @LEGACY_GROUP: legacy group, uses command IDs from &enum iwl_legacy_cmds
69 * @LONG_GROUP: legacy group with long header, also uses command IDs
71 * @SYSTEM_GROUP: system group, uses command IDs from
73 * @MAC_CONF_GROUP: MAC configuration group, uses command IDs from
75 * @PHY_OPS_GROUP: PHY operations group, uses command IDs from
77 * @DATA_PATH_GROUP: data path group, uses command IDs from
79 * @NAN_GROUP: NAN group, uses command IDs from &enum iwl_nan_subcmd_ids
80 * @LOCATION_GROUP: location group, uses command IDs from
82 * @PROT_OFFLOAD_GROUP: protocol offload group, uses command IDs from
84 * @REGULATORY_AND_NVM_GROUP: regulatory/NVM group, uses command IDs from
[all …]

12345678910>>...78