Home
last modified time | relevance | path

Searched refs:ids (Results 1 – 25 of 481) sorted by relevance

12345678910>>...20

/kernel/linux/linux-5.10/ipc/
Dutil.c75 int ids; member
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()
121 ids->max_idx = -1; in ipc_init_ids()
122 ids->last_idx = -1; in ipc_init_ids()
124 ids->next_id = -1; 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
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);
180 struct ipc_ids *ids, int id, int cmd,
240 struct kern_ipc_perm *ipc_obtain_object_check(struct ipc_ids *ids, int id);
[all …]
/kernel/linux/linux-5.10/drivers/dio/
Ddio-driver.c29 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()
42 ids++; in dio_match_device()
[all …]
/kernel/linux/linux-5.10/net/openvswitch/
Dvport.c336 int ovs_vport_set_upcall_portids(struct vport *vport, const struct nlattr *ids) in ovs_vport_set_upcall_portids() argument
340 if (!nla_len(ids) || nla_len(ids) % sizeof(u32)) in ovs_vport_set_upcall_portids()
345 vport_portids = kmalloc(sizeof(*vport_portids) + nla_len(ids), in ovs_vport_set_upcall_portids()
350 vport_portids->n_ids = nla_len(ids) / sizeof(u32); in ovs_vport_set_upcall_portids()
352 nla_memcpy(vport_portids->ids, ids, nla_len(ids)); in ovs_vport_set_upcall_portids()
378 struct vport_portids *ids; in ovs_vport_get_upcall_portids() local
380 ids = rcu_dereference_ovsl(vport->upcall_portids); in ovs_vport_get_upcall_portids()
384 ids->n_ids * sizeof(u32), (void *)ids->ids); in ovs_vport_get_upcall_portids()
386 return nla_put_u32(skb, OVS_VPORT_ATTR_UPCALL_PID, ids->ids[0]); in ovs_vport_get_upcall_portids()
403 struct vport_portids *ids; in ovs_vport_find_upcall_portid() local
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dstpmic1_regulator.c197 #define REG_LDO(ids, base) { \ argument
198 .name = #ids, \
199 .id = STPMIC1_##ids, \
206 .vsel_reg = ids##_ACTIVE_CR, \
208 .enable_reg = ids##_ACTIVE_CR, \
217 #define REG_LDO3(ids, base) { \ argument
218 .name = #ids, \
219 .id = STPMIC1_##ids, \
241 #define REG_LDO4(ids, base) { \ argument
242 .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 …]
/kernel/linux/linux-5.10/drivers/zorro/
Dzorro-driver.c32 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()
131 const struct zorro_device_id *ids = zorro_drv->id_table; in zorro_bus_match() local
133 if (!ids) in zorro_bus_match()
136 return !!zorro_match_device(ids, z); in zorro_bus_match()
/kernel/linux/linux-5.10/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 "
51 if (ids[0] == '\0') in pci_stub_init()
55 p = ids; in pci_stub_init()
/kernel/linux/linux-5.10/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 …]
Dimx28-eukrea-mbmx28lc.dtsi194 fsl,pinmux-ids = <
204 fsl,pinmux-ids = <
214 fsl,pinmux-ids = <
227 fsl,pinmux-ids = <
237 fsl,pinmux-ids = <
247 fsl,pinmux-ids = <
257 fsl,pinmux-ids = <
267 fsl,pinmux-ids = <
/kernel/linux/linux-5.10/tools/perf/tests/
Dexpr.c67 TEST_ASSERT_VAL("find other", hashmap__size(&ctx.ids) == 3); in test__expr()
68 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "BAR", in test__expr()
70 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "BAZ", in test__expr()
72 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "BOZO", in test__expr()
79 TEST_ASSERT_VAL("find other", hashmap__size(&ctx.ids) == 2); in test__expr()
80 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "EVENT1,param=3/", in test__expr()
82 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "EVENT2,param=3/", in test__expr()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/
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()
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),
/kernel/linux/linux-5.10/tools/perf/util/
Dmetricgroup.c138 static struct expr_id *expr_ids__alloc(struct expr_ids *ids) in expr_ids__alloc() argument
140 if (ids->cnt >= RECURSION_ID_MAX) in expr_ids__alloc()
142 return &ids->id[ids->cnt++]; in expr_ids__alloc()
145 static void expr_ids__exit(struct expr_ids *ids) in expr_ids__exit() argument
149 for (i = 0; i < ids->cnt; i++) in expr_ids__exit()
150 free(ids->id[i].id); in expr_ids__exit()
193 const int idnum = (int)hashmap__size(&pctx->ids); in find_evsel_group()
201 hashmap__find(&pctx->ids, "duration_time", (void **)&val_ptr)) in find_evsel_group()
237 if (hashmap__find(&pctx->ids, ev->name, (void **)&val_ptr)) in find_evsel_group()
316 hashmap__size(&m->pctx.ids) + 1); in metricgroup__setup_events()
[all …]
Dexpr.c52 ret = hashmap__set(&ctx->ids, id, data_ptr, in expr__add_id()
74 ret = hashmap__set(&ctx->ids, id, data_ptr, in expr__add_id_val()
120 ret = hashmap__set(&ctx->ids, name, data_ptr, in expr__add_ref()
136 return hashmap__find(&ctx->ids, id, (void **)data) ? 0 : -1; in expr__get_id()
172 hashmap__delete(&ctx->ids, id, in expr__del_id()
180 hashmap__init(&ctx->ids, key_hash, key_equal, NULL); in expr__ctx_init()
188 hashmap__for_each_entry((&ctx->ids), cur, bkt) { in expr__ctx_clear()
192 hashmap__clear(&ctx->ids); in expr__ctx_clear()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
Dddbridge-main.c197 dev->link[0].ids.vendor = id->vendor; in ddb_probe()
198 dev->link[0].ids.device = id->device; in ddb_probe()
199 dev->link[0].ids.subvendor = id->subvendor; in ddb_probe()
200 dev->link[0].ids.subdevice = pdev->subsystem_device; in ddb_probe()
201 dev->link[0].ids.devid = (id->device << 16) | id->vendor; in ddb_probe()
224 dev->link[0].ids.hwid = ddbreadl(dev, 0); in ddb_probe()
225 dev->link[0].ids.regmapid = ddbreadl(dev, 4); in ddb_probe()
228 dev->link[0].ids.hwid, dev->link[0].ids.regmapid); in ddb_probe()
/kernel/linux/linux-5.10/drivers/scsi/libfc/
Dfc_disc.c387 struct fc_rport_identifiers ids; in fc_disc_gpn_ft_parse() local
431 ids.port_id = ntoh24(np->fp_fid); in fc_disc_gpn_ft_parse()
432 ids.port_name = ntohll(np->fp_wwpn); in fc_disc_gpn_ft_parse()
434 if (ids.port_id != lport->port_id && in fc_disc_gpn_ft_parse()
435 ids.port_name != lport->wwpn) { in fc_disc_gpn_ft_parse()
436 rdata = fc_rport_create(lport, ids.port_id); in fc_disc_gpn_ft_parse()
438 rdata->ids.port_name = ids.port_name; in fc_disc_gpn_ft_parse()
443 "(%6.6x)\n", ids.port_id); in fc_disc_gpn_ft_parse()
601 if (rdata->ids.port_name == -1) in fc_disc_gpn_id_resp()
602 rdata->ids.port_name = port_name; in fc_disc_gpn_id_resp()
[all …]
Dfc_rport.c111 if (tmp_rdata->ids.port_id == port_id && in fc_rport_lookup()
147 rdata->ids.node_name = -1; in fc_rport_create()
148 rdata->ids.port_name = -1; in fc_rport_create()
149 rdata->ids.port_id = port_id; in fc_rport_create()
150 rdata->ids.roles = FC_RPORT_ROLE_UNKNOWN; in fc_rport_create()
267 struct fc_rport_identifiers ids; in fc_rport_work() local
281 ids = rdata->ids; in fc_rport_work()
289 rport = fc_remote_port_add(lport->host, 0, &ids); in fc_rport_work()
335 port_id = rdata->ids.port_id; in fc_rport_work()
506 u32 port_id = rdata->ids.port_id; in fc_rport_logoff()
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/atom/
Dsst-atom-controls.c298 const char *pipe, struct sst_ids *ids) in sst_find_and_send_pipe_algo() argument
306 list_for_each_entry(algo, &ids->algo_list, node) { in sst_find_and_send_pipe_algo()
514 static int sst_set_pipe_gain(struct sst_ids *ids,
522 struct sst_ids *ids = w->priv; in sst_send_pipe_module_params() local
525 sst_find_and_send_pipe_algo(drv, w->name, ids); in sst_send_pipe_module_params()
526 sst_set_pipe_gain(ids, drv, 0); in sst_send_pipe_module_params()
599 static int sst_set_pipe_gain(struct sst_ids *ids, in sst_set_pipe_gain() argument
607 list_for_each_entry(gain, &ids->gain_list, node) { in sst_set_pipe_gain()
628 struct sst_ids *ids = w->priv; in sst_swm_mixer_event() local
674 ids->location_id, SST_DEFAULT_MODULE_ID); in sst_swm_mixer_event()
[all …]
/kernel/linux/linux-5.10/drivers/mmc/core/
Dsdio_bus.c95 const struct sdio_device_id *ids; in sdio_match_device() local
97 ids = sdrv->id_table; in sdio_match_device()
99 if (ids) { in sdio_match_device()
100 while (ids->class || ids->vendor || ids->device) { in sdio_match_device()
101 if (sdio_match_one(func, ids)) in sdio_match_device()
102 return ids; in sdio_match_device()
103 ids++; in sdio_match_device()
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dperf-inject.txt17 this case build-ids (-b option) are read and injected as needed into the event
20 Build-ids are just the first user of perf-inject - potentially anything that
27 --build-ids::
28 Inject build-ids into the output stream
31 Inject build-ids of all DSOs into the output stream
/kernel/linux/linux-5.10/drivers/acpi/
Dacpi_pnp.c360 .ids = acpi_pnp_device_ids,
372 static const struct acpi_device_id ids[] = { in is_cmos_rtc_device() local
378 return !acpi_match_device_ids(adev, ids); in is_cmos_rtc_device()

12345678910>>...20