Home
last modified time | relevance | path

Searched refs:deh (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/staging/tidspbridge/core/
Due_deh.c38 struct deh_mgr *deh = (void *)data; in mmu_fault_dpc() local
40 if (!deh) in mmu_fault_dpc()
43 bridge_deh_notify(deh, DSP_MMUFAULT, 0); in mmu_fault_dpc()
48 struct deh_mgr *deh = data; in mmu_fault_isr() local
52 if (!deh) in mmu_fault_isr()
55 resources = deh->bridge_context->resources; in mmu_fault_isr()
72 tasklet_schedule(&deh->dpc_tasklet); in mmu_fault_isr()
89 struct deh_mgr *deh; in bridge_deh_create() local
98 deh = kzalloc(sizeof(*deh), GFP_KERNEL); in bridge_deh_create()
99 if (!deh) { in bridge_deh_create()
[all …]
/linux-3.4.99/fs/reiserfs/
Ddir.c54 struct reiserfs_de_head *deh) in is_privroot_deh() argument
58 deh->deh_objectid == INODE_PKEY(privroot->d_inode)->k_objectid); in is_privroot_deh()
122 struct reiserfs_de_head *deh = in reiserfs_readdir_dentry() local
126 entry_num++, deh++) { in reiserfs_readdir_dentry()
131 loff_t cur_pos = deh_offset(deh); in reiserfs_readdir_dentry()
133 if (!de_visible(deh)) in reiserfs_readdir_dentry()
137 d_name = B_I_DEH_ENTRY_FILE_NAME(bh, ih, deh); in reiserfs_readdir_dentry()
159 if (is_privroot_deh(dentry, deh)) in reiserfs_readdir_dentry()
162 d_off = deh_offset(deh); in reiserfs_readdir_dentry()
164 d_ino = deh_objectid(deh); in reiserfs_readdir_dentry()
[all …]
Dlbalance.c34 struct reiserfs_de_head *deh; in leaf_copy_dir_entries() local
43 deh = B_I_DEH(source, ih); in leaf_copy_dir_entries()
45 copy_records_len = (from ? deh_location(&(deh[from - 1])) : in leaf_copy_dir_entries()
47 deh_location(&(deh[from + copy_count - 1])); in leaf_copy_dir_entries()
50 deh_location(&(deh[from + copy_count - 1])); in leaf_copy_dir_entries()
85 deh_offset(&(deh[from]))); in leaf_copy_dir_entries()
118 : 0, copy_count, deh + from, records, in leaf_copy_dir_entries()
968 struct reiserfs_de_head *deh; in leaf_cut_entries() local
988 deh = B_I_DEH(bh, ih); in leaf_cut_entries()
993 (from ? deh_location(&(deh[from - 1])) : ih_item_len(ih)); in leaf_cut_entries()
[all …]
Ditem_ops.c390 struct reiserfs_de_head *deh; in direntry_print_item() local
397 deh = (struct reiserfs_de_head *)item; in direntry_print_item()
399 for (i = 0; i < I_ENTRY_COUNT(ih); i++, deh++) { in direntry_print_item()
401 (i ? (deh_location(deh - 1)) : ih_item_len(ih)) - in direntry_print_item()
402 deh_location(deh); in direntry_print_item()
403 name = item + deh_location(deh); in direntry_print_item()
419 deh_dir_id(deh), deh_objectid(deh), in direntry_print_item()
420 GET_HASH_VALUE(deh_offset(deh)), in direntry_print_item()
421 GET_GENERATION_NUMBER((deh_offset(deh))), in direntry_print_item()
422 (de_hidden(deh)) ? "HIDDEN" : "VISIBLE"); in direntry_print_item()
[all …]
Dnamei.c30 struct reiserfs_de_head *deh = de->de_deh; in bin_search_in_dir_item() local
38 if (off < deh_offset(deh + j)) { in bin_search_in_dir_item()
42 if (off > deh_offset(deh + j)) { in bin_search_in_dir_item()
68 struct reiserfs_de_head *deh = de->de_deh + de->de_entry_num; in set_de_name_and_namelen() local
73 de->de_namelen = de->de_entrylen - (de_with_sd(deh) ? SD_SIZE : 0); in set_de_name_and_namelen()
74 de->de_name = B_I_PITEM(de->de_bh, de->de_ih) + deh_location(deh); in set_de_name_and_namelen()
89 struct reiserfs_de_head *deh = de->de_deh + de->de_entry_num; in store_de_entry_key() local
99 set_cpu_key_k_offset(&(de->de_entry_key), deh_offset(deh)); in store_de_entry_key()
217 struct reiserfs_de_head *deh = de->de_deh; in linear_search_in_dir_item() local
224 GET_HASH_VALUE(deh_offset(deh + i)) != in linear_search_in_dir_item()
[all …]
Dprints.c100 static void sprintf_de_head(char *buf, struct reiserfs_de_head *deh) in sprintf_de_head() argument
102 if (deh) in sprintf_de_head()
105 deh_offset(deh), deh_dir_id(deh), deh_objectid(deh), in sprintf_de_head()
106 deh_location(deh), deh_state(deh)); in sprintf_de_head()
Dreiserfs.h1709 #define mark_de_with_sd(deh) set_bit_unaligned (DEH_Statdata, &((deh)->deh_state)) argument
1710 #define mark_de_without_sd(deh) clear_bit_unaligned (DEH_Statdata, &((deh)->deh_state)) argument
1711 #define mark_de_visible(deh) set_bit_unaligned (DEH_Visible, &((deh)->deh_state)) argument
1712 #define mark_de_hidden(deh) clear_bit_unaligned (DEH_Visible, &((deh)->deh_state)) argument
1714 #define de_with_sd(deh) test_bit_unaligned (DEH_Statdata, &((deh)->deh_state)) argument
1715 #define de_visible(deh) test_bit_unaligned (DEH_Visible, &((deh)->deh_state)) argument
1716 #define de_hidden(deh) !test_bit_unaligned (DEH_Visible, &((deh)->deh_state)) argument
1741 struct reiserfs_de_head *deh; in entry_length() local
1743 deh = B_I_DEH(bh, ih) + pos_in_item; in entry_length()
1745 return deh_location(deh - 1) - deh_location(deh); in entry_length()
[all …]
/linux-3.4.99/drivers/staging/tidspbridge/include/dspbridge/
Ddspdeh.h34 int bridge_deh_destroy(struct deh_mgr *deh);
36 int bridge_deh_register_notify(struct deh_mgr *deh,
41 void bridge_deh_notify(struct deh_mgr *deh, int event, int info);