Lines Matching defs:size

302 check_var_size(u32 attributes, unsigned long size)
314 return fops->query_variable_store(attributes, size, false);
318 check_var_size_nonblocking(u32 attributes, unsigned long size)
330 return fops->query_variable_store(attributes, size, true);
356 * Returns the size of variable_name, in bytes, including the
369 * the value we expect it to be. If not, return the real size.
634 * @size: size of @data buffer
652 unsigned long size, void *data, struct list_head *head)
672 status = check_var_size(attributes, size + ucs2_strsize(name, 1024));
675 attributes, size, data);
695 u32 attributes, unsigned long size, void *data)
709 size + ucs2_strsize(name, 1024));
717 size, data);
729 * @size: size of @data buffer
741 bool block, unsigned long size, void *data)
766 size, data);
768 varsize = size + ucs2_strsize(name, 1024);
784 status = ops->set_variable(name, &vendor, attributes, size, data);
846 * efivar_entry_size - obtain the size of a variable
848 * @size: location to store the variable's size
850 int efivar_entry_size(struct efivar_entry *entry, unsigned long *size)
855 *size = 0;
865 &entry->var.VendorGuid, NULL, size, NULL);
879 * @size: size of @data buffer
887 unsigned long *size, void *data)
896 attributes, size, data);
906 * @size: size of @data buffer
910 unsigned long *size, void *data)
924 attributes, size, data);
932 * efivar_entry_set_get_size - call set_variable() and get new size (atomic)
935 * @size: size of data buffer
942 * successful, return the new size of the variable from get_variable()
943 * in @size. The success of set_variable() is indicated by @set.
954 unsigned long *size, void *data, bool *set)
964 if (efivar_validate(*vendor, name, data, *size) == false)
983 status = check_var_size(attributes, *size + ucs2_strsize(name, 1024));
990 if (*size > 65536) {
998 status = ops->set_variable(name, vendor, attributes, *size, data);
1007 * Writing to the variable may have caused a change in size (which
1012 *size = 0;
1015 NULL, size, NULL);