Searched refs:nd_label (Results 1 – 2 of 2) sorted by relevance
272 struct nd_namespace_label *nd_label) in to_slot() argument276 label = (unsigned long) nd_label; in to_slot()348 struct nd_namespace_label *nd_label, u32 slot) in slot_valid() argument351 if (slot != __le32_to_cpu(nd_label->slot)) in slot_valid()355 if ((__le64_to_cpu(nd_label->dpa) in slot_valid()356 | __le64_to_cpu(nd_label->rawsize)) % SZ_4K) in slot_valid()363 sum_save = __le64_to_cpu(nd_label->checksum); in slot_valid()364 nd_label->checksum = __cpu_to_le64(0); in slot_valid()365 sum = nd_fletcher64(nd_label, sizeof_namespace_label(ndd), 1); in slot_valid()366 nd_label->checksum = __cpu_to_le64(sum_save); in slot_valid()[all …]
1795 struct nd_namespace_label *nd_label = label_ent->label; in has_uuid_at_pos() local1799 if (!nd_label) in has_uuid_at_pos()1801 isetcookie = __le64_to_cpu(nd_label->isetcookie); in has_uuid_at_pos()1802 position = __le16_to_cpu(nd_label->position); in has_uuid_at_pos()1803 nlabel = __le16_to_cpu(nd_label->nlabel); in has_uuid_at_pos()1808 if (memcmp(nd_label->uuid, uuid, NSLABEL_UUID_LEN) != 0) in has_uuid_at_pos()1813 &nd_label->type_guid)) { in has_uuid_at_pos()1816 nd_label->type_guid.b); in has_uuid_at_pos()1829 found = nd_label; in has_uuid_at_pos()1848 struct nd_namespace_label *nd_label = NULL; in select_pmem_id() local[all …]