jfs_extent.h (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) jfs_extent.h (4d81715fc5dfa1680ad47d7edf3ac4a74c5bf104)
1/*
2 * Copyright (c) International Business Machines Corp., 2000-2001
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

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

17 */
18#ifndef _H_JFS_EXTENT
19#define _H_JFS_EXTENT
20
21/* get block allocation allocation hint as location of disk inode */
22#define INOHINT(ip) \
23 (addressPXD(&(JFS_IP(ip)->ixpxd)) + lengthPXD(&(JFS_IP(ip)->ixpxd)) - 1)
24
1/*
2 * Copyright (c) International Business Machines Corp., 2000-2001
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

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

17 */
18#ifndef _H_JFS_EXTENT
19#define _H_JFS_EXTENT
20
21/* get block allocation allocation hint as location of disk inode */
22#define INOHINT(ip) \
23 (addressPXD(&(JFS_IP(ip)->ixpxd)) + lengthPXD(&(JFS_IP(ip)->ixpxd)) - 1)
24
25extern int extAlloc(struct inode *, s64, s64, xad_t *, boolean_t);
25extern int extAlloc(struct inode *, s64, s64, xad_t *, bool);
26extern int extFill(struct inode *, xad_t *);
27extern int extHint(struct inode *, s64, xad_t *);
26extern int extFill(struct inode *, xad_t *);
27extern int extHint(struct inode *, s64, xad_t *);
28extern int extRealloc(struct inode *, s64, xad_t *, boolean_t);
28extern int extRealloc(struct inode *, s64, xad_t *, bool);
29extern int extRecord(struct inode *, xad_t *);
30
31#endif /* _H_JFS_EXTENT */
29extern int extRecord(struct inode *, xad_t *);
30
31#endif /* _H_JFS_EXTENT */