Home
last modified time | relevance | path

Searched refs:registry (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/md/dm-vdo/
H A Dthread-registry.c18 void vdo_initialize_thread_registry(struct thread_registry *registry) in vdo_initialize_thread_registry() argument
20 INIT_LIST_HEAD(&registry->links); in vdo_initialize_thread_registry()
21 spin_lock_init(&registry->lock); in vdo_initialize_thread_registry()
25 void vdo_register_thread(struct thread_registry *registry, in vdo_register_thread() argument
35 spin_lock(&registry->lock); in vdo_register_thread()
36 list_for_each_entry(thread, &registry->links, links) { in vdo_register_thread()
44 list_add_tail_rcu(&new_thread->links, &registry->links); in vdo_register_thread()
45 spin_unlock(&registry->lock); in vdo_register_thread()
55 void vdo_unregister_thread(struct thread_registry *registry) in vdo_unregister_thread() argument
60 spin_lock(&registry->lock); in vdo_unregister_thread()
[all …]
H A Dthread-registry.h23 void vdo_initialize_thread_registry(struct thread_registry *registry);
25 void vdo_register_thread(struct thread_registry *registry,
28 void vdo_unregister_thread(struct thread_registry *registry);
30 const void *vdo_lookup_thread(struct thread_registry *registry);
H A Dvdo.c74 static struct device_registry registry; variable
82 INIT_LIST_HEAD(&registry.links); in vdo_initialize_device_registry_once()
83 rwlock_init(&registry.lock); in vdo_initialize_device_registry_once()
106 list_for_each_entry(vdo, &registry.links, registration) { in filter_vdos_locked()
123 read_lock(&registry.lock); in vdo_find_matching()
125 read_unlock(&registry.lock); in vdo_find_matching()
443 write_lock(&registry.lock); in register_vdo()
448 list_add_tail(&vdo->registration, &registry.links); in register_vdo()
450 write_unlock(&registry.lock); in register_vdo()
663 write_lock(&registry.lock); in unregister_vdo()
[all …]
H A DMakefile38 thread-registry.o \
/linux/drivers/power/supply/
H A Dsurface_charger.c47 struct ssam_event_registry registry; member
175 struct ssam_event_registry registry, const char *name) in spwr_ac_init() argument
184 ac->notif.event.reg = registry; in spwr_ac_init()
244 spwr_ac_init(ac, sdev, p->registry, p->name); in surface_ac_probe()
259 .registry = SSAM_EVENT_REGISTRY_SAM,
/linux/Documentation/driver-api/surface_aggregator/
H A Dclient.rst96 corresponding registry. SSAM devices can also be manually allocated via
322 in case an event has been received, the registry specifying how the event
324 optionally and depending on the registry used, for which instance ID events
326 events. If the specific registry does not enable events by instance ID, the
335 notifier IDs (in case of target ID, the target ID of the registry), by
338 In general, the target ID of the registry is also the target ID of the
340 Surface Laptop 1 and 2, which are enabled via a registry with target ID 1,
368 /* Specify event registry, i.e. how events get enabled/disabled. */
391 specific event (combination of registry, event target category, and event
H A Dinternal.rst484 event registry, i.e. the governing authority of this event (so to speak),
486 target category and, depending on the event registry, instance ID of the
488 zero if the registry does not use it. Together, target category and instance
490 registry and event ID, are required to uniquely identify a respective class
506 registry and ID as key (there is no known list of valid event registry and
526 event registry and event ID to the command data (target ID, target category,
534 target ID (provided via the event registry) and instance ID (provided via
H A Doverview.rst40 harder to discover and requiring us to hard-code a sort of device registry.
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/
H A Dgsp.c502 static void build_registry(struct nvkm_gsp *gsp, PACKED_REGISTRY_TABLE *registry) in build_registry() argument
508 registry->numEntries = list_count_nodes(&gsp->registry_list); in build_registry()
509 str_offset = struct_size(registry, entries, registry->numEntries); in build_registry()
512 registry->entries[i].type = reg->type; in build_registry()
513 registry->entries[i].length = reg->vlen; in build_registry()
516 registry->entries[i].nameOffset = str_offset; in build_registry()
517 memcpy((void *)registry + str_offset, reg->key, reg->klen); in build_registry()
522 registry->entries[i].data = reg->dword; in build_registry()
527 memcpy((void *)registry + str_offset, reg->binary, reg->vlen); in build_registry()
528 registry->entries[i].data = str_offset; in build_registry()
[all …]
/linux/drivers/platform/surface/
H A DKconfig109 Device-registry for Surface System Aggregator Module (SSAM) devices.
111 Provides a module and driver which act as a device-registry for SSAM
113 Such devices are instead provided and managed via this registry.
115 Devices provided via this registry are:
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.c2782 if (o->registry.aprox_match.vec[i]) in bnx2x_mcast_get_next_bin()
2785 if (BIT_VEC64_TEST_BIT(o->registry.aprox_match. in bnx2x_mcast_get_next_bin()
2809 BIT_VEC64_CLEAR_BIT(o->registry.aprox_match.vec, cur_bit); in bnx2x_mcast_clear_first_bin()
2852 BIT_VEC64_SET_BIT(o->registry.aprox_match.vec, bin); in bnx2x_mcast_set_one_rule_e2()
2871 BIT_VEC64_SET_BIT(o->registry.aprox_match.vec, bin); in bnx2x_mcast_set_one_rule_e2()
2876 BIT_VEC64_CLEAR_BIT(o->registry.aprox_match.vec, bin); in bnx2x_mcast_set_one_rule_e2()
3026 memcpy(cur, o->registry.aprox_match.vec, in bnx2x_mcast_hdl_pending_set_e2_convert()
3363 elem = o->registry.aprox_match.vec[i]; in bnx2x_mcast_refresh_registry_e2()
3504 BIT_VEC64_SET_BIT(o->registry.aprox_match.vec, in bnx2x_mcast_hdl_add_e1h()
3554 memset(o->registry.aprox_match.vec, 0, in bnx2x_mcast_setup_e1h()
[all …]
H A Dbnx2x_sp.h572 } registry; member
/linux/Documentation/usb/
H A Dlinux.inf50 ; Optional registry settings. You can modify as needed.
/linux/Documentation/gpu/rfc/
H A Di915_scheduler.rst85 * https://www.khronos.org/registry/EGL/extensions/IMG/EGL_IMG_context_priority.txt
86 * https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap5.html#devsandqueues-priori…
/linux/Documentation/scsi/
H A Dmegaraid.rst60 module acts as a registry for low level hba drivers. The low level drivers
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_xmit.c2024 struct registry_priv *registry = &adapter->registrypriv; in xmitframe_hiq_filter() local
2026 if (registry->hiq_filter == RTW_HIQ_FILTER_ALLOW_SPECIAL) { in xmitframe_hiq_filter()
2035 } else if (registry->hiq_filter == RTW_HIQ_FILTER_ALLOW_ALL) in xmitframe_hiq_filter()
2037 else if (registry->hiq_filter == RTW_HIQ_FILTER_DENY_ALL) { in xmitframe_hiq_filter()
/linux/Documentation/admin-guide/
H A Dunicode.rst175 Since the assignment of the Klingon Linux Unicode block, a registry of
/linux/Documentation/userspace-api/
H A Ddma-buf-alloc-exchange.rst388 .. _VK_EXT_image_drm_format_modifier: https://registry.khronos.org/vulkan/specs/1.3-extensions/man/…
389 .. _EGL_EXT_image_dma_buf_import_modifiers: https://registry.khronos.org/EGL/extensions/EXT/EGL_EXT…
/linux/Documentation/dev-tools/
H A Dcontainer.rst189 available in any public registry but users can build their own locally instead
/linux/lib/
H A DKconfig490 Enable fast lookup object identifier registry.
/linux/Documentation/RCU/Design/Memory-Ordering/
H A DTree-RCU-Memory-Ordering.rst278 .. kernel-figure:: TreeRCU-callback-registry.svg
/linux/Documentation/admin-guide/cifs/
H A Dusage.rst264 the Server's registry. Samba starting with version 3.10 will allow such