Home
last modified time | relevance | path

Searched refs:id (Results 1 – 18 of 18) sorted by relevance

/lib/
A Didr.c44 id = (id < base) ? 0 : id - base; in idr_alloc_u32()
81 u32 id = start; in idr_alloc() local
91 return id; in idr_alloc()
122 if ((int)id < start) in idr_alloc_cyclic()
123 id = start; in idr_alloc_cyclic()
127 id = start; in idr_alloc_cyclic()
134 return id; in idr_alloc_cyclic()
235 id = (id < base) ? 0 : id - base; in idr_get_next_ul()
271 *nextid = id; in idr_get_next()
296 id -= idr->idr_base; in idr_replace()
[all …]
A Dfw_table.c88 acpi_get_subtable_type(char *id) in acpi_get_subtable_type() argument
90 if (strncmp(id, ACPI_SIG_HMAT, 4) == 0) in acpi_get_subtable_type()
92 if (strncmp(id, ACPI_SIG_PRMT, 4) == 0) in acpi_get_subtable_type()
94 if (strncmp(id, ACPI_SIG_CEDT, 4) == 0) in acpi_get_subtable_type()
96 if (strncmp(id, ACPI_SIG_CDAT, 4) == 0) in acpi_get_subtable_type()
150 acpi_parse_entries_array(char *id, unsigned long table_size, in acpi_parse_entries_array() argument
162 type = acpi_get_subtable_type(id); in acpi_parse_entries_array()
177 if (acpi_get_entry_type(&entry) != proc[i].id) in acpi_parse_entries_array()
195 pr_err("[%4.4s:0x%02x] Invalid zero length\n", id, proc->id); in acpi_parse_entries_array()
205 id, proc->id, count - max_entries, count); in acpi_parse_entries_array()
[all …]
A Dtest_rhashtable.c59 int id; member
75 int id; member
92 return test_obj->value.id - val->id; in my_cmpfn()
147 .id = i, in test_rht_lookup()
160 key.id); in test_rht_lookup()
248 .id = i * 2, in test_rhashtable()
315 .id = k, in test_rhltable()
577 rhl_test_objects[2].value.id = rhl_test_objects[0].value.id; in test_insert_duplicates_run()
595 .id = i, in thread_lookup_test()
608 obj->value.tid, obj->value.id, key.tid, key.id); in thread_lookup_test()
[all …]
A Dmemregion.c15 void memregion_free(int id) in memregion_free() argument
17 ida_free(&memregion_ids, id); in memregion_free()
A Dtest_xarray.c53 u32 id; in xa_alloc_index() local
57 XA_BUG_ON(xa, id != index); in xa_alloc_index()
530 u32 id; in check_reserve() local
913 u32 id; in check_xa_alloc_1() local
969 id = 3; in check_xa_alloc_1()
973 XA_BUG_ON(xa, id != 3); in check_xa_alloc_1()
987 unsigned int i, id; in check_xa_alloc_2() local
1018 XA_BUG_ON(xa, id != 5); in check_xa_alloc_2()
1040 unsigned int i, id; in check_xa_alloc_3() local
1047 XA_BUG_ON(xa, id != 1); in check_xa_alloc_3()
[all …]
A Dtest_hmm.c1450 dev = MKDEV(MAJOR(dmirror_dev), id); in dmirror_device_init()
1459 ret = dev_set_name(&mdevice->device, "hmm_dmirror%u", id); in dmirror_device_init()
1480 int id = 0; in hmm_dmirror_init() local
1499 for (id = 0; id < ndevices; id++) { in hmm_dmirror_init()
1500 ret = dmirror_device_init(dmirror_devices + id, id); in hmm_dmirror_init()
1509 while (--id >= 0) in hmm_dmirror_init()
1510 dmirror_device_remove(dmirror_devices + id); in hmm_dmirror_init()
1518 int id; in hmm_dmirror_exit() local
1520 for (id = 0; id < DMIRROR_NDEVICES; id++) in hmm_dmirror_exit()
1521 if (dmirror_devices[id].zone_device_type) in hmm_dmirror_exit()
[all …]
A Dtest_objagg.c13 unsigned int id; member
54 key.id = key_id; in world_obj_get()
94 int diff = key->id - parent_key->id; in delta_check()
104 int diff = key->id - parent_key->id; in delta_create()
127 static void *root_create(void *priv, void *obj, unsigned int id) in root_create() argument
183 if (root->key.id != key_id) { in test_nodelta_obj_get()
633 key_id = root_key->id; in obj_to_key_id()
A Dtest_ida.c33 int i, id; in ida_check_alloc() local
41 id = ida_alloc(ida, GFP_KERNEL); in ida_check_alloc()
42 IDA_BUG_ON(ida, id < 0); in ida_check_alloc()
44 IDA_BUG_ON(ida, id != 10000); in ida_check_alloc()
A Dgroup_cpus.c101 unsigned id; member
140 node_groups[n].id = n; in alloc_nodes_groups()
297 cpumask_and(nmsk, cpu_mask, node_to_cpumask[nv->id]); in __group_cpus_evenly()
A Dxarray.c1985 int __xa_alloc(struct xarray *xa, u32 *id, void *entry, in __xa_alloc() argument
2004 *id = xas.xa_index; in __xa_alloc()
2037 int __xa_alloc_cyclic(struct xarray *xa, u32 *id, void *entry, in __xa_alloc_cyclic() argument
2044 ret = __xa_alloc(xa, id, entry, limit, gfp); in __xa_alloc_cyclic()
2052 ret = __xa_alloc(xa, id, entry, limit, gfp); in __xa_alloc_cyclic()
2058 *next = *id + 1; in __xa_alloc_cyclic()
A DKconfig.kasan30 # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89124 for details.
A DKconfig.debug25 Selecting this option causes printk() to add a caller "thread id" (if
26 in task context) or a caller "processor id" (if not in task context)
236 # relaxation: https://sourceware.org/bugzilla/show_bug.cgi?id=27215
363 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99090
/lib/kunit/
A Dplatform-test.c28 const int id = -1; in kunit_platform_device_add_test() local
30 pdev = kunit_platform_device_alloc(test, name, id); in kunit_platform_device_add_test()
36 KUNIT_EXPECT_EQ(test, pdev->id, id); in kunit_platform_device_add_test()
47 const int id = -1; in kunit_platform_device_add_twice_fails_test() local
49 pdev = kunit_platform_device_alloc(test, name, id); in kunit_platform_device_add_twice_fails_test()
53 pdev = kunit_platform_device_alloc(test, name, id); in kunit_platform_device_add_twice_fails_test()
71 const int id = -1; in kunit_platform_device_add_cleans_up() local
78 pdev = kunit_platform_device_alloc(&fake, name, id); in kunit_platform_device_add_cleans_up()
A Dplatform.c16 int id; member
24 pdev = platform_device_alloc(params->name, params->id); in kunit_platform_device_alloc_init()
51 kunit_platform_device_alloc(struct kunit *test, const char *name, int id) in kunit_platform_device_alloc() argument
55 .id = id, in kunit_platform_device_alloc()
/lib/pldmfw/
A Dpldmfw.c138 if (!uuid_equal(&header->id, &pldm_firmware_header_id)) { in pldm_parse_header()
140 &pldm_firmware_header_id, &header->id); in pldm_parse_header()
639 struct pldm_pci_record_id id = { in pldmfw_op_pci_match_record() local
653 ptr = &id.vendor; in pldmfw_op_pci_match_record()
656 ptr = &id.device; in pldmfw_op_pci_match_record()
659 ptr = &id.subsystem_vendor; in pldmfw_op_pci_match_record()
662 ptr = &id.subsystem_device; in pldmfw_op_pci_match_record()
681 if ((id.vendor == PCI_ANY_ID || id.vendor == pdev->vendor) && in pldmfw_op_pci_match_record()
682 (id.device == PCI_ANY_ID || id.device == pdev->device) && in pldmfw_op_pci_match_record()
683 (id.subsystem_vendor == PCI_ANY_ID || id.subsystem_vendor == pdev->subsystem_vendor) && in pldmfw_op_pci_match_record()
[all …]
A Dpldmfw_private.h42 uuid_t id; /* PackageHeaderIdentifier */ member
/lib/xz/
A Dxz_private.h147 enum xz_ret xz_dec_bcj_reset(struct xz_dec_bcj *s, uint8_t id);
A Dxz_dec_bcj.c693 enum xz_ret xz_dec_bcj_reset(struct xz_dec_bcj *s, uint8_t id) in xz_dec_bcj_reset() argument
695 switch (id) { in xz_dec_bcj_reset()
727 s->type = id; in xz_dec_bcj_reset()

Completed in 58 milliseconds