f2fs.h (235831d7dd783ebd20e08ef4310dbdeeea46d87a) f2fs.h (c79d152094d228080e9895a92feb44ba9d60c798)
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

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

467};
468
469static inline void make_dentry_ptr_block(struct inode *inode,
470 struct f2fs_dentry_ptr *d, struct f2fs_dentry_block *t)
471{
472 d->inode = inode;
473 d->max = NR_DENTRY_IN_BLOCK;
474 d->nr_bitmap = SIZE_OF_DENTRY_BITMAP;
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

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

467};
468
469static inline void make_dentry_ptr_block(struct inode *inode,
470 struct f2fs_dentry_ptr *d, struct f2fs_dentry_block *t)
471{
472 d->inode = inode;
473 d->max = NR_DENTRY_IN_BLOCK;
474 d->nr_bitmap = SIZE_OF_DENTRY_BITMAP;
475 d->bitmap = &t->dentry_bitmap;
475 d->bitmap = t->dentry_bitmap;
476 d->dentry = t->dentry;
477 d->filename = t->filename;
478}
479
480static inline void make_dentry_ptr_inline(struct inode *inode,
481 struct f2fs_dentry_ptr *d, void *t)
482{
483 int entry_cnt = NR_INLINE_DENTRY(inode);

--- 2802 unchanged lines hidden ---
476 d->dentry = t->dentry;
477 d->filename = t->filename;
478}
479
480static inline void make_dentry_ptr_inline(struct inode *inode,
481 struct f2fs_dentry_ptr *d, void *t)
482{
483 int entry_cnt = NR_INLINE_DENTRY(inode);

--- 2802 unchanged lines hidden ---