/fs/efivarfs/ |
D | inode.c | 77 struct efivar_entry *var; in efivarfs_create() local 84 var = kzalloc(sizeof(struct efivar_entry), GFP_KERNEL); in efivarfs_create() 85 if (!var) in efivarfs_create() 91 err = guid_parse(dentry->d_name.name + namelen + 1, &var->var.VendorGuid); in efivarfs_create() 94 if (guid_equal(&var->var.VendorGuid, &LINUX_EFI_RANDOM_SEED_TABLE_GUID)) { in efivarfs_create() 99 if (efivar_variable_is_removable(var->var.VendorGuid, in efivarfs_create() 110 var->var.VariableName[i] = dentry->d_name.name[i]; in efivarfs_create() 112 var->var.VariableName[i] = '\0'; in efivarfs_create() 114 inode->i_private = var; in efivarfs_create() 115 kmemleak_ignore(var); in efivarfs_create() [all …]
|
D | vars.c | 300 strsize2 = ucs2_strsize(entry->var.VariableName, 1024); in variable_is_present() 302 !memcmp(variable_name, &(entry->var.VariableName), in variable_is_present() 304 !efi_guidcmp(entry->var.VendorGuid, in variable_is_present() 533 status = efivar_set_variable_locked(entry->var.VariableName, in efivar_entry_delete() 534 &entry->var.VendorGuid, in efivar_entry_delete() 561 status = efivar_get_variable(entry->var.VariableName, in efivar_entry_size() 562 &entry->var.VendorGuid, NULL, size, NULL); in efivar_entry_size() 587 status = efivar_get_variable(entry->var.VariableName, in __efivar_entry_get() 588 &entry->var.VendorGuid, in __efivar_entry_get() 640 efi_char16_t *name = entry->var.VariableName; in efivar_entry_set_get_size() [all …]
|
D | file.c | 18 struct efivar_entry *var = file->private_data; in efivarfs_file_write() local 39 bytes = efivar_entry_set_get_size(var, attributes, &datasize, in efivarfs_file_write() 69 struct efivar_entry *var = file->private_data; in efivarfs_file_read() local 79 err = efivar_entry_size(var, &datasize); in efivarfs_file_read() 95 size = efivar_entry_get(var, &attributes, &datasize, in efivarfs_file_read()
|
D | super.c | 170 memcpy(entry->var.VariableName, name16, name_size); in efivarfs_callback() 171 memcpy(&(entry->var.VendorGuid), &vendor, sizeof(efi_guid_t)); in efivarfs_callback() 173 len = ucs2_utf8size(entry->var.VariableName); in efivarfs_callback() 180 ucs2_as_utf8(name, entry->var.VariableName, len); in efivarfs_callback() 182 if (efivar_variable_is_removable(entry->var.VendorGuid, name, len)) in efivarfs_callback() 187 efi_guid_to_str(&entry->var.VendorGuid, name + len + 1); in efivarfs_callback() 213 i_size_write(inode, size + sizeof(entry->var.Attributes)); in efivarfs_callback()
|
D | internal.h | 22 struct efi_variable var; member
|
/fs/smb/client/ |
D | dfs_cache.h | 19 #define DFS_CACHE_TGT_LIST_INIT(var) \ argument 20 { .tl_numtgts = 0, .tl_list = LIST_HEAD_INIT((var).tl_list), } 22 #define DFS_CACHE_TGT_LIST(var) \ argument 23 struct dfs_cache_tgt_list var = DFS_CACHE_TGT_LIST_INIT(var)
|
D | cifspdu.h | 377 #define GETU16(var) (*((__u16 *)var)) /* BB check for endian issues */ argument 378 #define GETU32(var) (*((__u32 *)var)) /* BB check for endian issues */ argument
|
/fs/ntfs3/ |
D | ntfs_fs.h | 1079 static inline void le16_sub_cpu(__le16 *var, u16 val) in le16_sub_cpu() argument 1081 *var = cpu_to_le16(le16_to_cpu(*var) - val); in le16_sub_cpu() 1084 static inline void le32_sub_cpu(__le32 *var, u32 val) in le32_sub_cpu() argument 1086 *var = cpu_to_le32(le32_to_cpu(*var) - val); in le32_sub_cpu() 1151 static inline void le64_sub_cpu(__le64 *var, u64 val) in le64_sub_cpu() argument 1153 *var = cpu_to_le64(le64_to_cpu(*var) - val); in le64_sub_cpu()
|
/fs/jbd2/ |
D | recovery.c | 231 #define wrap(journal, var) \ argument 233 if (var >= (journal)->j_last) \ 234 var -= ((journal)->j_last - (journal)->j_first); \
|
/fs/gfs2/ |
D | rgrp.c | 1932 u64 var; in gfs2_rgrp_congested() local 1947 var = st->stats[GFS2_LKS_SRTTVARB] + in gfs2_rgrp_congested() 1960 var *= 2; in gfs2_rgrp_congested() 1962 var *= 2; in gfs2_rgrp_congested() 1964 var *= 2; in gfs2_rgrp_congested() 1966 return ((srttb_diff < 0) && (sqr_diff > var)); in gfs2_rgrp_congested()
|
/fs/reiserfs/ |
D | reiserfs.h | 2140 #define INITIALIZE_PATH(var) \ argument 2141 struct treepath var = {.path_length = ILLEGAL_PATH_ELEMENT_OFFSET, .reada = 0,}
|