/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | domain.c | 127 uuid_t *uuids; in boot_acl_show() local 131 uuids = kcalloc(tb->nboot_acl, sizeof(uuid_t), GFP_KERNEL); in boot_acl_show() 132 if (!uuids) in boot_acl_show() 141 ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl); in boot_acl_show() 149 if (!uuid_is_null(&uuids[i])) in boot_acl_show() 151 &uuids[i]); in boot_acl_show() 160 kfree(uuids); in boot_acl_show()
|
H A D | icm.c | 1500 static int icm_ar_get_boot_acl(struct tb *tb, uuid_t *uuids, size_t nuuids) in icm_ar_get_boot_acl() argument 1518 u32 *uuid = (u32 *)&uuids[i]; in icm_ar_get_boot_acl() 1537 static int icm_ar_set_boot_acl(struct tb *tb, const uuid_t *uuids, in icm_ar_set_boot_acl() argument 1550 const u32 *uuid = (const u32 *)&uuids[i]; in icm_ar_set_boot_acl() 1552 if (uuid_is_null(&uuids[i])) { in icm_ar_set_boot_acl()
|
H A D | tb.h | 387 int (*get_boot_acl)(struct tb *tb, uuid_t *uuids, size_t nuuids); 388 int (*set_boot_acl)(struct tb *tb, const uuid_t *uuids, size_t nuuids);
|
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | domain.c | 124 uuid_t *uuids; in boot_acl_show() local 128 uuids = kcalloc(tb->nboot_acl, sizeof(uuid_t), GFP_KERNEL); in boot_acl_show() 129 if (!uuids) in boot_acl_show() 138 ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl); in boot_acl_show() 146 if (!uuid_is_null(&uuids[i])) in boot_acl_show() 147 ret += sysfs_emit_at(buf, ret, "%pUb", &uuids[i]); in boot_acl_show() 155 kfree(uuids); in boot_acl_show()
|
H A D | icm.c | 1536 static int icm_ar_get_boot_acl(struct tb *tb, uuid_t *uuids, size_t nuuids) in icm_ar_get_boot_acl() argument 1554 u32 *uuid = (u32 *)&uuids[i]; in icm_ar_get_boot_acl() 1573 static int icm_ar_set_boot_acl(struct tb *tb, const uuid_t *uuids, in icm_ar_set_boot_acl() argument 1586 const u32 *uuid = (const u32 *)&uuids[i]; in icm_ar_set_boot_acl() 1588 if (uuid_is_null(&uuids[i])) { in icm_ar_set_boot_acl()
|
H A D | tb.h | 501 int (*get_boot_acl)(struct tb *tb, uuid_t *uuids, size_t nuuids); 502 int (*set_boot_acl)(struct tb *tb, const uuid_t *uuids, size_t nuuids);
|
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | eir.c | 75 list_for_each_entry(uuid, &hdev->uuids, list) { in create_uuid16_list() 117 list_for_each_entry(uuid, &hdev->uuids, list) { in create_uuid32_list() 150 list_for_each_entry(uuid, &hdev->uuids, list) { in create_uuid128_list()
|
H A D | hci_debugfs.c | 179 list_for_each_entry(uuid, &hdev->uuids, list) { in uuids_show() 196 DEFINE_SHOW_ATTRIBUTE(uuids); variable 331 debugfs_create_file("uuids", 0444, hdev->debugfs, hdev, &uuids_fops); in hci_debugfs_create_common()
|
H A D | mgmt.c | 2611 list_add_tail(&uuid->list, &hdev->uuids); in add_uuid() 2691 list_for_each_entry_safe(match, tmp, &hdev->uuids, list) { in remove_uuid() 6009 hdev->discovery.uuids = kmemdup(cp->uuids, uuid_count * 16, in start_service_discovery() 6011 if (!hdev->discovery.uuids) { in start_service_discovery() 10000 static inline bool has_uuid(u8 *uuid, u16 uuid_count, u8 (*uuids)[16]) in has_uuid() argument 10005 if (!memcmp(uuid, uuids[i], 16)) in has_uuid() 10012 static bool eir_has_uuids(u8 *eir, u16 eir_len, u16 uuid_count, u8 (*uuids)[16]) in eir_has_uuids() argument 10034 if (has_uuid(uuid, uuid_count, uuids)) in eir_has_uuids() 10046 if (has_uuid(uuid, uuid_count, uuids)) in eir_has_uuids() [all...] |
/kernel/linux/linux-5.10/drivers/md/bcache/ |
H A D | super.c | 407 cache_set_err_on(bio->bi_status, c, "accessing uuids"); in uuid_endio() 440 bch_bio_map(bio, c->uuids); in uuid_io() 451 for (u = c->uuids; u < c->uuids + c->nr_uuids; u++) in uuid_io() 454 u - c->uuids, u->uuid, u->label, in uuid_io() 471 struct uuid_entry_v0 *u0 = (void *) c->uuids; in uuid_read() 472 struct uuid_entry *u1 = (void *) c->uuids; in uuid_read() 541 for (u = c->uuids; in uuid_find() 542 u < c->uuids + c->nr_uuids; u++) in uuid_find() 834 struct uuid_entry *u = d->c->uuids in bcache_device_detach() [all...] |
H A D | alloc.c | 574 if (UUID_FLASH_ONLY(&c->uuids[KEY_INODE(&ret->key)]) != in pick_data_bucket() 575 UUID_FLASH_ONLY(&c->uuids[KEY_INODE(search)])) in pick_data_bucket()
|
H A D | sysfs.c | 399 memcpy(dc->disk.c->uuids[dc->disk.id].label, in SHOW_LOCKED() 533 struct uuid_entry *u = &d->c->uuids[d->id]; in SHOW() 552 struct uuid_entry *u = &d->c->uuids[d->id]; in STORE()
|
H A D | request.c | 607 !UUID_FLASH_ONLY(&s->d->c->uuids[s->d->id])) { in cache_lookup() 1154 if (UUID_FLASH_ONLY(&c->uuids[i])) in quit_max_writeback_rate()
|
H A D | bcache.h | 672 struct uuid_entry *uuids; member
|
H A D | writeback.c | 565 if (UUID_FLASH_ONLY(&c->uuids[inode])) in bcache_dev_sectors_dirty_add()
|
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | super.c | 405 cache_set_err_on(bio->bi_status, c, "accessing uuids"); in uuid_endio() 437 bch_bio_map(bio, c->uuids); in uuid_io() 449 for (u = c->uuids; u < c->uuids + c->nr_uuids; u++) in uuid_io() 452 u - c->uuids, u->uuid, u->label, in uuid_io() 469 struct uuid_entry_v0 *u0 = (void *) c->uuids; in uuid_read() 470 struct uuid_entry *u1 = (void *) c->uuids; in uuid_read() 539 for (u = c->uuids; in uuid_find() 540 u < c->uuids + c->nr_uuids; u++) in uuid_find() 831 struct uuid_entry *u = d->c->uuids in bcache_device_detach() [all...] |
H A D | alloc.c | 573 if (UUID_FLASH_ONLY(&c->uuids[KEY_INODE(&ret->key)]) != in pick_data_bucket() 574 UUID_FLASH_ONLY(&c->uuids[KEY_INODE(search)])) in pick_data_bucket()
|
H A D | sysfs.c | 415 memcpy(dc->disk.c->uuids[dc->disk.id].label, in SHOW_LOCKED() 553 struct uuid_entry *u = &d->c->uuids[d->id]; in SHOW() 572 struct uuid_entry *u = &d->c->uuids[d->id]; in STORE()
|
H A D | request.c | 607 !UUID_FLASH_ONLY(&s->d->c->uuids[s->d->id])) { in cache_lookup() 1151 if (UUID_FLASH_ONLY(&c->uuids[i])) in quit_max_writeback_rate()
|
H A D | bcache.h | 678 struct uuid_entry *uuids; member
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
H A D | hci_core.h | 90 u8 (*uuids)[16]; member 509 struct list_head uuids; 780 kfree(hdev->discovery.uuids); 781 hdev->discovery.uuids = NULL;
|
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | mgmt.c | 2126 list_add_tail(&uuid->list, &hdev->uuids); in add_uuid() 2212 list_for_each_entry_safe(match, tmp, &hdev->uuids, list) { in remove_uuid() 4843 hdev->discovery.uuids = kmemdup(cp->uuids, uuid_count * 16, in start_service_discovery() 4845 if (!hdev->discovery.uuids) { in start_service_discovery() 8663 static inline bool has_uuid(u8 *uuid, u16 uuid_count, u8 (*uuids)[16]) in has_uuid() argument 8668 if (!memcmp(uuid, uuids[i], 16)) in has_uuid() 8675 static bool eir_has_uuids(u8 *eir, u16 eir_len, u16 uuid_count, u8 (*uuids)[16]) in eir_has_uuids() argument 8697 if (has_uuid(uuid, uuid_count, uuids)) in eir_has_uuids() 8709 if (has_uuid(uuid, uuid_count, uuids)) in eir_has_uuids() [all...] |
H A D | hci_request.c | 530 list_for_each_entry(uuid, &hdev->uuids, list) { in create_uuid16_list() 572 list_for_each_entry(uuid, &hdev->uuids, list) { in create_uuid32_list() 605 list_for_each_entry(uuid, &hdev->uuids, list) { in create_uuid128_list() 2680 list_for_each_entry(uuid, &hdev->uuids, list) in get_service_classes()
|
H A D | hci_debugfs.c | 177 list_for_each_entry(uuid, &hdev->uuids, list) { in uuids_show() 194 DEFINE_SHOW_ATTRIBUTE(uuids); variable 333 debugfs_create_file("uuids", 0444, hdev->debugfs, hdev, &uuids_fops); in hci_debugfs_create_common()
|
/kernel/linux/linux-6.6/include/net/bluetooth/ |
H A D | hci_core.h | 93 u8 (*uuids)[16]; member 583 struct list_head uuids; member 919 kfree(hdev->discovery.uuids); in hci_discovery_filter_clear() 920 hdev->discovery.uuids = NULL; in hci_discovery_filter_clear()
|