Searched refs:attr_max_len (Results 1 – 1 of 1) sorted by relevance
55 int attr_max_len = PAGE_SIZE - offset_in_page(msg) - sizeof(*msg); in fbnic_tlv_attr_put_flag() local59 attr_max_len -= le16_to_cpu(msg->hdr.len) * sizeof(u32); in fbnic_tlv_attr_put_flag()60 if (attr_max_len < sizeof(*attr)) in fbnic_tlv_attr_put_flag()97 int attr_max_len = PAGE_SIZE - offset_in_page(msg) - sizeof(*msg); in fbnic_tlv_attr_put_value() local101 attr_max_len -= le16_to_cpu(msg->hdr.len) * sizeof(u32); in fbnic_tlv_attr_put_value()102 if (attr_max_len < sizeof(*attr) + len) in fbnic_tlv_attr_put_value()178 int attr_max_len = PAGE_SIZE - sizeof(*msg); in fbnic_tlv_attr_put_string() local190 attr_max_len -= le16_to_cpu(msg->hdr.len) * sizeof(u32); in fbnic_tlv_attr_put_string()191 str_len += strnlen(string, attr_max_len); in fbnic_tlv_attr_put_string()264 int attr_max_len = PAGE_SIZE - offset_in_page(msg) - sizeof(*msg); in fbnic_tlv_attr_nest_start() local[all …]