| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-bus-vmbus | 8 What: /sys/bus/vmbus/devices/<UUID>/id 15 What: /sys/bus/vmbus/devices/<UUID>/class_id 22 What: /sys/bus/vmbus/devices/<UUID>/device_id 29 What: /sys/bus/vmbus/devices/<UUID>/channel_vp_mapping 38 What: /sys/bus/vmbus/devices/<UUID>/device 45 What: /sys/bus/vmbus/devices/<UUID>/vendor 52 What: /sys/bus/vmbus/devices/<UUID>/numa_node 59 What: /sys/bus/vmbus/devices/<UUID>/channels/<N> 66 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/cpu 73 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/in_mask [all …]
|
| /linux/net/bluetooth/ |
| H A D | eir.c | 54 u8 eir_append_service_data(u8 *eir, u16 eir_len, u16 uuid, u8 *data, in eir_append_service_data() argument 57 eir[eir_len++] = sizeof(u8) + sizeof(uuid) + data_len; in eir_append_service_data() 59 put_unaligned_le16(uuid, &eir[eir_len]); in eir_append_service_data() 60 eir_len += sizeof(uuid); in eir_append_service_data() 70 struct bt_uuid *uuid; in create_uuid16_list() local 75 list_for_each_entry(uuid, &hdev->uuids, list) { in create_uuid16_list() 78 if (uuid->size != 16) in create_uuid16_list() 81 uuid16 = get_unaligned_le16(&uuid->uuid[12]); in create_uuid16_list() 95 /* Stop if not enough space to put next UUID */ in create_uuid16_list() 112 struct bt_uuid *uuid; in create_uuid32_list() local [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | utuuid.c | 4 * Module Name: utuuid -- UUID support functions 18 * UUID support functions. 20 * This table is used to convert an input UUID ascii string to a 16 byte 21 * buffer and the reverse. The table maps a UUID buffer index 0-15 to 22 * the index within the 36-byte UUID string where the associated 2-byte 25 * 36-byte UUID strings are of the form: 40 * PARAMETERS: in_string - 36-byte formatted UUID string 41 * uuid_buffer - Where the 16-byte UUID buffer is returned 45 * DESCRIPTION: Convert a 36-byte formatted UUID string to 16-byte UUID buffer 69 * PARAMETERS: uuid_buffer - 16-byte UUID buffer [all …]
|
| /linux/Documentation/filesystems/ext4/ |
| H A D | checksums.rst | 39 - The entire superblock up to the checksum field. The UUID lives inside 43 - UUID + the entire MMP block up to the checksum field. 46 - UUID + the entire extended attribute block. The checksum field is set to 50 - UUID + inode number + inode generation + the directory block up to the 54 - UUID + inode number + inode generation + all valid extents + HTREE tail. 58 - UUID + inode number + inode generation + the entire extent block up to 62 - UUID + the entire bitmap. Checksums are stored in the group descriptor, 66 - UUID + inode number + inode generation + the entire inode. The checksum 70 - If metadata_csum, then UUID + group number + the entire descriptor; 71 else if gdt_csum, then crc16(UUID + group number + the entire
|
| /linux/drivers/nvdimm/ |
| H A D | label.h | 10 #include <linux/uuid.h> 71 * @type: uuid identifying this label format (region) 72 * @uuid: uuid for the region this label describes 87 u8 uuid[NSLABEL_UUID_LEN]; member 103 * @uuid: UUID per RFC 4122 121 u8 uuid[NSLABEL_UUID_LEN]; member 145 * @type: uuid identifying this label format (namespace) 146 * @uuid: uuid for the namespace this label describes 163 u8 uuid[NSLABEL_UUID_LEN]; member 196 * @id: "pmem-<namespace uuid>"
|
| H A D | namespace_devs.c | 32 kfree(nspm->uuid); in namespace_pmem_release() 46 uuid2 = nspm->uuid; in is_uuid_busy() 50 uuid2 = nd_btt->uuid; in is_uuid_busy() 54 uuid2 = nd_pfn->uuid; in is_uuid_busy() 71 * nd_is_uuid_unique - verify that no other namespace has @uuid 73 * @uuid: uuid to check 75 * Returns: %true if the uuid is unique, %false if not 77 bool nd_is_uuid_unique(struct device *dev, uuid_t *uuid) in nd_is_uuid_unique() argument 84 if (device_for_each_child(&nvdimm_bus->dev, uuid, in nd_is_uuid_unique() 179 return nspm->uuid; in nd_dev_to_uuid() [all …]
|
| H A D | btt_devs.c | 23 kfree(nd_btt->uuid); in nd_btt_release() 69 if (nd_btt->uuid) in uuid_show() 70 return sprintf(buf, "%pUb\n", nd_btt->uuid); in uuid_show() 81 rc = nd_uuid_store(dev, &nd_btt->uuid, buf, len); in uuid_store() 88 static DEVICE_ATTR_RW(uuid); 177 unsigned long lbasize, uuid_t *uuid, in __nd_btt_create() argument 192 if (uuid) { in __nd_btt_create() 193 uuid = kmemdup(uuid, 16, GFP_KERNEL); in __nd_btt_create() 194 if (!uuid) in __nd_btt_create() 197 nd_btt->uuid = uuid; in __nd_btt_create() [all …]
|
| H A D | nd.h | 257 uuid_t *uuid) in nsl_get_uuid() argument 260 import_uuid(uuid, nd_label->cxl.uuid); in nsl_get_uuid() 262 import_uuid(uuid, nd_label->efi.uuid); in nsl_get_uuid() 263 return uuid; in nsl_get_uuid() 268 const uuid_t *uuid) in nsl_set_uuid() argument 271 export_uuid(nd_label->cxl.uuid, uuid); in nsl_set_uuid() 273 export_uuid(nd_label->efi.uuid, uuid); in nsl_set_uuid() 274 return uuid; in nsl_set_uuid() 279 const uuid_t *uuid) in nsl_uuid_equal() argument 284 import_uuid(&tmp, nd_label->cxl.uuid); in nsl_uuid_equal() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-uevent | 11 ACTION [UUID [KEY=VALUE ...] 18 You need to pass UUID first before any KEY=VALUE pairs. 19 The UUID must be in ``xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`` 20 format where 'x' is a hex digit. The UUID is considered to be 21 a transaction identifier so it's possible to use the same UUID 24 listeners. The UUID value appears in uevent as 28 If UUID is not passed in, the generated synthetic uevent gains
|
| H A D | sysfs-bus-optee-devices | 1 What: /sys/bus/tee/devices/optee-ta-<uuid>/ 6 OP-TEE bus provides reference to registered drivers under this directory. The <uuid> 8 are free to create needed API under optee-ta-<uuid> directory. 10 What: /sys/bus/tee/devices/optee-ta-<uuid>/need_supplicant
|
| /linux/drivers/firmware/arm_ffa/ |
| H A D | bus.c | 30 while (!uuid_is_null(&id_table->uuid)) { in ffa_device_match() 36 if (uuid_is_null(&ffa_dev->uuid)) in ffa_device_match() 39 if (uuid_equal(&ffa_dev->uuid, &id_table->uuid)) in ffa_device_match() 52 /* UUID can be still NULL with FF-A v1.0, so just skip probing them */ in ffa_device_probe() 53 if (uuid_is_null(&ffa_dev->uuid)) in ffa_device_probe() 72 ffa_dev->vm_id, &ffa_dev->uuid); in ffa_device_uevent() 81 &ffa_dev->uuid); in modalias_show() 99 return sprintf(buf, "%pUb\n", &ffa_dev->uuid); in uuid_show() 101 static DEVICE_ATTR_RO(uuid); 222 uuid_copy(&ffa_dev->uuid, &part_info->uuid); in ffa_device_register()
|
| /linux/include/uapi/cxl/ |
| H A D | features.h | 15 #include <linux/uuid.h> 58 * @uuid: UUID of the Feature 72 __uapi_uuid_t uuid; member 114 * @uuid: UUID for Feature 122 __uapi_uuid_t uuid; member 144 * @uuid: UUID for Feature 155 __uapi_uuid_t uuid;
|
| /linux/drivers/thunderbolt/ |
| H A D | property.c | 13 #include <linux/uuid.h> 32 u32 uuid[4]; member 177 dir->uuid = kmemdup(&block[dir_offset], sizeof(*dir->uuid), in __tb_property_parse_dir() 179 if (!dir->uuid) { in __tb_property_parse_dir() 184 content_len = dir_len - 4; /* Length includes UUID */ in __tb_property_parse_dir() 239 * @uuid: UUID used to identify the particular directory 241 * Creates new, empty property directory. If @uuid is %NULL then the 246 struct tb_property_dir *tb_property_create_dir(const uuid_t *uuid) in tb_property_create_dir() argument 255 if (uuid) { in tb_property_create_dir() 256 dir->uuid = kmemdup(uuid, sizeof(*dir->uuid), GFP_KERNEL); in tb_property_create_dir() [all …]
|
| H A D | xdomain.c | 18 #include <linux/uuid.h> 44 [XDOMAIN_STATE_UUID] = "UUID", 79 /* UUID for XDomain discovery protocol: b638d70e-42ff-40bb-97c2-90e2c0b2ff07 */ 111 if (!uuid_equal(&res_hdr->uuid, &req_hdr->uuid)) in tb_xdomain_match() 240 memcpy(&hdr->uuid, &tb_xdp_uuid, sizeof(tb_xdp_uuid)); in tb_xdp_fill_header() 264 uuid_t *uuid, u64 *remote_route) in tb_xdp_uuid_request() argument 286 uuid_copy(uuid, &res.src_uuid); in tb_xdp_uuid_request() 293 const uuid_t *uuid) in tb_xdp_uuid_response() argument 301 uuid_copy(&res.src_uuid, uuid); in tb_xdp_uuid_response() 469 int retry, const uuid_t *uuid) in tb_xdp_properties_changed_request() argument [all …]
|
| /linux/drivers/md/ |
| H A D | dm-log-userspace-base.c | 47 char uuid[DM_UUID_LEN]; member 85 static int userspace_do_request(struct log_c *lc, const char *uuid, in userspace_do_request() argument 97 r = dm_consult_userspace(uuid, lc->luid, request_type, data, in userspace_do_request() 108 r = dm_consult_userspace(uuid, lc->luid, DM_ULOG_CTR, in userspace_do_request() 116 r = dm_consult_userspace(uuid, lc->luid, DM_ULOG_RESUME, NULL, in userspace_do_request() 164 r = userspace_do_request(lc, lc->uuid, DM_ULOG_FLUSH, NULL, 0, NULL, NULL); in do_flush() 174 * <UUID> [integrated_flush] <other args> 179 * <UUID> [integrated_flush] clustered-disk <arg count> <log dev> 182 * This module strips off the <UUID> and uses it for identification 220 DMWARN("UUID argument too long."); in userspace_ctr() [all …]
|
| /linux/fs/afs/ |
| H A D | cmservice.c | 333 _debug("extract UUID"); in afs_deliver_cb_init_call_back_state3() 341 _debug("unmarshall UUID"); in afs_deliver_cb_init_call_back_state3() 368 pr_notice("Callback UUID does not match fileserver UUID\n"); in afs_deliver_cb_init_call_back_state3() 419 if (memcmp(r, &call->net->uuid, sizeof(call->net->uuid)) == 0) in SRXAFSCB_ProbeUuid() 450 _debug("extract UUID"); in afs_deliver_cb_probe_uuid() 458 _debug("unmarshall UUID"); in afs_deliver_cb_probe_uuid() 497 __be32 uuid[11]; in SRXAFSCB_TellMeAboutYourself() member 512 reply.ia.uuid[0] = call->net->uuid.time_low; in SRXAFSCB_TellMeAboutYourself() 513 reply.ia.uuid[1] = htonl(ntohs(call->net->uuid.time_mid)); in SRXAFSCB_TellMeAboutYourself() 514 reply.ia.uuid[2] = htonl(ntohs(call->net->uuid.time_hi_and_version)); in SRXAFSCB_TellMeAboutYourself() [all …]
|
| H A D | vlclient.c | 46 struct afs_uuid *uuid; in afs_deliver_vl_get_entry_by_name_u() local 62 uuid = (struct afs_uuid *)&entry->fs_server[n]; in afs_deliver_vl_get_entry_by_name_u() 63 uuid->time_low = xdr->time_low; in afs_deliver_vl_get_entry_by_name_u() 64 uuid->time_mid = htons(ntohl(xdr->time_mid)); in afs_deliver_vl_get_entry_by_name_u() 65 uuid->time_hi_and_version = htons(ntohl(xdr->time_hi_and_version)); in afs_deliver_vl_get_entry_by_name_u() 66 uuid->clock_seq_hi_and_reserved = (u8)ntohl(xdr->clock_seq_hi_and_reserved); in afs_deliver_vl_get_entry_by_name_u() 67 uuid->clock_seq_low = (u8)ntohl(xdr->clock_seq_low); in afs_deliver_vl_get_entry_by_name_u() 69 uuid->node[j] = (u8)ntohl(xdr->node[j]); in afs_deliver_vl_get_entry_by_name_u() 107 * Dispatch a get volume entry by name or ID operation (uuid variant). If the 189 /* Extract the returned uuid, uniquifier, nentries and in afs_deliver_vl_get_addrs_u() [all …]
|
| H A D | server.c | 34 * Look up a server by its UUID and mark it active. The caller must hold 37 static struct afs_server *afs_find_server_by_uuid(struct afs_cell *cell, const uuid_t *uuid) in afs_find_server_by_uuid() argument 43 _enter("%pU", uuid); in afs_find_server_by_uuid() 49 diff = memcmp(uuid, &server->uuid, sizeof(*uuid)); in afs_find_server_by_uuid() 79 /* Firstly install the server in the UUID lookup tree */ in afs_install_server() 86 diff = memcmp(&(*candidate)->uuid, &server->uuid, sizeof(uuid_t)); in afs_install_server() 113 static struct afs_server *afs_alloc_server(struct afs_cell *cell, const uuid_t *uuid) in afs_alloc_server() argument 128 server->uuid = *uuid; in afs_alloc_server() 163 alist = afs_yfsvl_get_endpoints(&vc, &server->uuid); in afs_vl_lookup_addrs() 165 alist = afs_vl_get_addrs_u(&vc, &server->uuid); in afs_vl_lookup_addrs() [all …]
|
| /linux/tools/power/acpi/tools/pfrut/ |
| H A D | pfrut.c | 24 #include <uuid/uuid.h> 169 char *uuid; in print_cap() local 171 uuid = malloc(37); in print_cap() 172 if (!uuid) { in print_cap() 173 perror("Can not allocate uuid buffer\n"); in print_cap() 179 uuid_unparse(cap->code_type, uuid); in print_cap() 180 printf("code injection image type:%s\n", uuid); in print_cap() 184 uuid_unparse(cap->drv_type, uuid); in print_cap() 185 printf("driver update image type:%s\n", uuid); in print_cap() [all...] |
| /linux/include/linux/ |
| H A D | uuid.h | 3 * UUID/GUID definition 38 * The length of a UUID string ("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee") 91 static inline bool uuid_is_null(const uuid_t *uuid) in uuid_is_null() argument 93 return uuid_equal(uuid, &uuid_null); in uuid_is_null() 96 void generate_random_uuid(unsigned char uuid[16]); 102 bool __must_check uuid_is_valid(const char *uuid); 107 int guid_parse(const char *uuid, guid_t *u); 108 int uuid_parse(const char *uuid, uuid_t *u);
|
| /linux/tools/testing/selftests/pstore/ |
| H A D | common_tests | 57 TEST_STRING_PATTERN="Testing pstore: uuid=" 58 UUID=`cat /proc/sys/kernel/random/uuid` 60 LOG_DIR=$TOP_DIR/logs/`date +%Y%m%d-%H%M%S`_${UUID}/ 74 prlog "UUID="$UUID
|
| /linux/drivers/virtio/ |
| H A D | virtio_dma_buf.c | 18 * for the object's UUID. 70 * virtio_dma_buf_get_uuid - gets a virtio dma-buf's exported object's uuid 72 * @uuid: [out] the uuid 77 uuid_t *uuid) in virtio_dma_buf_get_uuid() argument 86 return ops->get_uuid(dma_buf, uuid); in virtio_dma_buf_get_uuid()
|
| /linux/fs/nfs_common/ |
| H A D | nfslocalio.c | 69 uuid_gen(&nfs_uuid->uuid); in nfs_uuid_begin() 91 static nfs_uuid_t * nfs_uuid_lookup_locked(const uuid_t *uuid) in nfs_uuid_lookup_locked() argument 96 if (uuid_equal(&nfs_uuid->uuid, uuid)) in nfs_uuid_lookup_locked() 104 void nfs_uuid_is_local(const uuid_t *uuid, struct list_head *list, in nfs_uuid_is_local() argument 111 nfs_uuid = nfs_uuid_lookup_locked(uuid); in nfs_uuid_is_local() 265 struct nfsd_file *nfs_open_local_fh(nfs_uuid_t *uuid, in nfs_open_local_fh() argument 277 * uuid->net is NOT a counted reference, but rcu_read_lock() ensures that in nfs_open_local_fh() 278 * if uuid->net is not NULL, then calling nfsd_net_try_get() is safe in nfs_open_local_fh() 285 net = rcu_dereference(uuid->net); in nfs_open_local_fh() 292 localio = nfs_to->nfsd_open_local_fh(net, uuid->dom, rpc_clnt, cred, in nfs_open_local_fh() [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-ima.rst | 116 device_uuid := "uuid=" <dm-device-uuid> 123 dm-device-uuid := UUID of the device. If it contains special characters like '\', ',', ';', 162 name=linear1,uuid=,major=253,minor=0,minor_count=1,num_targets=4; 203 name=linear1,uuid=,major=253,minor=0,minor_count=1,num_targets=4; 241 device_active_metadata=name=l1,uuid=,major=253,minor=2,minor_count=1,num_targets=2; 242 device_inactive_metadata=name=l1,uuid=,major=253,minor=2,minor_count=1,num_targets=1; 275 name=l1,uuid=,major=253,minor=2,minor_count=1,num_targets=1; 280 When an device's NAME or UUID is changed, the device information and the new NAME and UUID 295 new_device_uuid := "new_uuid=" <dm-device-uuid> 296 dm-device-uuid := Same as <dm-device-uuid> described in 'Table load' section above [all …]
|
| /linux/drivers/mfd/ |
| H A D | wm831x-otp.c | 59 char uuid[WM831X_UNIQUE_ID_LEN]; in wm831x_otp_init() local 67 ret = wm831x_unique_id_read(wm831x, uuid); in wm831x_otp_init() 69 add_device_randomness(uuid, sizeof(uuid)); in wm831x_otp_init() 71 dev_err(wm831x->dev, "Failed to read UUID: %d\n", ret); in wm831x_otp_init()
|