/linux-4.19.296/drivers/sfi/ |
D | sfi_core.c | 167 struct sfi_table_header *th; in sfi_map_table() local 171 th = sfi_map_memory(pa, sizeof(struct sfi_table_header)); in sfi_map_table() 173 th = (void *)syst_va + (pa - syst_pa); in sfi_map_table() 176 if (TABLE_ON_PAGE(th, th, th->len)) in sfi_map_table() 177 return th; in sfi_map_table() 180 length = th->len; in sfi_map_table() 182 sfi_unmap_memory(th, sizeof(struct sfi_table_header)); in sfi_map_table() 193 static void sfi_unmap_table(struct sfi_table_header *th) in sfi_unmap_table() argument 195 if (!TABLE_ON_PAGE(syst_va, th, th->len)) in sfi_unmap_table() 196 sfi_unmap_memory(th, TABLE_ON_PAGE(th, th, th->len) ? in sfi_unmap_table() [all …]
|
D | sfi_acpi.c | 81 struct acpi_table_header *th) in acpi_to_sfi_th() argument 83 return (struct sfi_table_header *)th; in acpi_to_sfi_th() 87 struct sfi_table_header *th) in sfi_to_acpi_th() argument 89 return (struct acpi_table_header *)th; in sfi_to_acpi_th() 97 static int __init sfi_acpi_parse_xsdt(struct sfi_table_header *th) in sfi_acpi_parse_xsdt() argument 103 xsdt_va = (struct acpi_table_xsdt *)th; in sfi_acpi_parse_xsdt() 181 struct acpi_table_header *th = NULL; in sfi_acpi_table_show() local 189 th = sfi_acpi_get_table(&key); in sfi_acpi_table_show() 190 if (!th) in sfi_acpi_table_show() 194 th, th->length); in sfi_acpi_table_show() [all …]
|
/linux-4.19.296/fs/reiserfs/ |
D | namei.c | 432 static int reiserfs_add_entry(struct reiserfs_transaction_handle *th, in reiserfs_add_entry() argument 453 BUG_ON(!th->t_trans_id); in reiserfs_add_entry() 547 PROC_INFO_MAX(th->t_super, max_hash_collisions, gen_number); in reiserfs_add_entry() 566 reiserfs_paste_into_item(th, &path, &entry_key, dir, buffer, in reiserfs_add_entry() 579 reiserfs_update_sd(th, dir); in reiserfs_add_entry() 635 struct reiserfs_transaction_handle th; in reiserfs_create() local 660 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_create() 667 reiserfs_new_inode(&th, dir, mode, NULL, 0 /*i_size */ , dentry, in reiserfs_create() 677 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_create() 682 reiserfs_update_sd(&th, inode); in reiserfs_create() [all …]
|
D | inode.c | 36 struct reiserfs_transaction_handle th; in reiserfs_evict_inode() local 57 if (journal_begin(&th, inode->i_sb, jbegin_count)) in reiserfs_evict_inode() 61 reiserfs_discard_prealloc(&th, inode); in reiserfs_evict_inode() 63 err = reiserfs_delete_object(&th, inode); in reiserfs_evict_inode() 76 if (journal_end(&th)) in reiserfs_evict_inode() 252 static int restart_transaction(struct reiserfs_transaction_handle *th, in restart_transaction() argument 255 struct super_block *s = th->t_super; in restart_transaction() 258 BUG_ON(!th->t_trans_id); in restart_transaction() 259 BUG_ON(!th->t_refcount); in restart_transaction() 264 if (th->t_refcount > 1) { in restart_transaction() [all …]
|
D | stree.c | 1044 static char prepare_for_delete_or_cut(struct reiserfs_transaction_handle *th, in prepare_for_delete_or_cut() argument 1063 BUG_ON(!th->t_trans_id); in prepare_for_delete_or_cut() 1122 reiserfs_transaction_free_space(th) < JOURNAL_FOR_FREE_BLOCK_AND_UPDATE_SD) in prepare_for_delete_or_cut() 1131 journal_mark_dirty(th, bh); in prepare_for_delete_or_cut() 1132 reiserfs_free_block(th, inode, block, 1); in prepare_for_delete_or_cut() 1200 static void init_tb_struct(struct reiserfs_transaction_handle *th, in init_tb_struct() argument 1206 BUG_ON(!th->t_trans_id); in init_tb_struct() 1209 tb->transaction_handle = th; in init_tb_struct() 1261 int reiserfs_delete_item(struct reiserfs_transaction_handle *th, in reiserfs_delete_item() argument 1278 BUG_ON(!th->t_trans_id); in reiserfs_delete_item() [all …]
|
D | bitmap.c | 143 static int scan_bitmap_block(struct reiserfs_transaction_handle *th, in scan_bitmap_block() argument 147 struct super_block *s = th->t_super; in scan_bitmap_block() 153 BUG_ON(!th->t_trans_id); in scan_bitmap_block() 258 journal_mark_dirty(th, bh); in scan_bitmap_block() 265 journal_mark_dirty(th, SB_BUFFER_WITH_SB(s)); in scan_bitmap_block() 347 static int scan_bitmap(struct reiserfs_transaction_handle *th, in scan_bitmap() argument 352 struct super_block *s = th->t_super; in scan_bitmap() 357 BUG_ON(!th->t_trans_id); in scan_bitmap() 391 scan_bitmap_block(th, bm, &off, off_max, in scan_bitmap() 402 scan_bitmap_block(th, bm, &off, off_max, min, max, unfm); in scan_bitmap() [all …]
|
D | journal.c | 93 static int journal_join(struct reiserfs_transaction_handle *th, 111 static int do_journal_begin_r(struct reiserfs_transaction_handle *th, 1912 static int do_journal_release(struct reiserfs_transaction_handle *th, in do_journal_release() argument 1925 BUG_ON(!th->t_trans_id); in do_journal_release() 1926 do_journal_end(th, FLUSH_ALL); in do_journal_release() 1978 int journal_release(struct reiserfs_transaction_handle *th, in journal_release() argument 1981 return do_journal_release(th, sb, 0); in journal_release() 1985 int journal_release_error(struct reiserfs_transaction_handle *th, in journal_release_error() argument 1988 return do_journal_release(th, sb, 1); in journal_release_error() 2929 int journal_transaction_should_end(struct reiserfs_transaction_handle *th, in journal_transaction_should_end() argument [all …]
|
D | file.c | 35 struct reiserfs_transaction_handle th; in reiserfs_file_release() local 66 err = journal_begin(&th, inode->i_sb, 1); in reiserfs_file_release() 74 err = journal_join_abort(&th, inode->i_sb); in reiserfs_file_release() 97 reiserfs_discard_prealloc(&th, inode); in reiserfs_file_release() 99 err = journal_end(&th); in reiserfs_file_release() 188 struct reiserfs_transaction_handle th; in reiserfs_commit_page() local 191 th.t_trans_id = 0; in reiserfs_commit_page() 196 ret = journal_begin(&th, s, bh_per_page + 1); in reiserfs_commit_page() 215 journal_mark_dirty(&th, bh); in reiserfs_commit_page() 230 ret = journal_end(&th); in reiserfs_commit_page()
|
D | objectid.c | 49 __u32 reiserfs_get_unused_objectid(struct reiserfs_transaction_handle *th) in reiserfs_get_unused_objectid() argument 51 struct super_block *s = th->t_super; in reiserfs_get_unused_objectid() 56 BUG_ON(!th->t_trans_id); in reiserfs_get_unused_objectid() 92 journal_mark_dirty(th, SB_BUFFER_WITH_SB(s)); in reiserfs_get_unused_objectid() 97 void reiserfs_release_objectid(struct reiserfs_transaction_handle *th, in reiserfs_release_objectid() argument 100 struct super_block *s = th->t_super; in reiserfs_release_objectid() 105 BUG_ON(!th->t_trans_id); in reiserfs_release_objectid() 110 journal_mark_dirty(th, SB_BUFFER_WITH_SB(s)); in reiserfs_release_objectid()
|
D | tail_conversion.c | 25 int direct2indirect(struct reiserfs_transaction_handle *th, struct inode *inode, in direct2indirect() argument 48 BUG_ON(!th->t_trans_id); in direct2indirect() 84 reiserfs_insert_item(th, path, &end_key, &ind_ih, inode, in direct2indirect() 88 retval = reiserfs_paste_into_item(th, path, &end_key, inode, in direct2indirect() 139 retval = reiserfs_delete_item(th, path, &end_key, inode, in direct2indirect() 202 int indirect2direct(struct reiserfs_transaction_handle *th, in indirect2direct() argument 219 BUG_ON(!th->t_trans_id); in indirect2direct() 283 if (reiserfs_insert_item(th, path, &key, &s_ih, inode, in indirect2direct() 299 reiserfs_update_sd(th, inode); in indirect2direct()
|
D | resize.c | 27 struct reiserfs_transaction_handle th; in reiserfs_resize() local 178 err = journal_begin(&th, s, 10); in reiserfs_resize() 186 int jerr = journal_end(&th); in reiserfs_resize() 197 journal_mark_dirty(&th, bh); in reiserfs_resize() 204 int jerr = journal_end(&th); in reiserfs_resize() 213 journal_mark_dirty(&th, bh); in reiserfs_resize() 226 journal_mark_dirty(&th, SB_BUFFER_WITH_SB(s)); in reiserfs_resize() 229 return journal_end(&th); in reiserfs_resize()
|
D | super.c | 69 struct reiserfs_transaction_handle th; in reiserfs_sync_fs() local 77 if (!journal_begin(&th, s, 1)) in reiserfs_sync_fs() 78 if (!journal_end_sync(&th)) in reiserfs_sync_fs() 149 struct reiserfs_transaction_handle th; in reiserfs_freeze() local 155 int err = journal_begin(&th, s, 1); in reiserfs_freeze() 157 reiserfs_block_writes(&th); in reiserfs_freeze() 161 journal_mark_dirty(&th, SB_BUFFER_WITH_SB(s)); in reiserfs_freeze() 162 reiserfs_block_writes(&th); in reiserfs_freeze() 163 journal_end_sync(&th); in reiserfs_freeze() 196 struct reiserfs_transaction_handle th; in remove_save_link_only() local [all …]
|
D | xattr_acl.c | 15 static int __reiserfs_set_acl(struct reiserfs_transaction_handle *th, 24 struct reiserfs_transaction_handle th; in reiserfs_set_acl() local 39 error = journal_begin(&th, inode->i_sb, jcreate_blocks); in reiserfs_set_acl() 48 error = __reiserfs_set_acl(&th, inode, type, acl); in reiserfs_set_acl() 53 error2 = journal_end(&th); in reiserfs_set_acl() 244 __reiserfs_set_acl(struct reiserfs_transaction_handle *th, struct inode *inode, in __reiserfs_set_acl() argument 271 error = reiserfs_xattr_set_handle(th, inode, name, value, size, 0); in __reiserfs_set_acl() 300 reiserfs_inherit_default_acl(struct reiserfs_transaction_handle *th, in reiserfs_inherit_default_acl() argument 331 err = __reiserfs_set_acl(th, inode, ACL_TYPE_DEFAULT, in reiserfs_inherit_default_acl() 337 err = __reiserfs_set_acl(th, inode, ACL_TYPE_ACCESS, in reiserfs_inherit_default_acl()
|
D | acl.h | 54 int reiserfs_inherit_default_acl(struct reiserfs_transaction_handle *th, 71 reiserfs_inherit_default_acl(struct reiserfs_transaction_handle *th, in reiserfs_inherit_default_acl() argument
|
D | reiserfs.h | 2899 struct reiserfs_transaction_handle *th = current->journal_info; in reiserfs_transaction_running() local 2900 if (th && th->t_super == s) in reiserfs_transaction_running() 2902 if (th && th->t_super == NULL) in reiserfs_transaction_running() 2907 static inline int reiserfs_transaction_free_space(struct reiserfs_transaction_handle *th) in reiserfs_transaction_free_space() argument 2909 return th->t_blocks_allocated - th->t_blocks_logged; in reiserfs_transaction_free_space() 2925 void reiserfs_block_writes(struct reiserfs_transaction_handle *th); 2955 void add_save_link(struct reiserfs_transaction_handle *th, 2960 __u32 reiserfs_get_unused_objectid(struct reiserfs_transaction_handle *th); 2961 void reiserfs_release_objectid(struct reiserfs_transaction_handle *th, 3016 int reiserfs_insert_item(struct reiserfs_transaction_handle *th, [all …]
|
D | xattr_security.c | 80 int reiserfs_security_write(struct reiserfs_transaction_handle *th, in reiserfs_security_write() argument 92 error = reiserfs_xattr_set_handle(th, inode, xattr_name, sec->value, in reiserfs_security_write()
|
D | xattr.h | 38 int reiserfs_security_write(struct reiserfs_transaction_handle *th, 108 reiserfs_security_write(struct reiserfs_transaction_handle *th, in reiserfs_security_write() argument
|
D | xattr.c | 301 struct reiserfs_transaction_handle th; in reiserfs_for_each_xattr() local 304 err = journal_begin(&th, inode->i_sb, blocks); in reiserfs_for_each_xattr() 313 jerror = journal_end(&th); in reiserfs_for_each_xattr() 510 reiserfs_xattr_set_handle(struct reiserfs_transaction_handle *th, in reiserfs_xattr_set_handle() argument 613 struct reiserfs_transaction_handle th; in reiserfs_xattr_set() local 625 error = journal_begin(&th, inode->i_sb, jbegin_count); in reiserfs_xattr_set() 631 error = reiserfs_xattr_set_handle(&th, inode, name, in reiserfs_xattr_set() 635 error2 = journal_end(&th); in reiserfs_xattr_set()
|
/linux-4.19.296/drivers/char/ |
D | ds1620.c | 335 struct therm th; in ds1620_proc_therm_show() local 338 ds1620_read_state(&th); in ds1620_proc_therm_show() 342 th.hi >> 1, th.hi & 1 ? 5 : 0, in ds1620_proc_therm_show() 343 th.lo >> 1, th.lo & 1 ? 5 : 0, in ds1620_proc_therm_show() 367 struct therm th, th_start; in ds1620_init() local 381 ds1620_read_state(&th); in ds1620_init() 388 ds1620_write_state(&th); in ds1620_init() 399 ds1620_read_state(&th); in ds1620_init() 404 th.hi >> 1, th.hi & 1 ? 5 : 0, in ds1620_init() 405 th.lo >> 1, th.lo & 1 ? 5 : 0, in ds1620_init()
|
/linux-4.19.296/crypto/ |
D | vmac.c | 150 int i; u64 th, tl; \ 153 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \ 155 ADD128(rh, rl, th, tl); \ 161 int i; u64 th, tl; \ 164 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \ 166 ADD128(rh, rl, th, tl); \ 167 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i+2], \ 169 ADD128(rh1, rl1, th, tl); \ 176 int i; u64 th, tl; \ 179 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \ [all …]
|
/linux-4.19.296/include/net/ |
D | ip6_checksum.h | 70 struct tcphdr *th = tcp_hdr(skb); in __tcp_v6_send_check() local 73 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check() 77 th->check = tcp_v6_check(skb->len, saddr, daddr, in __tcp_v6_send_check() 78 csum_partial(th, th->doff << 2, in __tcp_v6_send_check()
|
/linux-4.19.296/drivers/misc/sgi-gru/ |
D | grulib.h | 62 #define CONTEXT_WINDOW_BYTES(th) (GRU_GSEG_PAGESIZE * (th)) argument 63 #define THREAD_POINTER(p, th) (p + GRU_GSEG_PAGESIZE * (th)) argument
|
/linux-4.19.296/include/net/netfilter/ |
D | nf_conntrack_synproxy.h | 77 const struct tcphdr *th, 80 void synproxy_build_options(struct tcphdr *th, 88 struct tcphdr *th, struct nf_conn *ct,
|
/linux-4.19.296/drivers/s390/net/ |
D | ctcm_mpc.h | 106 struct th_header th; member 155 struct th_header *th; member
|
/linux-4.19.296/fs/cramfs/ |
D | README | 46 The i'th <block_pointer> for a file stores the byte offset of the 47 *end* of the i'th <block> (i.e. one past the last byte, which is the 48 same as the start of the (i+1)'th <block> if there is one). The first 73 <block>: The i'th <block> is the output of zlib's compress function 74 applied to the i'th blksize-sized chunk of the input data if the
|