/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd/ |
H A D | transaction.c | 29 static void __journal_temp_unlink_buffer(struct journal_head *jh); 492 static void jbd_unexpected_dirty_buffer(struct journal_head *jh) argument 501 jlist = jh->b_jlist; 505 struct buffer_head *bh = jh2bh(jh); 523 do_get_write_access(handle_t *handle, struct journal_head *jh, argument 539 jbd_debug(5, "buffer_head %p, force_copy %d\n", jh, force_copy); 541 JBUFFER_TRACE(jh, "entry"); 543 bh = jh2bh(jh); 568 if (jh->b_transaction) { 569 J_ASSERT_JH(jh, 751 struct journal_head *jh = journal_add_journal_head(bh); local 786 struct journal_head *jh = journal_add_journal_head(bh); local 868 struct journal_head *jh = journal_add_journal_head(bh); local 934 struct journal_head *jh; local 1115 struct journal_head *jh = bh2jh(bh); local 1213 struct journal_head *jh; local 1457 __blist_add_buffer(struct journal_head **list, struct journal_head *jh) argument 1481 __blist_del_buffer(struct journal_head **list, struct journal_head *jh) argument 1503 __journal_temp_unlink_buffer(struct journal_head *jh) argument 1555 __journal_unfile_buffer(struct journal_head *jh) argument 1561 journal_unfile_buffer(journal_t *journal, struct journal_head *jh) argument 1578 struct journal_head *jh; local 1658 struct journal_head *jh; local 1693 __dispose_buffer(struct journal_head *jh, transaction_t *transaction) argument 1763 struct journal_head *jh; local 1945 __journal_file_buffer(struct journal_head *jh, transaction_t *transaction, int jlist) argument 2016 journal_file_buffer(struct journal_head *jh, transaction_t *transaction, int jlist) argument 2036 __journal_refile_buffer(struct journal_head *jh) argument 2082 journal_refile_buffer(journal_t *journal, struct journal_head *jh) argument [all...] |
H A D | checkpoint.c | 31 static inline void __buffer_unlink_first(struct journal_head *jh) argument 33 transaction_t *transaction = jh->b_cp_transaction; 35 jh->b_cpnext->b_cpprev = jh->b_cpprev; 36 jh->b_cpprev->b_cpnext = jh->b_cpnext; 37 if (transaction->t_checkpoint_list == jh) { 38 transaction->t_checkpoint_list = jh->b_cpnext; 39 if (transaction->t_checkpoint_list == jh) 49 static inline void __buffer_unlink(struct journal_head *jh) argument 66 __buffer_relink_io(struct journal_head *jh) argument 91 __try_to_free_cp_buf(struct journal_head *jh) argument 167 struct journal_head *jh; local 234 __process_buffer(journal_t *journal, struct journal_head *jh, struct buffer_head **bhs, int *batch_count) argument 336 struct journal_head *jh; local 473 journal_clean_one_cp_list(struct journal_head *jh, int *released) argument 581 __journal_remove_checkpoint(struct journal_head *jh) argument 639 __journal_insert_checkpoint(struct journal_head *jh, transaction_t *transaction) argument [all...] |
H A D | commit.c | 179 struct journal_head *jh; local 198 jh = commit_transaction->t_sync_datalist; 199 bh = jh2bh(jh); 229 || jh->b_transaction != commit_transaction 230 || jh->b_jlist != BJ_SyncData) { 241 __journal_file_buffer(jh, commit_transaction, 251 __journal_file_buffer(jh, commit_transaction, 257 __journal_unfile_buffer(jh); 286 struct journal_head *jh, *new_jh, *descriptor; local 368 jh [all...] |
H A D | journal.c | 1755 static void journal_free_journal_head(struct journal_head *jh) argument 1759 memset(jh, JBD_POISON_FREE, sizeof(*jh)); 1761 kmem_cache_free(journal_head_cache, jh); 1773 struct journal_head *jh; local 1784 jh = bh2jh(bh); 1795 jh = new_jh; 1798 bh->b_private = jh; 1799 jh->b_bh = bh; 1803 jh 1816 struct journal_head *jh = NULL; local 1829 struct journal_head *jh = bh2jh(bh); local 1889 journal_put_journal_head(struct journal_head *jh) argument [all...] |
H A D | revoke.c | 420 int journal_cancel_revoke(handle_t *handle, struct journal_head *jh) argument 426 struct buffer_head *bh = jh2bh(jh); 428 jbd_debug(4, "journal_head %p, cancelling revoke\n", jh); 457 J_ASSERT_JH(jh, record == NULL);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd2/ |
H A D | transaction.c | 29 static void __jbd2_journal_temp_unlink_buffer(struct journal_head *jh); 492 static void jbd_unexpected_dirty_buffer(struct journal_head *jh) argument 501 jlist = jh->b_jlist; 505 struct buffer_head *bh = jh2bh(jh); 523 do_get_write_access(handle_t *handle, struct journal_head *jh, argument 539 jbd_debug(5, "buffer_head %p, force_copy %d\n", jh, force_copy); 541 JBUFFER_TRACE(jh, "entry"); 543 bh = jh2bh(jh); 568 if (jh->b_transaction) { 569 J_ASSERT_JH(jh, 751 struct journal_head *jh = jbd2_journal_add_journal_head(bh); local 786 struct journal_head *jh = jbd2_journal_add_journal_head(bh); local 868 struct journal_head *jh = jbd2_journal_add_journal_head(bh); local 934 struct journal_head *jh; local 1115 struct journal_head *jh = bh2jh(bh); local 1213 struct journal_head *jh; local 1457 __blist_add_buffer(struct journal_head **list, struct journal_head *jh) argument 1481 __blist_del_buffer(struct journal_head **list, struct journal_head *jh) argument 1503 __jbd2_journal_temp_unlink_buffer(struct journal_head *jh) argument 1555 __jbd2_journal_unfile_buffer(struct journal_head *jh) argument 1561 jbd2_journal_unfile_buffer(journal_t *journal, struct journal_head *jh) argument 1578 struct journal_head *jh; local 1658 struct journal_head *jh; local 1693 __dispose_buffer(struct journal_head *jh, transaction_t *transaction) argument 1763 struct journal_head *jh; local 1945 __jbd2_journal_file_buffer(struct journal_head *jh, transaction_t *transaction, int jlist) argument 2016 jbd2_journal_file_buffer(struct journal_head *jh, transaction_t *transaction, int jlist) argument 2036 __jbd2_journal_refile_buffer(struct journal_head *jh) argument 2082 jbd2_journal_refile_buffer(journal_t *journal, struct journal_head *jh) argument [all...] |
H A D | checkpoint.c | 31 static inline void __buffer_unlink_first(struct journal_head *jh) argument 33 transaction_t *transaction = jh->b_cp_transaction; 35 jh->b_cpnext->b_cpprev = jh->b_cpprev; 36 jh->b_cpprev->b_cpnext = jh->b_cpnext; 37 if (transaction->t_checkpoint_list == jh) { 38 transaction->t_checkpoint_list = jh->b_cpnext; 39 if (transaction->t_checkpoint_list == jh) 49 static inline void __buffer_unlink(struct journal_head *jh) argument 66 __buffer_relink_io(struct journal_head *jh) argument 91 __try_to_free_cp_buf(struct journal_head *jh) argument 167 struct journal_head *jh; local 234 __process_buffer(journal_t *journal, struct journal_head *jh, struct buffer_head **bhs, int *batch_count) argument 336 struct journal_head *jh; local 473 journal_clean_one_cp_list(struct journal_head *jh, int *released) argument 581 __jbd2_journal_remove_checkpoint(struct journal_head *jh) argument 639 __jbd2_journal_insert_checkpoint(struct journal_head *jh, transaction_t *transaction) argument [all...] |
H A D | commit.c | 179 struct journal_head *jh; local 198 jh = commit_transaction->t_sync_datalist; 199 bh = jh2bh(jh); 229 || jh->b_transaction != commit_transaction 230 || jh->b_jlist != BJ_SyncData) { 241 __jbd2_journal_file_buffer(jh, commit_transaction, 251 __jbd2_journal_file_buffer(jh, commit_transaction, 257 __jbd2_journal_unfile_buffer(jh); 294 struct journal_head *jh, *new_jh, *descriptor; local 377 jh [all...] |
H A D | journal.c | 1766 static void journal_free_journal_head(struct journal_head *jh) argument 1770 memset(jh, JBD_POISON_FREE, sizeof(*jh)); 1772 kmem_cache_free(jbd2_journal_head_cache, jh); 1784 struct journal_head *jh; local 1795 jh = bh2jh(bh); 1806 jh = new_jh; 1809 bh->b_private = jh; 1810 jh->b_bh = bh; 1814 jh 1827 struct journal_head *jh = NULL; local 1840 struct journal_head *jh = bh2jh(bh); local 1900 jbd2_journal_put_journal_head(struct journal_head *jh) argument [all...] |
H A D | revoke.c | 421 int jbd2_journal_cancel_revoke(handle_t *handle, struct journal_head *jh) argument 427 struct buffer_head *bh = jh2bh(jh); 429 jbd_debug(4, "journal_head %p, cancelling revoke\n", jh); 458 J_ASSERT_JH(jh, record == NULL);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/ |
H A D | transaction.c | 492 static void hfsplus_jbd_unexpected_dirty_buffer(struct hfsplus_jbd_head *jh) argument 501 jlist = jh->b_jlist; 505 struct buffer_head *bh = hfsplus_jh2bh(jh); 523 do_get_write_access(hfsplus_jbd_handle_t *handle, struct hfsplus_jbd_head *jh, argument 539 hfsplus_jbd_debug(5, "buffer_head %p, force_copy %d\n", jh, force_copy); 541 HFSPLUS_JBUFFER_TRACE(jh, "entry"); 543 bh = hfsplus_jh2bh(jh); 568 if (jh->b_transaction) { 569 HFSPLUS_J_ASSERT_JH(jh, 570 jh 749 struct hfsplus_jbd_head *jh = hfsplus_jbd_add_journal_head(bh); local 784 struct hfsplus_jbd_head *jh = hfsplus_jbd_add_journal_head(bh); local 866 struct hfsplus_jbd_head *jh = hfsplus_jbd_add_journal_head(bh); local 931 struct hfsplus_jbd_head *jh; local 1100 struct hfsplus_jbd_head *jh = hfsplus_bh2jh(bh); local 1202 struct hfsplus_jbd_head *jh; local 1439 __blist_add_buffer(struct hfsplus_jbd_head **list, struct hfsplus_jbd_head *jh) argument 1463 __blist_del_buffer(struct hfsplus_jbd_head **list, struct hfsplus_jbd_head *jh) argument 1485 __hfsplus_jbd_temp_unlink_buffer(struct hfsplus_jbd_head *jh) argument 1537 __hfsplus_jbd_unfile_buffer(struct hfsplus_jbd_head *jh) argument 1543 hfsplus_jbd_unfile_buffer(hfsplus_jbd_t *journal, struct hfsplus_jbd_head *jh) argument 1560 struct hfsplus_jbd_head *jh; local 1640 struct hfsplus_jbd_head *jh; local 1675 __dispose_buffer(struct hfsplus_jbd_head *jh, hfsplus_transaction_t *transaction) argument 1745 struct hfsplus_jbd_head *jh; local 1929 __hfsplus_jbd_file_buffer(struct hfsplus_jbd_head *jh, hfsplus_transaction_t *transaction, int jlist) argument 2000 hfsplus_jbd_file_buffer(struct hfsplus_jbd_head *jh, hfsplus_transaction_t *transaction, int jlist) argument 2020 __hfsplus_jbd_refile_buffer(struct hfsplus_jbd_head *jh) argument 2065 hfsplus_jbd_refile_buffer(hfsplus_jbd_t *journal, struct hfsplus_jbd_head *jh) argument [all...] |
H A D | checkpoint.c | 33 static inline void __buffer_unlink(struct hfsplus_jbd_head *jh) argument 37 transaction = jh->b_cp_transaction; 38 jh->b_cp_transaction = NULL; 40 jh->b_cpnext->b_cpprev = jh->b_cpprev; 41 jh->b_cpprev->b_cpnext = jh->b_cpnext; 42 if (transaction->t_checkpoint_list == jh) 43 transaction->t_checkpoint_list = jh->b_cpnext; 44 if (transaction->t_checkpoint_list == jh) 54 __try_to_free_cp_buf(struct hfsplus_jbd_head *jh) argument 134 struct hfsplus_jbd_head *jh, *next_jh, *last_jh; local 228 __flush_buffer(hfsplus_jbd_t *journal, struct hfsplus_jbd_head *jh, struct buffer_head **bhs, int *batch_count, int *drop_count) argument 313 struct hfsplus_jbd_head *jh, *last_jh, *next_jh; local 485 struct hfsplus_jbd_head *jh; local 532 __hfsplus_jbd_remove_checkpoint(struct hfsplus_jbd_head *jh) argument 585 __hfsplus_jbd_insert_checkpoint(struct hfsplus_jbd_head *jh, hfsplus_transaction_t *transaction) argument [all...] |
H A D | journal.c | 42 static void swap_journal_header(struct hfsplus_journal_header *jh) argument 44 jh->magic = swab32(jh->magic); 45 jh->endian = swab32(jh->endian); 46 jh->start = swab64(jh->start); 47 jh->end = swab64(jh->end); 48 jh 65 print_journal_header(struct hfsplus_journal_header *jh) argument 272 struct hfsplus_journal_header *jh; local 440 struct hfsplus_journal_header *jh = &(journal->j_superblock->mac_jh); local 450 struct hfsplus_journal_header *jh = &(jsb->mac_jh); local 463 hfsplus_journal_header_end_update(hfsplus_jbd_t *journal, struct hfsplus_journal_header *jh) argument 472 struct hfsplus_journal_header *jh = &(journal->j_superblock->mac_jh); local 484 struct hfsplus_journal_header *jh = (struct hfsplus_journal_header *)(HFSPLUS_SB(sb).jnl.jhdr); local 512 struct hfsplus_journal_header *jh = (struct hfsplus_journal_header *)(HFSPLUS_SB(sb).jnl.jhdr); local 563 hfsplus_test_block_list_header(const char *func, struct hfsplus_journal_header *jh, struct hfsplus_journal *jnl) argument 595 struct hfsplus_journal_header *jh = (struct hfsplus_journal_header *)(HFSPLUS_SB(sb).jnl.jhdr); local 750 struct hfsplus_journal_header *jh; local [all...] |
H A D | commit.c | 195 struct hfsplus_jbd_head *jh, *new_jh, *descriptor; local 282 jh = commit_transaction->t_reserved_list; 283 HFSPLUS_JBUFFER_TRACE(jh, "reserved, unused: refile"); 288 if (jh->b_committed_data) { 289 struct buffer_head *bh = hfsplus_jh2bh(jh); 292 kfree(jh->b_committed_data); 293 jh->b_committed_data = NULL; 296 hfsplus_jbd_refile_buffer(journal, jh); 330 new_jh = jh = commit_transaction->t_buffers->b_tnext; 336 } while (new_jh != jh); [all...] |
H A D | jbd_journal.c | 1683 static void hfsplus_jbd_free_journal_head(struct hfsplus_jbd_head *jh) argument 1687 memset(jh, 0x5b, sizeof(*jh)); 1689 kmem_cache_free(hfsplus_jbd_head_cache, jh); 1720 * struct hfsplus_jbd_head *jh = hfsplus_jbd_add_journal_head(bh); 1722 * jh->b_transaction = xxx; 1723 * hfsplus_jbd_put_journal_head(jh); 1737 struct hfsplus_jbd_head *jh; local 1752 jh = hfsplus_bh2jh(bh); 1763 jh 1784 struct hfsplus_jbd_head *jh = NULL; local 1797 struct hfsplus_jbd_head *jh = hfsplus_bh2jh(bh); local 1857 hfsplus_jbd_put_journal_head(struct hfsplus_jbd_head *jh) argument [all...] |
H A D | hfsplus_jbd.h | 254 #define HFSPLUS_J_ASSERT_JH(jh, expr) HFSPLUS_J_ASSERT_BH(hfsplus_jh2bh(jh), expr) 257 #define HFSPLUS_J_ASSERT_JH(jh, expr) HFSPLUS_J_ASSERT(expr) 267 #define HFSPLUS_J_EXPECT_JH(jh, expr, why...) HFSPLUS_J_ASSERT_JH(jh, expr) 281 #define HFSPLUS_J_EXPECT_JH(jh, expr, why...) __hfsplus_jbd_expect(expr, ## why) 293 BH_HFSPLUS_JournalHead, /* Pins bh->b_private and jh->b_bh */ 307 static inline struct buffer_head *hfsplus_jh2bh(struct hfsplus_jbd_head *jh) argument 309 return jh->b_bh; 825 extern void __hfsplus_jbd_temp_unlink_buffer(struct hfsplus_jbd_head *jh); [all...] |
H A D | revoke.c | 417 int hfsplus_jbd_cancel_revoke(hfsplus_jbd_handle_t *handle, struct hfsplus_jbd_head *jh) argument 423 struct buffer_head *bh = hfsplus_jh2bh(jh); 425 hfsplus_jbd_debug(4, "hfsplus_jbd_head %p, cancelling revoke\n", jh); 454 HFSPLUS_J_ASSERT_JH(jh, record == NULL);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | jbd.h | 269 #define J_ASSERT_JH(jh, expr) J_ASSERT_BH(jh2bh(jh), expr) 272 #define J_ASSERT_JH(jh, expr) J_ASSERT(expr) 282 #define J_EXPECT_JH(jh, expr, why...) J_ASSERT_JH(jh, expr) 296 #define J_EXPECT_JH(jh, expr, why...) __journal_expect(expr, ## why) 308 BH_JournalHead, /* Pins bh->b_private and jh->b_bh */ 322 static inline struct buffer_head *jh2bh(struct journal_head *jh) argument 324 return jh->b_bh; 940 void journal_put_journal_head(struct journal_head *jh); [all...] |
H A D | jbd2.h | 278 #define J_ASSERT_JH(jh, expr) J_ASSERT_BH(jh2bh(jh), expr) 281 #define J_ASSERT_JH(jh, expr) J_ASSERT(expr) 291 #define J_EXPECT_JH(jh, expr, why...) J_ASSERT_JH(jh, expr) 305 #define J_EXPECT_JH(jh, expr, why...) __journal_expect(expr, ## why) 317 BH_JournalHead, /* Pins bh->b_private and jh->b_bh */ 331 static inline struct buffer_head *jh2bh(struct journal_head *jh) argument 333 return jh->b_bh; 949 void jbd2_journal_put_journal_head(struct journal_head *jh); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/ |
H A D | journal.c | 738 struct reiserfs_jh *jh; local 740 jh = kmalloc(sizeof(*jh), GFP_NOFS); 741 if (jh) { 743 return jh; 750 * we want to free the jh when the buffer has been written 755 struct reiserfs_jh *jh; local 757 jh = bh->b_private; 758 if (jh) { 760 jh 773 struct reiserfs_jh *jh; local 821 struct reiserfs_jh *jh; local 1254 struct reiserfs_journal_header *jh; local 2338 struct reiserfs_journal_header *jh; local 2633 struct reiserfs_journal_header *jh; local [all...] |
H A D | inode.c | 2740 struct reiserfs_jh *jh = bh->b_private; local 2755 if (jh && (jl = jh->jl)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext3/ |
H A D | balloc.c | 640 struct journal_head *jh = bh2jh(bh); local 646 if (!jh->b_committed_data) 649 ret = !ext3_test_bit(nr, jh->b_committed_data); 669 struct journal_head *jh = bh2jh(bh); local 678 if (jh->b_committed_data) 679 start = ext3_find_next_zero_bit(jh->b_committed_data, 758 struct journal_head *jh = bh2jh(bh); local 764 if (jh->b_committed_data && ext3_test_bit(block,jh->b_committed_data)) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext4/ |
H A D | balloc.c | 657 struct journal_head *jh = bh2jh(bh); local 663 if (!jh->b_committed_data) 666 ret = !ext4_test_bit(nr, jh->b_committed_data); 686 struct journal_head *jh = bh2jh(bh); local 695 if (jh->b_committed_data) 696 start = ext4_find_next_zero_bit(jh->b_committed_data, 775 struct journal_head *jh = bh2jh(bh); local 781 if (jh->b_committed_data && ext4_test_bit(block,jh->b_committed_data)) {
|