/linux-master/tools/perf/util/ |
H A D | expr.y | 27 struct ids { 29 * When creating ids, holds the working set of event ids. NULL 32 struct hashmap *ids; 34 * The metric value. When not creating ids this is the value 36 * creating ids the value is either a constant or BOTTOM. NAN is 41 } ids; 56 %type <ids> expr if_expr 57 %destructor { ids__free($$.ids); } <ids> [all...] |
H A D | expr.h | 16 struct hashmap *ids; member in struct:expr_parse_ctx 23 void ids__free(struct hashmap *ids); 24 int ids__insert(struct hashmap *ids, const char *id); 26 * Union two sets of ids (hashmaps) and construct a third, freeing ids1 and 52 struct expr_parse_ctx *ids);
|
H A D | expr.c | 83 void ids__free(struct hashmap *ids) argument 88 if (ids == NULL) 91 hashmap__for_each_entry(ids, cur, bkt) { 96 hashmap__free(ids); 99 int ids__insert(struct hashmap *ids, const char *id) argument 105 ret = hashmap__set(ids, id, data_ptr, &old_key, &old_data); 151 return ids__insert(ctx->ids, id); 175 ret = hashmap__set(ctx->ids, id, data_ptr, &old_key, &old_data); 210 ret = hashmap__set(ctx->ids, name, data_ptr, &old_key, &old_data); 225 return hashmap__find(ctx->ids, i [all...] |
/linux-master/drivers/dio/ |
H A 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, argument 32 while (ids->id) { 33 if (ids->id == DIO_WILDCARD) 34 return ids; 35 if (DIO_NEEDSSECID(ids->id & 0xff)) { 36 if (ids->id == d->id) 37 return ids; 39 if ((ids->id & 0xff) == (d->id & 0xff)) 40 return ids; 117 const struct dio_device_id *ids = dio_drv->id_table; local [all...] |
/linux-master/ipc/ |
H A D | util.c | 38 * The ids->rwsem must be taken when: 76 int ids; member in struct:ipc_proc_iface 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) argument 117 ids->in_use = 0; 118 ids->seq = 0; 119 init_rwsem(&ids->rwsem); 120 rhashtable_init(&ids->key_ht, &ipc_kht_params); 121 idr_init(&ids 138 ipc_init_proc_interface(const char *path, const char *header, int ids, int (*show)(struct seq_file *, void *)) argument 172 ipc_findkey(struct ipc_ids *ids, key_t key) argument 202 ipc_idr_alloc(struct ipc_ids *ids, struct kern_ipc_perm *new) argument 278 ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int limit) argument 339 ipcget_new(struct ipc_namespace *ns, struct ipc_ids *ids, const struct ipc_ops *ops, struct ipc_params *params) argument 397 ipcget_public(struct ipc_namespace *ns, struct ipc_ids *ids, const struct ipc_ops *ops, struct ipc_params *params) argument 447 ipc_kht_remove(struct ipc_ids *ids, struct kern_ipc_perm *ipcp) argument 467 ipc_search_maxidx(struct ipc_ids *ids, int limit) argument 497 ipc_rmid(struct ipc_ids *ids, struct kern_ipc_perm *ipcp) argument 522 ipc_set_key_private(struct ipc_ids *ids, struct kern_ipc_perm *ipcp) argument 627 ipc_obtain_object_idr(struct ipc_ids *ids, int id) argument 650 ipc_obtain_object_check(struct ipc_ids *ids, int id) argument 673 ipcget(struct ipc_namespace *ns, struct ipc_ids *ids, const struct ipc_ops *ops, struct ipc_params *params) argument 722 ipcctl_obtain_check(struct ipc_namespace *ns, struct ipc_ids *ids, int id, int cmd, struct ipc64_perm *perm, int extra_perm) argument 800 sysvipc_find_ipc(struct ipc_ids *ids, loff_t *pos) argument 842 struct ipc_ids *ids; local 869 struct ipc_ids *ids; local [all...] |
H A D | util.h | 114 void ipc_init_ids(struct ipc_ids *ids); 117 int ids, int (*show)(struct seq_file *, void *)); 120 #define ipc_init_proc_interface(path, header, ids, show) do {} while (0) 131 /* must be called with ids->rwsem acquired for writing */ 145 * @ids: ipc identifier set 147 * The function returns the highest assigned index for @ids. The function 152 static inline int ipc_get_maxidx(struct ipc_ids *ids) argument 154 if (ids->in_use == 0) 157 if (ids->in_use == ipc_mni) 160 return ids [all...] |
H A D | ipc_sysctl.c | 155 .data = &init_ipc_ns.ids[IPC_SEM_IDS].next_id, 156 .maxlen = sizeof(init_ipc_ns.ids[IPC_SEM_IDS].next_id), 164 .data = &init_ipc_ns.ids[IPC_MSG_IDS].next_id, 165 .maxlen = sizeof(init_ipc_ns.ids[IPC_MSG_IDS].next_id), 173 .data = &init_ipc_ns.ids[IPC_SHM_IDS].next_id, 174 .maxlen = sizeof(init_ipc_ns.ids[IPC_SHM_IDS].next_id), 216 if (((table->data == &ns->ids[IPC_SEM_IDS].next_id) || 217 (table->data == &ns->ids[IPC_MSG_IDS].next_id) || 218 (table->data == &ns->ids[IPC_SHM_IDS].next_id)) && 282 else if (tbl[i].data == &init_ipc_ns.ids[IPC_SEM_ID [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | en_tc_tracepoint.c | 7 void put_ids_to_array(int *ids, argument 14 ids[i] = entries[i].id; 43 int *ids, 50 if (ids[i] < NUM_FLOW_ACTIONS) 51 trace_seq_printf(p, "%s ", FLOWACT2STR[ids[i]]); 42 parse_action(struct trace_seq *p, int *ids, unsigned int num) argument
|
H A D | en_tc_tracepoint.h | 15 #define __parse_action(ids, num) parse_action(p, ids, num) 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),
|
/linux-master/drivers/pci/ |
H A D | pci-stub.c | 22 static char ids[1024] __initdata; 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 */ 52 if (ids[0] == '\0') 55 /* add ids specified in the module parameter */ 56 p = ids;
|
/linux-master/tools/perf/tests/ |
H A D | expr.c | 135 TEST_ASSERT_VAL("find ids", 138 TEST_ASSERT_VAL("find ids", hashmap__size(ctx->ids) == 3); 139 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAR", &val_ptr)); 140 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAZ", &val_ptr)); 141 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BOZO", &val_ptr)); 145 TEST_ASSERT_VAL("find ids", [all...] |
/linux-master/drivers/zorro/ |
H A 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, argument 35 while (ids->id) { 36 if (ids->id == ZORRO_WILDCARD || ids->id == z->id) 37 return ids; 38 ids++; 113 * @ids: array of Zorro device id structures to search in 125 const struct zorro_device_id *ids = zorro_drv->id_table; local 127 if (!ids) [all...] |
H A D | Makefile | 21 $(obj)/devlist.h: $(src)/zorro.ids $(obj)/gen-devlist
|
/linux-master/tools/testing/selftests/lsm/ |
H A D | common.h | 25 static inline int lsm_list_modules(__u64 *ids, __u32 *size, __u32 flags) argument 27 return syscall(__NR_lsm_list_modules, ids, size, flags);
|
/linux-master/include/uapi/linux/netfilter_ipv6/ |
H A D | ip6t_frag.h | 8 __u32 ids[2]; /* Identification range */ member in struct:ip6t_frag 22 #define IP6T_FRAG_INV_IDS 0x01 /* Invert the sense of ids. */
|
/linux-master/tools/testing/selftests/hid/tests/ |
H A D | conftest.py | 64 ids = [] 76 ids.append(f"{module.name} {vid:04x}:{pid:04x}") 77 metafunc.parametrize("usbVidPid", params, ids=ids)
|
/linux-master/net/openvswitch/ |
H A D | vport.c | 393 * @ids: new configuration, an array of port ids. 395 * Sets the vport's upcall_portids to @ids. 397 * Returns 0 if successful, -EINVAL if @ids is zero length or cannot be parsed 402 int ovs_vport_set_upcall_portids(struct vport *vport, const struct nlattr *ids) argument 406 if (!nla_len(ids) || nla_len(ids) % sizeof(u32)) 411 vport_portids = kmalloc(sizeof(*vport_portids) + nla_len(ids), 416 vport_portids->n_ids = nla_len(ids) / sizeof(u32); 418 nla_memcpy(vport_portids->ids, id 444 struct vport_portids *ids; local 469 struct vport_portids *ids; local [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | secure_boot.c | 12 static const struct of_device_id ids[] = { local 19 return of_find_matching_node(NULL, ids);
|
/linux-master/drivers/acpi/dptf/ |
H A D | int340x_thermal.c | 68 .ids = int340x_thermal_device_ids,
|
/linux-master/drivers/acpi/ |
H A D | acpi_pnp.c | 370 .ids = acpi_pnp_device_ids, 382 static const struct acpi_device_id ids[] = { local 388 return !acpi_match_device_ids(adev, ids);
|
/linux-master/security/ |
H A D | lsm_syscalls.c | 85 * @ids: the LSM module ids 86 * @size: pointer to size of @ids, updated on return 89 * Returns a list of the active LSM ids. On success this function 90 * returns the number of @ids array elements. This value may be zero 96 SYSCALL_DEFINE3(lsm_list_modules, u64 __user *, ids, u32 __user *, size, 99 u32 total_size = lsm_active_cnt * sizeof(*ids); 116 if (put_user(lsm_idlist[i]->id, ids++))
|
/linux-master/drivers/regulator/ |
H A D | stpmic1_regulator.c | 198 #define REG_LDO(ids, base) { \ 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) { \ 219 .name = #ids, \ 220 .id = STPMIC1_##ids, \ 242 #define REG_LDO4(ids, base) { \ 243 .name = #ids, \ [all...] |
/linux-master/sound/soc/ |
H A D | soc-acpi.c | 134 struct sdw_extended_slave_id *ids, 151 if (ids[j].link_id == link_id && 152 ids[j].id.part_id == part_id && 153 ids[j].id.mfg_id == mfg_id && 154 ids[j].id.sdw_version == version) 161 if (ids[j].link_id != link_id || 162 ids[j].id.part_id != part_id || 163 ids[j].id.mfg_id != mfg_id || 164 ids[j].id.sdw_version != version) 183 ids[ 132 snd_soc_acpi_sdw_link_slaves_found(struct device *dev, const struct snd_soc_acpi_link_adr *link, struct sdw_extended_slave_id *ids, int num_slaves) argument [all...] |
/linux-master/drivers/eisa/ |
H A D | Makefile | 21 $(obj)/devlist.h: $(src)/eisa.ids include/linux/device.h
|
/linux-master/drivers/platform/x86/intel/ |
H A D | smartconnect.c | 38 .ids = smartconnect_ids,
|