f2fs.h (740432f835608d11b5386321ab5aa8f61e07fb27) f2fs.h (e2b4e2bc8865e03eecd49caa9713a2402a96bba9)
1/*
2 * fs/f2fs/f2fs.h
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com/
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 361 unchanged lines hidden (view full) ---

370
371struct f2fs_map_blocks {
372 block_t m_pblk;
373 block_t m_lblk;
374 unsigned int m_len;
375 unsigned int m_flags;
376};
377
1/*
2 * fs/f2fs/f2fs.h
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com/
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 361 unchanged lines hidden (view full) ---

370
371struct f2fs_map_blocks {
372 block_t m_pblk;
373 block_t m_lblk;
374 unsigned int m_len;
375 unsigned int m_flags;
376};
377
378/* for flag in get_data_block */
379#define F2FS_GET_BLOCK_READ 0
380#define F2FS_GET_BLOCK_DIO 1
381#define F2FS_GET_BLOCK_FIEMAP 2
382#define F2FS_GET_BLOCK_BMAP 3
383
378/*
379 * i_advise uses FADVISE_XXX_BIT. We can add additional hints later.
380 */
381#define FADVISE_COLD_BIT 0x01
382#define FADVISE_LOST_PINO_BIT 0x02
383#define FADVISE_ENCRYPT_BIT 0x04
384#define FADVISE_ENC_NAME_BIT 0x08
385

--- 1762 unchanged lines hidden ---
384/*
385 * i_advise uses FADVISE_XXX_BIT. We can add additional hints later.
386 */
387#define FADVISE_COLD_BIT 0x01
388#define FADVISE_LOST_PINO_BIT 0x02
389#define FADVISE_ENCRYPT_BIT 0x04
390#define FADVISE_ENC_NAME_BIT 0x08
391

--- 1762 unchanged lines hidden ---