internal.h (ca31fef11dc83e672415d5925a134749761329bd) internal.h (a08e67a0280215f74eccf14fda81dd7fed6596ba)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2017-2018 HUAWEI, Inc.
4 * https://www.huawei.com/
5 */
6#ifndef __EROFS_INTERNAL_H
7#define __EROFS_INTERNAL_H
8

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

366 struct erofs_map_blocks *map,
367 int flags)
368{
369 return -EOPNOTSUPP;
370}
371#endif /* !CONFIG_EROFS_FS_ZIP */
372
373/* data.c */
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2017-2018 HUAWEI, Inc.
4 * https://www.huawei.com/
5 */
6#ifndef __EROFS_INTERNAL_H
7#define __EROFS_INTERNAL_H
8

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

366 struct erofs_map_blocks *map,
367 int flags)
368{
369 return -EOPNOTSUPP;
370}
371#endif /* !CONFIG_EROFS_FS_ZIP */
372
373/* data.c */
374extern const struct file_operations erofs_file_fops;
374struct page *erofs_get_meta_page(struct super_block *sb, erofs_blk_t blkaddr);
375
376/* inode.c */
377static inline unsigned long erofs_inode_hash(erofs_nid_t nid)
378{
379#if BITS_PER_LONG == 32
380 return (nid >> 32) ^ (nid & 0xffffffff);
381#else

--- 89 unchanged lines hidden ---
375struct page *erofs_get_meta_page(struct super_block *sb, erofs_blk_t blkaddr);
376
377/* inode.c */
378static inline unsigned long erofs_inode_hash(erofs_nid_t nid)
379{
380#if BITS_PER_LONG == 32
381 return (nid >> 32) ^ (nid & 0xffffffff);
382#else

--- 89 unchanged lines hidden ---