Home
last modified time | relevance | path

Searched full:uuid (Results 1 – 25 of 394) sorted by relevance

12345678910>>...16

/linux/fs/btrfs/
H A Duuid-tree.c7 #include <linux/uuid.h>
15 #include "uuid-tree.h"
18 static void btrfs_uuid_to_key(const u8 *uuid, u8 type, struct btrfs_key *key) in btrfs_uuid_to_key() argument
21 key->objectid = get_unaligned_le64(uuid); in btrfs_uuid_to_key()
22 key->offset = get_unaligned_le64(uuid + sizeof(u64)); in btrfs_uuid_to_key()
26 static int btrfs_uuid_tree_lookup(struct btrfs_root *uuid_root, const u8 *uuid, in btrfs_uuid_tree_lookup() argument
44 btrfs_uuid_to_key(uuid, type, &key); in btrfs_uuid_tree_lookup()
59 "uuid item with illegal size %lu!", in btrfs_uuid_tree_lookup()
78 int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, const u8 *uuid, u8 type, in btrfs_uuid_tree_add() argument
91 ret = btrfs_uuid_tree_lookup(uuid_root, uuid, type, subid_cpu); in btrfs_uuid_tree_add()
[all …]
/linux/Documentation/ABI/stable/
H A Dsysfs-bus-vmbus8 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 Deir.c54 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; create_uuid32_list() local
145 struct bt_uuid *uuid; create_uuid128_list() local
368 eir_get_service_data(u8 * eir,size_t eir_len,u16 uuid,size_t * len) eir_get_service_data() argument
[all...]
/linux/drivers/acpi/acpica/
H A Dutuuid.c4 * 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 buffe
[all...]
/linux/Documentation/filesystems/ext4/
H A Dchecksums.rst39 - 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 Dlabel.h10 #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 Dnamespace_devs.c32 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 Dbtt_devs.c23 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 Dnd.h257 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, uui in nsl_set_uuid()
279 nsl_uuid_equal(struct nvdimm_drvdata * ndd,struct nd_namespace_label * nd_label,const uuid_t * uuid) nsl_uuid_equal() argument
454 uuid_t *uuid; global() member
469 uuid_t *uuid; global() member
[all...]
/linux/drivers/firmware/arm_ffa/
H A Dbus.c32 while (!uuid_is_null(&id_table->uuid)) { in ffa_device_match()
38 if (uuid_is_null(&ffa_dev->uuid)) in ffa_device_match()
41 if (uuid_equal(&ffa_dev->uuid, &id_table->uuid)) in ffa_device_match()
54 /* UUID can be still NULL with FF-A v1.0, so just skip probing them */ in ffa_device_probe()
55 if (uuid_is_null(&ffa_dev->uuid)) in ffa_device_probe()
74 ffa_dev->vm_id, &ffa_dev->uuid); in ffa_device_uevent()
83 &ffa_dev->uuid); in modalias_show()
101 return sprintf(buf, "%pUb\n", &ffa_dev->uuid); in uuid_show()
103 static DEVICE_ATTR_RO(uuid);
[all...]
H A Ddriver.c43 #include <linux/uuid.h>
301 uuid_t uuid; in __ffa_partition_info_get()
309 import_uuid(&buf->uuid, (u8 *)&rx_buf->uuid); in __ffa_partition_info_get()
394 uuid_t uuid; in __ffa_partition_info_get_regs()
407 uuid_copy(&buf->uuid, &uuid_regs.uuid);
419 ffa_partition_probe(const uuid_t *uuid, struct ffa_partition_info **buffer) in ffa_partition_probe()
429 export_uuid((u8 *)uuid0_4, uuid); in ffa_partition_probe()
545 uuid_copy(&msg->uuid, in ffa_msg_send2()
296 uuid_t uuid; __ffa_partition_info_get() member
384 uuid_t uuid; __ffa_partition_info_get_regs() member
409 ffa_partition_probe(const uuid_t * uuid,struct ffa_partition_info ** buffer) ffa_partition_probe() argument
550 ffa_msg_send_direct_req2(u16 src_id,u16 dst_id,const uuid_t * uuid,struct ffa_send_direct_data2 * data) ffa_msg_send_direct_req2() argument
555 uuid_t uuid; ffa_msg_send_direct_req2() member
1129 uuid_t uuid; ffa_partition_info_get() local
1290 notifier_hnode_get_by_vmid_uuid(u16 notify_id,int vmid,const uuid_t * uuid) notifier_hnode_get_by_vmid_uuid() argument
1491 uuid_t uuid; handle_fwk_notif_callbacks() local
1629 ffa_device_match_uuid(struct ffa_device * ffa_dev,const uuid_t * uuid) ffa_device_match_uuid() argument
[all...]
/linux/Documentation/ABI/testing/
H A Dsysfs-uevent11 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
/linux/include/uapi/cxl/
H A Dfeatures.h15 #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/md/
H A Ddm-log-userspace-base.c47 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/drivers/thunderbolt/
H A Dproperty.c14 #include <linux/uuid.h>
33 u32 uuid[4]; member
200 dir->uuid = kmemdup(&block[dir_offset], sizeof(*dir->uuid), in __tb_property_parse_dir()
202 if (!dir->uuid) { in __tb_property_parse_dir()
207 content_len = dir_len - 4; /* Length includes UUID */ in __tb_property_parse_dir()
260 * @uuid: UUID used to identify the particular directory in tb_property_create_dir() argument
262 * Creates new, empty property directory. If @uuid is %NULL then the in tb_property_create_dir()
267 struct tb_property_dir *tb_property_create_dir(const uuid_t *uuid) in tb_property_create_dir()
[all...]
H A Dxdomain.c18 #include <linux/uuid.h>
44 [XDOMAIN_STATE_UUID] = "UUID",
80 /* UUID for XDomain discovery protocol: b638d70e-42ff-40bb-97c2-90e2c0b2ff07 */
112 if (!uuid_equal(&res_hdr->uuid, &req_hdr->uuid)) in tb_xdomain_match()
248 memcpy(&hdr->uuid, &tb_xdp_uuid, sizeof(tb_xdp_uuid)); in tb_xdp_handle_error()
272 uuid_t *uuid, u64 *remote_route) in tb_xdp_uuid_request()
294 uuid_copy(uuid, &res.src_uuid); in tb_xdp_uuid_response()
301 const uuid_t *uuid) in tb_xdp_uuid_response()
309 uuid_copy(&res.src_uuid, uuid); in tb_xdp_error_response()
264 tb_xdp_uuid_request(struct tb_ctl * ctl,u64 route,int retry,uuid_t * uuid,u64 * remote_route) tb_xdp_uuid_request() argument
293 tb_xdp_uuid_response(struct tb_ctl * ctl,u64 route,u8 sequence,const uuid_t * uuid) tb_xdp_uuid_response() argument
469 tb_xdp_properties_changed_request(struct tb_ctl * ctl,u64 route,int retry,const uuid_t * uuid) tb_xdp_properties_changed_request() argument
737 const uuid_t *uuid; tb_xdp_handle_request() local
1202 uuid_t uuid; tb_xdomain_get_uuid() local
2300 const uuid_t *uuid; global() member
2355 tb_xdomain_find_by_uuid(struct tb * tb,const uuid_t * uuid) tb_xdomain_find_by_uuid() argument
[all...]
/linux/fs/afs/
H A Dcmservice.c333 _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 Dvlclient.c46 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 Dserver.c34 * 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 Dpfrut.c24 #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 Duuid.h3 * 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 Dcommon_tests57 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 Dvirtio_dma_buf.c18 * 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 Dnfslocalio.c69 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 Ddm-ima.rst116 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 …]

12345678910>>...16