Searched refs:nd_label (Results 1 – 2 of 2) sorted by relevance
274 struct nd_namespace_label *nd_label) in to_slot() argument278 label = (unsigned long) nd_label; in to_slot()350 struct nd_namespace_label *nd_label, u32 slot) in slot_valid() argument353 if (slot != __le32_to_cpu(nd_label->slot)) in slot_valid()360 sum_save = __le64_to_cpu(nd_label->checksum); in slot_valid()361 nd_label->checksum = __cpu_to_le64(0); in slot_valid()362 sum = nd_fletcher64(nd_label, sizeof_namespace_label(ndd), 1); in slot_valid()363 nd_label->checksum = __cpu_to_le64(sum_save); in slot_valid()385 struct nd_namespace_label *nd_label; in nd_label_reserve_dpa() local392 nd_label = to_label(ndd, slot); in nd_label_reserve_dpa()[all …]
1232 struct nd_namespace_label *nd_label = label_ent->label; in namespace_update_uuid() local1235 if (!nd_label) in namespace_update_uuid()1237 nd_label_gen_id(&label_id, nd_label->uuid, in namespace_update_uuid()1238 __le32_to_cpu(nd_label->flags)); in namespace_update_uuid()1848 struct nd_namespace_label *nd_label = label_ent->label; in has_uuid_at_pos() local1852 if (!nd_label) in has_uuid_at_pos()1854 isetcookie = __le64_to_cpu(nd_label->isetcookie); in has_uuid_at_pos()1855 position = __le16_to_cpu(nd_label->position); in has_uuid_at_pos()1856 nlabel = __le16_to_cpu(nd_label->nlabel); in has_uuid_at_pos()1861 if (memcmp(nd_label->uuid, uuid, NSLABEL_UUID_LEN) != 0) in has_uuid_at_pos()[all …]