Home
last modified time | relevance | path

Searched refs:varsize (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_mfa2_tlv.h29 size_t payload_size, bool varsize) in mlxfw_mfa2_tlv_payload_get() argument
39 if (varsize && (be16_to_cpu(tlv->len) < payload_size)) in mlxfw_mfa2_tlv_payload_get()
41 if (!varsize && (be16_to_cpu(tlv->len) != payload_size)) in mlxfw_mfa2_tlv_payload_get()
/drivers/firmware/efi/
Dvars.c745 unsigned long varsize; in efivar_entry_set_safe() local
768 varsize = size + ucs2_strsize(name, 1024); in efivar_entry_set_safe()
772 status = check_var_size_nonblocking(attributes, varsize); in efivar_entry_set_safe()
776 status = check_var_size(attributes, varsize); in efivar_entry_set_safe()