/drivers/staging/lustre/lustre/obdclass/ |
H A D | uuid.c | 34 * lustre/obdclass/uuid.c 73 __u16 uuid[sizeof(class_uuid_t) / sizeof(__u16)]; local 75 CLASSERT(ARRAY_SIZE(uuid) == 8); 77 uuid_unpack(uu, uuid, ARRAY_SIZE(uuid)); 78 sprintf(out->uuid, "%04x%04x-%04x-%04x-%04x-%04x%04x%04x", 79 uuid[0], uuid[1], uuid[2], uuid[ [all...] |
H A D | lustre_peer.c | 72 int lustre_uuid_to_peer(const char *uuid, lnet_nid_t *peer_nid, int index) argument 78 obd_str2uuid(&tmp, uuid); 95 /* Add a nid to a niduuid. Multiple nids can be added to a single uuid; 97 int class_add_uuid(const char *uuid, __u64 nid) argument 104 if (strlen(uuid) > UUID_MAX - 1) 111 obd_str2uuid(&data->un_uuid, uuid); 137 CDEBUG(D_INFO, "found uuid %s %s cnt=%d\n", uuid, 141 CDEBUG(D_INFO, "add uuid %s %s\n", uuid, libcfs_nid2st 148 class_del_uuid(const char *uuid) argument 190 class_check_uuid(struct obd_uuid *uuid, __u64 nid) argument [all...] |
H A D | Makefile | 5 genops.o uuid.o lprocfs_status.o \
|
/drivers/staging/lustre/lustre/include/ |
H A D | lustre_mds.h | 58 struct obd_uuid *uuid; member in struct:mds_group_info 63 struct obd_uuid *uuid; member in struct:mds_capa_info
|
/drivers/md/ |
H A D | dm-log-userspace-transfer.h | 14 int dm_consult_userspace(const char *uuid, uint64_t luid, int request_type,
|
H A D | dm-log-userspace-base.c | 39 char uuid[DM_UUID_LEN]; member in struct:log_c 88 static int userspace_do_request(struct log_c *lc, const char *uuid, argument 100 r = dm_consult_userspace(uuid, lc->luid, request_type, data, 111 r = dm_consult_userspace(uuid, lc->luid, DM_ULOG_CTR, 119 r = dm_consult_userspace(uuid, lc->luid, DM_ULOG_RESUME, NULL, 167 r = userspace_do_request(lc, lc->uuid, DM_ULOG_FLUSH, NULL, 0, NULL, NULL); 230 strncpy(lc->uuid, argv[0], DM_UUID_LEN); 259 r = dm_consult_userspace(lc->uuid, lc->luid, DM_ULOG_CTR, 273 r = dm_consult_userspace(lc->uuid, lc->luid, DM_ULOG_GET_REGION_SIZE, 334 (void) dm_consult_userspace(lc->uuid, l [all...] |
H A D | dm-log-userspace-transfer.c | 153 * @uuid: log's universal unique identifier (must be DM_UUID_LEN in size) 170 int dm_consult_userspace(const char *uuid, uint64_t luid, int request_type, argument 200 memcpy(tfr->uuid, uuid, DM_UUID_LEN); 245 (strlen(uuid) > 8) ? 246 (uuid + (strlen(uuid) - 8)) : (uuid),
|
H A D | dm-uevent.c | 49 char uuid[DM_UUID_LEN]; member in struct:dm_uevent 147 event->uuid)) { 159 if (add_uevent_var(&event->ku_env, "DM_UUID=%s", event->uuid)) {
|
H A D | dm-ioctl.c | 27 * name or uuid. 34 char *uuid; member in struct:hash_cell 68 * Protects use of mdptr to obtain hash cell name and uuid from mapped device. 131 if (!strcmp(hc->uuid, str)) { 160 static struct hash_cell *alloc_cell(const char *name, const char *uuid, argument 175 if (!uuid) 176 hc->uuid = NULL; 179 hc->uuid = kstrdup(uuid, GFP_KERNEL); 180 if (!hc->uuid) { 207 dm_hash_insert(const char *name, const char *uuid, struct mapped_device *md) argument 1930 dm_copy_name_and_uuid(struct mapped_device *md, char *name, char *uuid) argument [all...] |
/drivers/staging/lustre/lustre/obdecho/ |
H A D | lproc_echo.c | 40 LPROC_SEQ_FOPS_RO_TYPE(echo, uuid); 42 { "uuid", &echo_uuid_fops, NULL, 0 },
|
/drivers/staging/unisys/visorchannel/ |
H A D | visorchannel_main.c | 25 #include <linux/uuid.h>
|
/drivers/mfd/ |
H A D | wm831x-otp.c | 70 char uuid[WM831X_UNIQUE_ID_LEN]; local 78 ret = wm831x_unique_id_read(wm831x, uuid); 80 add_device_randomness(uuid, sizeof(uuid));
|
/drivers/staging/lustre/lustre/include/lustre/ |
H A D | lustre_user.h | 426 char uuid[UUID_MAX]; member in struct:obd_uuid 432 return strcmp((char *)u1->uuid, (char *)u2->uuid) == 0; 435 static inline int obd_uuid_empty(struct obd_uuid *uuid) argument 437 return uuid->uuid[0] == '\0'; 440 static inline void obd_str2uuid(struct obd_uuid *uuid, const char *tmp) argument 442 strncpy((char *)uuid->uuid, tmp, sizeof(*uuid)); 447 obd_uuid2str(const struct obd_uuid *uuid) argument 463 obd_uuid2fsname(char *buf, char *uuid, int buflen) argument [all...] |
/drivers/staging/lustre/lustre/ldlm/ |
H A D | ldlm_lib.c | 57 static int import_set_conn(struct obd_import *imp, struct obd_uuid *uuid, argument 69 ptlrpc_conn = ptlrpc_uuid_to_connection(uuid); 71 CDEBUG(D_HA, "can't find connection %s\n", uuid->uuid); 85 if (obd_uuid_equals(uuid, &item->oic_uuid)) { 93 imp, imp->imp_obd->obd_name, uuid->uuid, 100 /* No existing import connection found for \a uuid. */ 103 imp_conn->oic_uuid = *uuid; 111 imp, imp->imp_obd->obd_name, uuid 129 import_set_conn_priority(struct obd_import *imp, struct obd_uuid *uuid) argument 134 client_import_add_conn(struct obd_import *imp, struct obd_uuid *uuid, int priority) argument 141 client_import_del_conn(struct obd_import *imp, struct obd_uuid *uuid) argument 200 client_import_find_conn(struct obd_import *imp, lnet_nid_t peer, struct obd_uuid *uuid) argument [all...] |
/drivers/staging/lustre/lustre/mgc/ |
H A D | lproc_mgc.c | 43 LPROC_SEQ_FOPS_RO_TYPE(mgc, uuid); 59 { "uuid", &mgc_uuid_fops, NULL, 0 },
|
/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | connection.c | 49 struct obd_uuid *uuid) 65 if (uuid) 66 obd_str2uuid(&conn->c_remote_uuid, uuid->uuid); 48 ptlrpc_connection_get(lnet_process_id_t peer, lnet_nid_t self, struct obd_uuid *uuid) argument
|
H A D | recover.c | 235 imp->imp_connection->c_remote_uuid.uuid); 243 imp->imp_connection->c_remote_uuid.uuid, 325 struct obd_uuid uuid; local 327 /* intruct import to use new uuid */ 328 obd_str2uuid(&uuid, new_uuid); 329 rc = import_set_conn_priority(imp, &uuid);
|
/drivers/staging/unisys/visorchipset/ |
H A D | parser.h | 21 #include <linux/uuid.h>
|
H A D | testing.h | 22 #include <linux/uuid.h>
|
/drivers/xen/ |
H A D | tmem.c | 111 static int xen_tmem_new_pool(struct tmem_pool_uuid uuid, argument 122 op.u.new.uuid[0] = uuid.uuid_lo; 123 op.u.new.uuid[1] = uuid.uuid_hi; 242 static int tmem_cleancache_init_shared_fs(char *uuid, size_t pagesize) argument 246 shared_uuid.uuid_lo = *(u64 *)uuid; 247 shared_uuid.uuid_hi = *(u64 *)(&uuid[8]);
|
/drivers/acpi/acpica/ |
H A D | rsxface.c | 422 * uuid - Pointer to the UUID to be matched. 436 struct acpi_vendor_uuid * uuid, 444 if (!uuid || !ret_buffer) { 448 info.uuid = uuid; 501 (vendor->uuid_subtype != info->uuid->subtype) || 502 (ACPI_MEMCMP(vendor->uuid, info->uuid->data, ACPI_UUID_LENGTH))) {
|
/drivers/thermal/int340x_thermal/ |
H A D | int3400_thermal.c | 80 u8 uuid[16]; local 82 acpi_str_to_uuid(int3400_thermal_uuids[j], uuid); 83 if (!strncmp(uuid, objb->buffer.pointer, 16)) { 96 enum int3400_thermal_uuid uuid, bool enable) 102 .uuid_str = int3400_thermal_uuids[uuid], 95 int3400_thermal_run_osc(acpi_handle handle, enum int3400_thermal_uuid uuid, bool enable) argument
|
/drivers/misc/mei/ |
H A D | client.h | 32 const uuid_le *uuid, u8 client_id); 35 const uuid_le *uuid, u8 client_id);
|
/drivers/acpi/ |
H A D | acpi_extlog.c | 185 u8 uuid[16]; local 189 acpi_str_to_uuid(extlog_dsm_uuid, uuid); 193 if (!acpi_check_dsm(handle, uuid, EXTLOG_DSM_REV, 1 << EXTLOG_FN_ADDR)) 195 obj = acpi_evaluate_dsm_typed(handle, uuid, EXTLOG_DSM_REV,
|
/drivers/staging/unisys/common-spar/include/channels/ |
H A D | vbuschannel.h | 26 #include <linux/uuid.h>
|