Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /* -*- mode: c; c-basic-offset: 8; -*-
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * vim: noexpandtab sw=8 ts=8 sts=0:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * namei.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  * Function prototypes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)  * Copyright (C) 2002, 2004 Oracle.  All rights reserved.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #ifndef OCFS2_NAMEI_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define OCFS2_NAMEI_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define OCFS2_DIO_ORPHAN_PREFIX "dio-"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define OCFS2_DIO_ORPHAN_PREFIX_LEN 4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) extern const struct inode_operations ocfs2_dir_iops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) struct dentry *ocfs2_get_parent(struct dentry *child);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) int ocfs2_orphan_del(struct ocfs2_super *osb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 		     handle_t *handle,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 		     struct inode *orphan_dir_inode,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 		     struct inode *inode,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 		     struct buffer_head *orphan_dir_bh,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 		     bool dio);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) int ocfs2_create_inode_in_orphan(struct inode *dir,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 				 int mode,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 				 struct inode **new_inode);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) int ocfs2_add_inode_to_orphan(struct ocfs2_super *osb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 		struct inode *inode);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) int ocfs2_del_inode_from_orphan(struct ocfs2_super *osb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 		struct inode *inode, struct buffer_head *di_bh,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 		int update_isize, loff_t end);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) int ocfs2_mv_orphaned_inode_to_new(struct inode *dir,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 				   struct inode *new_inode,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 				   struct dentry *new_dentry);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) #endif /* OCFS2_NAMEI_H */