Lines Matching refs:p
58 u8 *p; in efi_serialize_load_option() local
69 p = malloc(size); in efi_serialize_load_option()
70 if (!p) in efi_serialize_load_option()
74 *data = p; in efi_serialize_load_option()
75 memcpy(p, &lo->attributes, sizeof(lo->attributes)); in efi_serialize_load_option()
76 p += sizeof(lo->attributes); in efi_serialize_load_option()
78 memcpy(p, &lo->file_path_length, sizeof(lo->file_path_length)); in efi_serialize_load_option()
79 p += sizeof(lo->file_path_length); in efi_serialize_load_option()
81 memcpy(p, lo->label, label_len); in efi_serialize_load_option()
82 p += label_len; in efi_serialize_load_option()
84 memcpy(p, lo->file_path, lo->file_path_length); in efi_serialize_load_option()
85 p += lo->file_path_length; in efi_serialize_load_option()
87 memcpy(p, lo->optional_data, option_len); in efi_serialize_load_option()
88 p += option_len; in efi_serialize_load_option()
89 *(char *)p = '\0'; in efi_serialize_load_option()