/fs/xfs/ |
D | xfs_mount.h | 22 uint tr_write; /* extent alloc trans */ 23 uint tr_itruncate; /* truncate trans */ 24 uint tr_rename; /* rename trans */ 25 uint tr_link; /* link trans */ 26 uint tr_remove; /* unlink trans */ 27 uint tr_symlink; /* symlink trans */ 28 uint tr_create; /* create trans */ 29 uint tr_mkdir; /* mkdir trans */ 30 uint tr_ifree; /* inode free trans */ 31 uint tr_ichange; /* inode update trans */ [all …]
|
D | xfs_bit.c | 34 xfs_bitmap_empty(uint *map, uint size) in xfs_bitmap_empty() 36 uint i; in xfs_bitmap_empty() 37 uint ret = 0; in xfs_bitmap_empty() 51 xfs_contig_bits(uint *map, uint size, uint start_bit) in xfs_contig_bits() 53 uint * p = ((unsigned int *) map) + (start_bit >> BIT_TO_WORD_SHIFT); in xfs_contig_bits() 54 uint result = 0; in xfs_contig_bits() 55 uint tmp; in xfs_contig_bits() 90 int xfs_next_bit(uint *map, uint size, uint start_bit) in xfs_next_bit() 92 uint * p = ((unsigned int *) map) + (start_bit >> BIT_TO_WORD_SHIFT); in xfs_next_bit() 93 uint result = start_bit & ~(NBWORD - 1); in xfs_next_bit() [all …]
|
D | xfs_buf_item.c | 49 uint first, in xfs_buf_item_log_debug() 50 uint last) in xfs_buf_item_log_debug() 52 uint x; in xfs_buf_item_log_debug() 53 uint byte; in xfs_buf_item_log_debug() 54 uint nbytes; in xfs_buf_item_log_debug() 55 uint chunk_num; in xfs_buf_item_log_debug() 56 uint word_num; in xfs_buf_item_log_debug() 57 uint bit_num; in xfs_buf_item_log_debug() 58 uint bit_set; in xfs_buf_item_log_debug() 59 uint *wordp; in xfs_buf_item_log_debug() [all …]
|
D | xfs_bit.h | 76 extern int xfs_bitmap_empty(uint *map, uint size); 79 extern int xfs_contig_bits(uint *map, uint size, uint start_bit); 82 extern int xfs_next_bit(uint *map, uint size, uint start_bit);
|
D | xfs_log_priv.h | 59 static inline xfs_lsn_t xlog_assign_lsn(uint cycle, uint block) in xlog_assign_lsn() 64 static inline uint xlog_get_cycle(char *ptr) in xlog_get_cycle() 88 static inline uint xlog_get_client_id(__be32 i) in xlog_get_client_id() 239 uint r_len; /* region length :4 */ 240 uint r_type; /* region's transaction type :4 */ 255 uint t_trans_type; /* transaction type : 4 */ 258 uint t_res_num; /* num in array : 4 */ 259 uint t_res_num_ophdrs; /* num op hdrs : 4 */ 260 uint t_res_arr_sum; /* array sum : 4 */ 261 uint t_res_o_flow; /* sum overflow : 4 */ [all …]
|
D | xfs_extfree_item.c | 56 STATIC uint 73 uint size; in xfs_efi_item_format() 162 STATIC uint 223 .iop_size = (uint(*)(xfs_log_item_t*))xfs_efi_item_size, 230 .iop_trylock = (uint(*)(xfs_log_item_t*))xfs_efi_item_trylock, 246 uint nextents) in xfs_efi_init() 250 uint size; in xfs_efi_init() 254 size = (uint)(sizeof(xfs_efi_log_item_t) + in xfs_efi_init() 283 uint i; in xfs_efi_copy_format() 284 uint len = sizeof(xfs_efi_log_format_t) + in xfs_efi_copy_format() [all …]
|
D | xfs_trans.h | 33 uint th_magic; /* magic number */ 34 uint th_type; /* transaction type */ 36 uint th_num_items; /* num items logged by trans */ 193 return (uint)dp->lid_index; in xfs_lic_desc_to_slot() 772 uint li_type; /* item type */ 773 uint li_flags; /* misc flags */ 786 uint (*iop_size)(xfs_log_item_t *); 791 uint (*iop_trylock)(xfs_log_item_t *); 834 uint lbc_free; /* free slots bitmask */ 926 xfs_trans_t *xfs_trans_alloc(struct xfs_mount *, uint); [all …]
|
D | xfs_inode.h | 59 #define XFS_LINEAR_EXTS (XFS_IEXT_BUFSZ / (uint)sizeof(xfs_bmbt_rec_t)) 490 uint, uint, xfs_inode_t **, xfs_daddr_t); 491 void xfs_iput(xfs_inode_t *, uint); 492 void xfs_iput_new(xfs_inode_t *, uint); 493 void xfs_ilock(xfs_inode_t *, uint); 494 int xfs_ilock_nowait(xfs_inode_t *, uint); 495 void xfs_iunlock(xfs_inode_t *, uint); 496 void xfs_ilock_demote(xfs_inode_t *, uint); 497 int xfs_isilocked(xfs_inode_t *, uint); 498 uint xfs_ilock_map_shared(xfs_inode_t *); [all …]
|
D | xfs_trans.c | 50 STATIC uint xfs_trans_count_vecs(xfs_trans_t *); 52 STATIC void xfs_trans_uncommit(xfs_trans_t *, uint); 65 STATIC uint 71 STATIC uint 77 STATIC uint 83 STATIC uint 89 STATIC uint 95 STATIC uint 101 STATIC uint 107 STATIC uint [all …]
|
D | xfs_dir2_sf.h | 88 return ((uint)sizeof(xfs_dir2_sf_hdr_t) - \ in xfs_dir2_sf_hdr_size() 90 ((uint)sizeof(xfs_dir2_ino8_t) - (uint)sizeof(xfs_dir2_ino4_t))); in xfs_dir2_sf_hdr_size() 129 return ((uint)sizeof(xfs_dir2_sf_entry_t) - 1 + (len) - \ in xfs_dir2_sf_entsize_byname() 131 ((uint)sizeof(xfs_dir2_ino8_t) - (uint)sizeof(xfs_dir2_ino4_t))); in xfs_dir2_sf_entsize_byname() 137 return ((uint)sizeof(xfs_dir2_sf_entry_t) - 1 + (sfep)->namelen - \ in xfs_dir2_sf_entsize_byentry() 139 ((uint)sizeof(xfs_dir2_ino8_t) - (uint)sizeof(xfs_dir2_ino4_t))); in xfs_dir2_sf_entsize_byentry()
|
D | xfs_log.h | 23 #define CYCLE_LSN(lsn) ((uint)((lsn)>>32)) 24 #define BLOCK_LSN(lsn) ((uint)(lsn)) 118 uint i_type; /* type of region */ 141 uint flags); 144 uint flags, 148 uint flags); 166 uint flags, 167 uint t_type);
|
D | xfs_buf_item.h | 116 uint bc_len; 123 void xfs_buf_item_log(xfs_buf_log_item_t *, uint, uint); 124 uint xfs_buf_item_dirty(xfs_buf_log_item_t *); 135 uint first, 136 uint last);
|
D | xfs_extfree_item.h | 134 uint efi_flags; /* misc flags */ 135 uint efi_next_extent; 147 uint efd_next_extent; 159 xfs_efi_log_item_t *xfs_efi_init(struct xfs_mount *, uint); 161 uint);
|
D | xfs_trans_extfree.c | 39 uint nextents) in xfs_trans_get_efi() 69 uint next_extent; in xfs_trans_log_efi_extent() 96 uint nextents) in xfs_trans_get_efd() 126 uint next_extent; in xfs_trans_log_efd_extent()
|
D | xfs_iget.c | 329 uint flags, in xfs_iget() 330 uint lock_flags, in xfs_iget() 427 uint lock_flags) in xfs_iput() 440 uint lock_flags) in xfs_iput_new() 580 uint 584 uint lock_mode; in xfs_ilock_map_shared() 633 uint lock_flags) in xfs_ilock() 674 uint lock_flags) in xfs_ilock_nowait() 728 uint lock_flags) in xfs_iunlock() 773 uint lock_flags) in xfs_ilock_demote() [all …]
|
D | xfs_da_btree.h | 197 (uint)(XFS_DA_LOGOFF(BASE, ADDR)), \ 198 (uint)(XFS_DA_LOGOFF(BASE, ADDR)+(SIZE)-1) 254 uint xfs_da_hashname(const uchar_t *name_string, int name_length); 263 void xfs_da_log_buf(struct xfs_trans *tp, xfs_dabuf_t *dabuf, uint first, 264 uint last);
|
D | xfs_dir2_sf.c | 130 count * (uint)sizeof(xfs_dir2_sf_off_t) + /* offset */ in xfs_dir2_block_sfsize() 133 (uint)sizeof(xfs_dir2_ino8_t) * count : in xfs_dir2_block_sfsize() 134 (uint)sizeof(xfs_dir2_ino4_t) * count); in xfs_dir2_block_sfsize() 314 (uint)sizeof(xfs_dir2_ino8_t) - in xfs_dir2_sf_addname() 315 (uint)sizeof(xfs_dir2_ino4_t); in xfs_dir2_sf_addname() 318 ((uint)sizeof(xfs_dir2_ino8_t) - in xfs_dir2_sf_addname() 319 (uint)sizeof(xfs_dir2_ino4_t)); in xfs_dir2_sf_addname() 569 (sfp->hdr.count + 3) * (uint)sizeof(xfs_dir2_leaf_entry_t) + in xfs_dir2_sf_addname_pick() 570 (uint)sizeof(xfs_dir2_block_tail_t); in xfs_dir2_sf_addname_pick() 638 (sfp->hdr.count + 2) * (uint)sizeof(xfs_dir2_leaf_entry_t) + in xfs_dir2_sf_check() [all …]
|
D | xfs_inode_item.c | 55 STATIC uint 59 uint nvecs; in xfs_inode_item_size() 88 XFS_IFORK_DSIZE(ip) / (uint)sizeof(xfs_bmbt_rec_t)); in xfs_inode_item_size() 217 uint nvecs; in xfs_inode_item_format() 330 (uint)sizeof(xfs_bmbt_rec_t); in xfs_inode_item_format() 460 (uint)sizeof(xfs_bmbt_rec_t); in xfs_inode_item_format() 590 STATIC uint 659 uint hold; in xfs_inode_item_unlock() 660 uint iolocked; in xfs_inode_item_unlock() 661 uint lock_flags; in xfs_inode_item_unlock() [all …]
|
/fs/xfs/quota/ |
D | xfs_qm.h | 29 extern uint ndquot; 83 uint qh_version; 84 uint qh_nelems; 93 uint qm_dqhashmask; /* # buckets in dq hashtab - 1 */ 96 uint qm_nrefs; /* file systems with quota on */ 120 uint qi_dqperchunk; /* # ondisk dqs in above chunk */ 132 extern void xfs_trans_mod_dquot(xfs_trans_t *, xfs_dquot_t *, uint, long); 134 xfs_dquot_t *, xfs_dquot_t *, long, long, uint); 176 extern int xfs_qm_dqattach(xfs_inode_t *, uint); 178 extern int xfs_qm_dqpurge_all(xfs_mount_t *, uint); [all …]
|
D | xfs_qm_syscalls.c | 60 STATIC int xfs_qm_scall_trunc_qfiles(xfs_mount_t *, uint); 61 STATIC int xfs_qm_scall_getquota(xfs_mount_t *, xfs_dqid_t, uint, 64 STATIC int xfs_qm_scall_setqlim(xfs_mount_t *, xfs_dqid_t, uint, 66 STATIC int xfs_qm_scall_quotaon(xfs_mount_t *, uint); 67 STATIC int xfs_qm_scall_quotaoff(xfs_mount_t *, uint, boolean_t); 68 STATIC int xfs_qm_log_quotaoff(xfs_mount_t *, xfs_qoff_logitem_t **, uint); 70 uint); 71 STATIC uint xfs_qm_import_flags(uint); 72 STATIC uint xfs_qm_export_flags(uint); 73 STATIC uint xfs_qm_import_qtype_flags(uint); [all …]
|
D | xfs_dquot_item.c | 55 STATIC uint 216 uint dopush; in xfs_qm_dquot_logitem_pushbuf() 290 STATIC uint 295 uint retval; in xfs_qm_dquot_logitem_trylock() 392 .iop_size = (uint(*)(xfs_log_item_t*))xfs_qm_dquot_logitem_size, 400 .iop_trylock = (uint(*)(xfs_log_item_t*)) 450 STATIC uint 509 STATIC uint 600 .iop_size = (uint(*)(xfs_log_item_t*))xfs_qm_qoff_logitem_size, 608 .iop_trylock = (uint(*)(xfs_log_item_t*))xfs_qm_qoff_logitem_trylock, [all …]
|
D | xfs_dquot.h | 38 uint qh_version; /* ever increasing version */ 39 uint qh_nelems; /* number of dquots on the list */ 62 uint dqm_flags; /* various flags (XFS_DQ_*) */ 73 uint q_nrefs; /* # active refs from inodes */ 184 extern int xfs_qm_dqflush(xfs_dquot_t *, uint); 194 xfs_dqid_t, uint, uint, xfs_dquot_t **);
|
D | xfs_qm_bhv.c | 111 uint *needquotamount, in xfs_qm_newmount() 112 uint *quotaflags) in xfs_qm_newmount() 114 uint quotaondisk; in xfs_qm_newmount() 115 uint uquotaondisk = 0, gquotaondisk = 0, pquotaondisk = 0; in xfs_qm_newmount() 185 uint needquotamount, in xfs_qm_endmount() 186 uint quotaflags) in xfs_qm_endmount()
|
/fs/jfs/ |
D | jfs_incore.h | 40 uint mode2; /* jfs-specific mode */ 41 uint saved_uid; /* saved for uid mount option */ 42 uint saved_gid; /* saved for gid mount option */ 47 uint next_index; /* next available directory entry index */ 178 uint aggregate; /* volume identifier in log record */ 190 uint gengen; /* inode generation generator*/ 191 uint inostamp; /* shows inode belongs to fileset*/ 197 uint state; /* mount/recovery state */ 199 uint p_state; /* state prior to going no integrity */ 200 uint uid; /* uid to override on-disk uid */ [all …]
|
/fs/ |
D | quota_tree.c | 57 static inline ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, dqbuf_t buf) in read_blk() 66 static inline ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, dqbuf_t buf) in write_blk() 106 static int put_free_dqblk(struct qtree_mem_dqinfo *info, dqbuf_t buf, uint blk) in put_free_dqblk() 123 static int remove_free_dqentry(struct qtree_mem_dqinfo *info, dqbuf_t buf, uint blk) in remove_free_dqentry() 127 uint nextblk = le32_to_cpu(dh->dqdh_next_free); in remove_free_dqentry() 128 uint prevblk = le32_to_cpu(dh->dqdh_prev_free); in remove_free_dqentry() 168 static int insert_free_dqentry(struct qtree_mem_dqinfo *info, dqbuf_t buf, uint blk) in insert_free_dqentry() 213 static uint find_free_dqentry(struct qtree_mem_dqinfo *info, in find_free_dqentry() 216 uint blk, i; in find_free_dqentry() 285 uint *treeblk, int depth) in do_insert_tree() [all …]
|