/Linux-v6.1/tools/perf/util/ |
D | expr.y | 23 struct ids { 25 * When creating ids, holds the working set of event ids. NULL 28 struct hashmap *ids; 30 * The metric value. When not creating ids this is the value 32 * creating ids the value is either a constant or BOTTOM. NAN is 37 } ids; 52 %type <ids> expr if_expr 53 %destructor { ids__free($$.ids); } <ids> 66 * During compute ids, the special "bottom" value uses NAN to represent the set 71 /* During computing ids, does val represent a constant (non-BOTTOM) value? */ [all …]
|
D | expr.c | 78 void ids__free(struct hashmap *ids) in ids__free() argument 83 if (ids == NULL) in ids__free() 86 hashmap__for_each_entry(ids, cur, bkt) { in ids__free() 91 hashmap__free(ids); in ids__free() 94 int ids__insert(struct hashmap *ids, const char *id) in ids__insert() argument 100 ret = hashmap__set(ids, id, data_ptr, in ids__insert() 148 return ids__insert(ctx->ids, id); in expr__add_id() 172 ret = hashmap__set(ctx->ids, id, data_ptr, in expr__add_id_val_source_count() 208 ret = hashmap__set(ctx->ids, name, data_ptr, in expr__add_ref() 224 return hashmap__find(ctx->ids, id, (void **)data) ? 0 : -1; in expr__get_id() [all …]
|
/Linux-v6.1/ipc/ |
D | util.c | 38 * The ids->rwsem must be taken when: 76 int ids; member 110 * @ids: ipc identifier set 113 * below ipc_mni) then initialise the keys hashtable and ids idr. 115 void ipc_init_ids(struct ipc_ids *ids) in ipc_init_ids() argument 117 ids->in_use = 0; in ipc_init_ids() 118 ids->seq = 0; in ipc_init_ids() 119 init_rwsem(&ids->rwsem); in ipc_init_ids() 120 rhashtable_init(&ids->key_ht, &ipc_kht_params); in ipc_init_ids() 121 idr_init(&ids->ipcs_idr); in ipc_init_ids() [all …]
|
D | ipc_sysctl.c | 154 .data = &init_ipc_ns.ids[IPC_SEM_IDS].next_id, 155 .maxlen = sizeof(init_ipc_ns.ids[IPC_SEM_IDS].next_id), 163 .data = &init_ipc_ns.ids[IPC_MSG_IDS].next_id, 164 .maxlen = sizeof(init_ipc_ns.ids[IPC_MSG_IDS].next_id), 172 .data = &init_ipc_ns.ids[IPC_SHM_IDS].next_id, 173 .maxlen = sizeof(init_ipc_ns.ids[IPC_SHM_IDS].next_id), 200 if (((table->data == &ns->ids[IPC_SEM_IDS].next_id) || in ipc_permissions() 201 (table->data == &ns->ids[IPC_MSG_IDS].next_id) || in ipc_permissions() 202 (table->data == &ns->ids[IPC_SHM_IDS].next_id)) && in ipc_permissions() 249 else if (tbl[i].data == &init_ipc_ns.ids[IPC_SEM_IDS].next_id) in setup_ipc_sysctls() [all …]
|
D | util.h | 115 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 148 * The function returns the highest assigned index for @ids. The function 153 static inline int ipc_get_maxidx(struct ipc_ids *ids) in ipc_get_maxidx() argument 155 if (ids->in_use == 0) in ipc_get_maxidx() 158 if (ids->in_use == ipc_mni) in ipc_get_maxidx() 161 return ids->max_idx; in ipc_get_maxidx() [all …]
|
/Linux-v6.1/tools/perf/tests/ |
D | expr.c | 129 TEST_ASSERT_VAL("find ids", in test__expr() 132 TEST_ASSERT_VAL("find ids", hashmap__size(ctx->ids) == 3); in test__expr() 133 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAR", in test__expr() 135 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAZ", in test__expr() 137 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BOZO", in test__expr() 142 TEST_ASSERT_VAL("find ids", in test__expr() 145 TEST_ASSERT_VAL("find ids", hashmap__size(ctx->ids) == 2); in test__expr() 146 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT1,param=3@", in test__expr() 148 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT2,param=3@", in test__expr() 152 TEST_ASSERT_VAL("find ids", in test__expr() [all …]
|
/Linux-v6.1/drivers/dio/ |
D | dio-driver.c | 20 * @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-v6.1/arch/arm/boot/dts/ |
D | imx28.dtsi | 222 fsl,pinmux-ids = < 233 fsl,pinmux-ids = < 244 fsl,pinmux-ids = < 257 fsl,pinmux-ids = < 281 fsl,pinmux-ids = < 291 fsl,pinmux-ids = < 304 fsl,pinmux-ids = < 315 fsl,pinmux-ids = < 328 fsl,pinmux-ids = < 339 fsl,pinmux-ids = < [all …]
|
D | imx23.dtsi | 146 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 …]
|
D | imx28-cfa10049.dts | 86 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-v6.1/net/openvswitch/ |
D | vport.c | 329 * @ids: new configuration, an array of port ids. 331 * Sets the vport's upcall_portids to @ids. 333 * Returns 0 if successful, -EINVAL if @ids is zero length or cannot be parsed 338 int ovs_vport_set_upcall_portids(struct vport *vport, const struct nlattr *ids) in ovs_vport_set_upcall_portids() argument 342 if (!nla_len(ids) || nla_len(ids) % sizeof(u32)) in ovs_vport_set_upcall_portids() 347 vport_portids = kmalloc(sizeof(*vport_portids) + nla_len(ids), in ovs_vport_set_upcall_portids() 352 vport_portids->n_ids = nla_len(ids) / sizeof(u32); in ovs_vport_set_upcall_portids() 354 nla_memcpy(vport_portids->ids, ids, nla_len(ids)); in ovs_vport_set_upcall_portids() 380 struct vport_portids *ids; in ovs_vport_get_upcall_portids() local 382 ids = rcu_dereference_ovsl(vport->upcall_portids); in ovs_vport_get_upcall_portids() [all …]
|
/Linux-v6.1/Documentation/filesystems/ |
D | idmappings.rst | 14 An idmapping is essentially a translation of a range of ids into another or the 15 same range of ids. The notational convention for idmappings that is widely used 22 indicates the range of the idmapping, i.e. how many ids are mapped. From now 23 on, we will always prefix ids with ``u`` or ``k`` to make it clear whether 39 the set of all possible ids useable on a given system. 80 third idmapping. The kernel will report unmapped ids as the overflowuid 126 of userspace ids into a range of kernel ids:: 136 The kernel is mostly concerned with kernel ids. They are used when performing 145 For the rest of this document we will prefix all userspace ids with ``u`` and 146 all kernel ids with ``k``. Ranges of idmappings will be prefixed with ``r``. So [all …]
|
/Linux-v6.1/drivers/regulator/ |
D | stpmic1_regulator.c | 198 #define REG_LDO(ids, base) { \ argument 199 .name = #ids, \ 200 .id = STPMIC1_##ids, \ 207 .vsel_reg = ids##_ACTIVE_CR, \ 209 .enable_reg = ids##_ACTIVE_CR, \ 218 #define REG_LDO3(ids, base) { \ argument 219 .name = #ids, \ 220 .id = STPMIC1_##ids, \ 242 #define REG_LDO4(ids, base) { \ argument 243 .name = #ids, \ [all …]
|
D | max8907-regulator.c | 46 #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-v6.1/drivers/pci/ |
D | pci-stub.c | 22 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 /* no ids passed actually */ in pci_stub_init() 52 if (ids[0] == '\0') in pci_stub_init() 55 /* add ids specified in the module parameter */ in pci_stub_init() 56 p = ids; in pci_stub_init()
|
/Linux-v6.1/drivers/zorro/ |
D | zorro-driver.c | 23 * @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() 113 * @ids: array of Zorro device id structures to search in 125 const struct zorro_device_id *ids = zorro_drv->id_table; in zorro_bus_match() local 127 if (!ids) in zorro_bus_match() 130 return !!zorro_match_device(ids, z); in zorro_bus_match()
|
/Linux-v6.1/Documentation/RCU/ |
D | arrayRCU.rst | 62 to map from semaphore, message-queue, and shared-memory IDs to the data 65 ids->sem semaphore. 69 the remainder of the new, updates the ids->entries pointer to point to 71 Note that rcu_assign_pointer() is used to update the ids->entries pointer, 75 static int grow_ary(struct ipc_ids* ids, int newsize) 80 int size = ids->entries->size; 92 memcpy(new->p, ids->entries->p, 98 old = ids->entries; 105 rcu_assign_pointer(ids->entries, new); 127 struct kern_ipc_perm* ipc_lock(struct ipc_ids* ids, int id) [all …]
|
/Linux-v6.1/Documentation/driver-api/usb/ |
D | bulk-streams.rst | 38 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-v6.1/Documentation/core-api/ |
D | idr.rst | 12 A common problem to solve is allocating identifiers (IDs); generally 14 process IDs, packet identifiers in networking protocols, SCSI tags 40 Some users need to allocate IDs larger than ``INT_MAX``. So far all of 42 idr_alloc_u32(). If you need IDs that will not fit in a u32, 45 If you need to allocate IDs sequentially, you can use 47 with larger IDs, so using this function comes at a slight cost. 61 IDs currently allocated.
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | commands.h | 12 * @LEGACY_GROUP: legacy group, uses command IDs from &enum iwl_legacy_cmds 13 * @LONG_GROUP: legacy group with long header, also uses command IDs 15 * @SYSTEM_GROUP: system group, uses command IDs from 17 * @MAC_CONF_GROUP: MAC configuration group, uses command IDs from 19 * @PHY_OPS_GROUP: PHY operations group, uses command IDs from 21 * @DATA_PATH_GROUP: data path group, uses command IDs from 23 * @SCAN_GROUP: scan group, uses command IDs from 25 * @NAN_GROUP: NAN group, uses command IDs from &enum iwl_nan_subcmd_ids 26 * @LOCATION_GROUP: location group, uses command IDs from 28 * @PROT_OFFLOAD_GROUP: protocol offload group, uses command IDs from [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/clock/ |
D | mvebu-core-clock.txt | 7 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:
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | en_tc_tracepoint.h | 15 #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),
|
D | en_tc_tracepoint.c | 7 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-v6.1/include/dt-bindings/clock/ |
D | bcm281xx.h | 27 /* root CCU clock ids */ 32 /* aon CCU clock ids */ 39 /* hub CCU clock ids */ 44 /* master CCU clock ids */ 55 /* slave CCU clock ids */
|
/Linux-v6.1/drivers/vfio/pci/ |
D | vfio_pci.c | 33 static char ids[1024] __initdata; variable 34 module_param_string(ids, ids, sizeof(ids), 0); 35 MODULE_PARM_DESC(ids, "Initial PCI IDs to add to the vfio driver, format is \"vendor:device[:subven… 207 /* no ids passed actually */ in vfio_pci_fill_ids() 208 if (ids[0] == '\0') in vfio_pci_fill_ids() 211 /* add ids specified in the module parameter */ in vfio_pci_fill_ids() 212 p = ids; in vfio_pci_fill_ids()
|