Home
last modified time | relevance | path

Searched refs:var (Results 1 – 9 of 9) sorted by relevance

/fs/efivarfs/
Dinode.c77 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 …]
Dfile.c18 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()
Dsuper.c124 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/
Ddfs_cache.h16 #define DFS_CACHE_TGT_LIST_INIT(var) { .tl_numtgts = 0, .tl_list = LIST_HEAD_INIT((var).tl_list), } argument
Dcifspdu.h389 #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/
Dntfs_fs.h1069 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/
Drecovery.c225 #define wrap(journal, var) \ argument
227 if (var >= (journal)->j_last) \
228 var -= ((journal)->j_last - (journal)->j_first); \
/fs/gfs2/
Drgrp.c1946 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/
Dreiserfs.h2141 #define INITIALIZE_PATH(var) \ argument
2142 struct treepath var = {.path_length = ILLEGAL_PATH_ELEMENT_OFFSET, .reada = 0,}