xfs_inode.h (6a2cf60b3e6341a3163d3cac3f4bede126c2e894) | xfs_inode.h (0d5a75e9e23ee39cd0d8a167393dcedb4f0f47b2) |
---|---|
1/* 2 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. 3 * All Rights Reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * --- 381 unchanged lines hidden (view full) --- 390 391void xfs_ilock(xfs_inode_t *, uint); 392int xfs_ilock_nowait(xfs_inode_t *, uint); 393void xfs_iunlock(xfs_inode_t *, uint); 394void xfs_ilock_demote(xfs_inode_t *, uint); 395int xfs_isilocked(xfs_inode_t *, uint); 396uint xfs_ilock_data_map_shared(struct xfs_inode *); 397uint xfs_ilock_attr_map_shared(struct xfs_inode *); | 1/* 2 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. 3 * All Rights Reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * --- 381 unchanged lines hidden (view full) --- 390 391void xfs_ilock(xfs_inode_t *, uint); 392int xfs_ilock_nowait(xfs_inode_t *, uint); 393void xfs_iunlock(xfs_inode_t *, uint); 394void xfs_ilock_demote(xfs_inode_t *, uint); 395int xfs_isilocked(xfs_inode_t *, uint); 396uint xfs_ilock_data_map_shared(struct xfs_inode *); 397uint xfs_ilock_attr_map_shared(struct xfs_inode *); |
398int xfs_ialloc(struct xfs_trans *, xfs_inode_t *, umode_t, 399 xfs_nlink_t, xfs_dev_t, prid_t, int, 400 struct xfs_buf **, xfs_inode_t **); | |
401 402uint xfs_ip2xflags(struct xfs_inode *); | 398 399uint xfs_ip2xflags(struct xfs_inode *); |
403uint xfs_dic2xflags(struct xfs_dinode *); | |
404int xfs_ifree(struct xfs_trans *, xfs_inode_t *, 405 struct xfs_bmap_free *); 406int xfs_itruncate_extents(struct xfs_trans **, struct xfs_inode *, 407 int, xfs_fsize_t); 408void xfs_iext_realloc(xfs_inode_t *, int, int); 409 410void xfs_iunpin_wait(xfs_inode_t *); 411#define xfs_ipincount(ip) ((unsigned int) atomic_read(&ip->i_pincount)) 412 413int xfs_iflush(struct xfs_inode *, struct xfs_buf **); | 400int xfs_ifree(struct xfs_trans *, xfs_inode_t *, 401 struct xfs_bmap_free *); 402int xfs_itruncate_extents(struct xfs_trans **, struct xfs_inode *, 403 int, xfs_fsize_t); 404void xfs_iext_realloc(xfs_inode_t *, int, int); 405 406void xfs_iunpin_wait(xfs_inode_t *); 407#define xfs_ipincount(ip) ((unsigned int) atomic_read(&ip->i_pincount)) 408 409int xfs_iflush(struct xfs_inode *, struct xfs_buf **); |
414void xfs_lock_inodes(xfs_inode_t **, int, uint); | |
415void xfs_lock_two_inodes(xfs_inode_t *, xfs_inode_t *, uint); 416 417xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip); 418 419int xfs_dir_ialloc(struct xfs_trans **, struct xfs_inode *, umode_t, 420 xfs_nlink_t, xfs_dev_t, prid_t, int, 421 struct xfs_inode **, int *); | 410void xfs_lock_two_inodes(xfs_inode_t *, xfs_inode_t *, uint); 411 412xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip); 413 414int xfs_dir_ialloc(struct xfs_trans **, struct xfs_inode *, umode_t, 415 xfs_nlink_t, xfs_dev_t, prid_t, int, 416 struct xfs_inode **, int *); |
422int xfs_droplink(struct xfs_trans *, struct xfs_inode *); 423int xfs_bumplink(struct xfs_trans *, struct xfs_inode *); | |
424 425/* from xfs_file.c */ 426enum xfs_prealloc_flags { 427 XFS_PREALLOC_SET = (1 << 1), 428 XFS_PREALLOC_CLEAR = (1 << 2), 429 XFS_PREALLOC_SYNC = (1 << 3), 430 XFS_PREALLOC_INVISIBLE = (1 << 4), 431}; --- 61 unchanged lines hidden --- | 417 418/* from xfs_file.c */ 419enum xfs_prealloc_flags { 420 XFS_PREALLOC_SET = (1 << 1), 421 XFS_PREALLOC_CLEAR = (1 << 2), 422 XFS_PREALLOC_SYNC = (1 << 3), 423 XFS_PREALLOC_INVISIBLE = (1 << 4), 424}; --- 61 unchanged lines hidden --- |