Searched refs:var (Results 1 – 9 of 9) sorted by relevance
/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() 95 if (efivar_variable_is_removable(var->var.VendorGuid, in efivarfs_create() 106 var->var.VariableName[i] = dentry->d_name.name[i]; in efivarfs_create() 108 var->var.VariableName[i] = '\0'; in efivarfs_create() 110 inode->i_private = var; in efivarfs_create() 111 kmemleak_ignore(var); in efivarfs_create() 113 err = efivar_entry_add(var, &efivarfs_list); in efivarfs_create() [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 | 124 memcpy(entry->var.VariableName, name16, name_size); in efivarfs_callback() 125 memcpy(&(entry->var.VendorGuid), &vendor, sizeof(efi_guid_t)); in efivarfs_callback() 127 len = ucs2_utf8size(entry->var.VariableName); in efivarfs_callback() 134 ucs2_as_utf8(name, entry->var.VariableName, len); in efivarfs_callback() 136 if (efivar_variable_is_removable(entry->var.VendorGuid, name, len)) in efivarfs_callback() 141 efi_guid_to_str(&entry->var.VendorGuid, name + len + 1); in efivarfs_callback() 169 i_size_write(inode, size + sizeof(entry->var.Attributes)); in efivarfs_callback()
|
/fs/cifs/ |
D | dfs_cache.h | 16 #define DFS_CACHE_TGT_LIST_INIT(var) { .tl_numtgts = 0, .tl_list = LIST_HEAD_INIT((var).tl_list), } argument
|
D | cifspdu.h | 389 #define GETU16(var) (*((__u16 *)var)) /* BB check for endian issues */ argument 390 #define GETU32(var) (*((__u32 *)var)) /* BB check for endian issues */ argument
|
/fs/ntfs3/ |
D | ntfs_fs.h | 1069 static inline void le16_sub_cpu(__le16 *var, u16 val) in le16_sub_cpu() argument 1071 *var = cpu_to_le16(le16_to_cpu(*var) - val); in le16_sub_cpu() 1074 static inline void le32_sub_cpu(__le32 *var, u32 val) in le32_sub_cpu() argument 1076 *var = cpu_to_le32(le32_to_cpu(*var) - val); in le32_sub_cpu() 1136 static inline void le64_sub_cpu(__le64 *var, u64 val) in le64_sub_cpu() argument 1138 *var = cpu_to_le64(le64_to_cpu(*var) - val); in le64_sub_cpu()
|
/fs/jbd2/ |
D | recovery.c | 225 #define wrap(journal, var) \ argument 227 if (var >= (journal)->j_last) \ 228 var -= ((journal)->j_last - (journal)->j_first); \
|
/fs/gfs2/ |
D | rgrp.c | 1946 u64 var; in gfs2_rgrp_congested() local 1961 var = st->stats[GFS2_LKS_SRTTVARB] + in gfs2_rgrp_congested() 1974 var *= 2; in gfs2_rgrp_congested() 1976 var *= 2; in gfs2_rgrp_congested() 1978 var *= 2; in gfs2_rgrp_congested() 1980 return ((srttb_diff < 0) && (sqr_diff > var)); in gfs2_rgrp_congested()
|
/fs/reiserfs/ |
D | reiserfs.h | 2141 #define INITIALIZE_PATH(var) \ argument 2142 struct treepath var = {.path_length = ILLEGAL_PATH_ELEMENT_OFFSET, .reada = 0,}
|