Lines Matching refs:open_mode
36 u64 open_mode; member
176 struct file_handle *parent, u16 *file_name, u64 open_mode, in file_open() argument
199 fh->open_mode = open_mode; in file_open()
228 if (!(open_mode & EFI_FILE_MODE_CREATE) || in file_open()
251 u16 *file_name, u64 open_mode, in efi_file_open_int() argument
262 if (open_mode != EFI_FILE_MODE_READ && in efi_file_open_int()
263 open_mode != (EFI_FILE_MODE_READ | EFI_FILE_MODE_WRITE) && in efi_file_open_int()
264 open_mode != (EFI_FILE_MODE_READ | EFI_FILE_MODE_WRITE | in efi_file_open_int()
278 if ((open_mode & EFI_FILE_MODE_CREATE) && in efi_file_open_int()
285 *new_handle = file_open(fh->fs, fh, file_name, open_mode, attributes); in efi_file_open_int()
310 u16 *file_name, u64 open_mode, in efi_file_open() argument
316 file_name, open_mode, attributes); in efi_file_open()
318 ret = efi_file_open_int(this, new_handle, file_name, open_mode, in efi_file_open()
339 u16 *file_name, u64 open_mode, in efi_file_open_ex() argument
346 file_name, open_mode, attributes, token); in efi_file_open_ex()
353 ret = efi_file_open_int(this, new_handle, file_name, open_mode, in efi_file_open_ex()
609 if (!(fh->open_mode & EFI_FILE_MODE_WRITE)) { in efi_file_write_int()
947 if (!(fh->open_mode & EFI_FILE_MODE_WRITE)) in efi_file_flush_int()