Home
last modified time | relevance | path

Searched full:eb (Results 1 – 25 of 164) sorted by relevance

1234567

/linux/fs/btrfs/
H A Dlocking.c18 * eb, the lockdep key is determined by the btrfs_root it belongs to and
19 * the level the eb occupies in the tree.
82 void btrfs_set_buffer_lockdep_class(u64 objectid, struct extent_buffer *eb, int level) in btrfs_set_buffer_lockdep_class() argument
93 lockdep_set_class_and_name(&eb->lock, &ks->keys[level], ks->names[level]); in btrfs_set_buffer_lockdep_class()
96 void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root, struct extent_buffer *eb) in btrfs_maybe_reset_lockdep_class() argument
100 eb, btrfs_header_level(eb)); in btrfs_maybe_reset_lockdep_class()
106 static void btrfs_set_eb_lock_owner(struct extent_buffer *eb, pid_t owner) in btrfs_set_eb_lock_owner() argument
108 eb->lock_owner = owner; in btrfs_set_eb_lock_owner()
111 static void btrfs_set_eb_lock_owner(struct extent_buffer *eb, pid_t owner) { } in btrfs_set_eb_lock_owner() argument
132 * @eb: the eb to be locked
[all …]
H A Dextent_io.c41 static inline void btrfs_leak_debug_add_eb(struct extent_buffer *eb) in btrfs_leak_debug_add_eb() argument
43 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_add_eb()
47 list_add(&eb->leak_list, &fs_info->allocated_ebs); in btrfs_leak_debug_add_eb()
51 static inline void btrfs_leak_debug_del_eb(struct extent_buffer *eb) in btrfs_leak_debug_del_eb() argument
53 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_del_eb()
57 list_del(&eb->leak_list); in btrfs_leak_debug_del_eb()
63 struct extent_buffer *eb; in btrfs_extent_buffer_leak_debug_check() local
76 eb = list_first_entry(&fs_info->allocated_ebs, in btrfs_extent_buffer_leak_debug_check()
80 eb->start, eb->len, refcount_read(&eb->refs), eb->bflags, in btrfs_extent_buffer_leak_debug_check()
81 btrfs_header_owner(eb)); in btrfs_extent_buffer_leak_debug_check()
[all …]
H A Dtree-mod-log.c178 static inline bool skip_eb_logging(const struct extent_buffer *eb) in skip_eb_logging() argument
180 const u64 owner = btrfs_header_owner(eb); in skip_eb_logging()
182 if (btrfs_header_level(eb) == 0) in skip_eb_logging()
208 static bool tree_mod_dont_log(struct btrfs_fs_info *fs_info, const struct extent_buffer *eb) in tree_mod_dont_log() argument
212 if (eb && skip_eb_logging(eb)) in tree_mod_dont_log()
226 const struct extent_buffer *eb) in tree_mod_need_log() argument
230 if (eb && skip_eb_logging(eb)) in tree_mod_need_log()
236 static struct tree_mod_elem *alloc_tree_mod_elem(const struct extent_buffer *eb, in alloc_tree_mod_elem() argument
250 tm->logical = eb->start; in alloc_tree_mod_elem()
251 btrfs_node_key(eb, &tm->slot_change.key, slot); in alloc_tree_mod_elem()
[all …]
H A Daccessors.c12 static void __cold report_setget_bounds(const struct extent_buffer *eb, in report_setget_bounds() argument
17 btrfs_warn(eb->fs_info, in report_setget_bounds()
18 "bad eb member %s: ptr 0x%lx start %llu member offset %lu size %d", in report_setget_bounds()
19 (member_offset > eb->len ? "start" : "end"), in report_setget_bounds()
20 (unsigned long)ptr, eb->start, member_offset, size); in report_setget_bounds()
52 u##bits btrfs_get_##bits(const struct extent_buffer *eb, \
56 const unsigned long idx = get_eb_folio_index(eb, member_offset);\
57 const unsigned long oif = get_eb_offset_in_folio(eb, \
59 char *kaddr = folio_address(eb->folios[idx]) + oif; \
60 const int part = eb->folio_size - oif; \
[all …]
H A Dlocking.h175 void btrfs_tree_lock_nested(struct extent_buffer *eb, enum btrfs_lock_nesting nest);
177 static inline void btrfs_tree_lock(struct extent_buffer *eb) in btrfs_tree_lock() argument
179 btrfs_tree_lock_nested(eb, BTRFS_NESTING_NORMAL); in btrfs_tree_lock()
182 void btrfs_tree_unlock(struct extent_buffer *eb);
184 void btrfs_tree_read_lock_nested(struct extent_buffer *eb, enum btrfs_lock_nesting nest);
186 static inline void btrfs_tree_read_lock(struct extent_buffer *eb) in btrfs_tree_read_lock() argument
188 btrfs_tree_read_lock_nested(eb, BTRFS_NESTING_NORMAL); in btrfs_tree_read_lock()
191 void btrfs_tree_read_unlock(struct extent_buffer *eb);
192 bool btrfs_try_tree_read_lock(struct extent_buffer *eb);
198 static inline void btrfs_assert_tree_write_locked(struct extent_buffer *eb) in btrfs_assert_tree_write_locked() argument
[all …]
H A Dtree-checker.c56 static void generic_err(const struct extent_buffer *eb, int slot, in generic_err() argument
59 const struct btrfs_fs_info *fs_info = eb->fs_info; in generic_err()
68 dump_page(folio_page(eb->folios[0], 0), "eb page dump"); in generic_err()
71 btrfs_header_level(eb) == 0 ? "leaf" : "node", in generic_err()
72 btrfs_header_owner(eb), btrfs_header_bytenr(eb), slot, &vaf); in generic_err()
82 static void file_extent_err(const struct extent_buffer *eb, int slot, in file_extent_err() argument
85 const struct btrfs_fs_info *fs_info = eb->fs_info; in file_extent_err()
90 btrfs_item_key_to_cpu(eb, &key, slot); in file_extent_err()
96 dump_page(folio_page(eb->folios[0], 0), "eb page dump"); in file_extent_err()
99 btrfs_header_level(eb) == 0 ? "leaf" : "node", in file_extent_err()
[all …]
H A Drelocation.c587 struct extent_buffer *eb; in create_reloc_root() local
622 ret = btrfs_copy_root(trans, root, root->commit_root, &eb, in create_reloc_root()
645 ret = btrfs_copy_root(trans, root, root->node, &eb, in create_reloc_root()
657 btrfs_set_root_bytenr(root_item, eb->start); in create_reloc_root()
658 btrfs_set_root_level(root_item, btrfs_header_level(eb)); in create_reloc_root()
668 btrfs_tree_unlock(eb); in create_reloc_root()
669 free_extent_buffer(eb); in create_reloc_root()
986 static noinline_for_stack int memcmp_node_keys(const struct extent_buffer *eb, in memcmp_node_keys() argument
992 btrfs_node_key(eb, &key1, slot); in memcmp_node_keys()
1013 struct extent_buffer *eb; in replace_path() local
[all …]
/linux/drivers/bus/
H A Dintel-ixp4xx-eb.c93 .prop = "intel,ixp4xx-eb-t1",
99 .prop = "intel,ixp4xx-eb-t2",
105 .prop = "intel,ixp4xx-eb-t3",
111 .prop = "intel,ixp4xx-eb-t4",
117 .prop = "intel,ixp4xx-eb-t5",
123 .prop = "intel,ixp4xx-eb-byte-access-on-halfword",
128 .prop = "intel,ixp4xx-eb-hpi-hrdy-pol-high",
133 .prop = "intel,ixp4xx-eb-mux-address-and-data",
138 .prop = "intel,ixp4xx-eb-ahb-split-transfers",
143 .prop = "intel,ixp4xx-eb-write-enable",
[all …]
/linux/arch/sh/include/mach-kfr2r09/mach/
H A Dpartner-jet-setup.txt40 EB 0xa4050120, 0x00
41 EB 0xa4050122, 0x00
42 EB 0xa4050124, 0x00
43 EB 0xa4050126, 0x00
44 EB 0xa4050128, 0xA0
45 EB 0xa405012A, 0x10
46 EB 0xa405012C, 0x00
47 EB 0xa405012E, 0x00
48 EB 0xa4050130, 0x00
49 EB 0xa4050132, 0x00
[all …]
/linux/fs/btrfs/tests/
H A Dextent-buffer-tests.c18 struct extent_buffer *eb; in test_btrfs_split_item() local
51 eb = alloc_dummy_extent_buffer(fs_info, nodesize); in test_btrfs_split_item()
52 path->nodes[0] = eb; in test_btrfs_split_item()
53 if (!eb) { in test_btrfs_split_item()
65 * Passing a NULL trans handle is fine here, we have a dummy root eb in test_btrfs_split_item()
69 write_extent_buffer(eb, value, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item()
89 btrfs_item_key_to_cpu(eb, &key, 0); in test_btrfs_split_item()
97 if (btrfs_item_size(eb, 0) != strlen(split1)) { in test_btrfs_split_item()
103 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item()
113 btrfs_item_key_to_cpu(eb, &key, 1); in test_btrfs_split_item()
[all …]
/linux/fs/xfs/
H A Dxfs_extent_busy.c38 struct xfs_extent_busy_tree *eb = xg->xg_busy_extents; in xfs_extent_busy_insert_list() local
55 spin_lock(&eb->eb_lock); in xfs_extent_busy_insert_list()
56 rbp = &eb->eb_tree.rb_node; in xfs_extent_busy_insert_list()
73 rb_insert_color(&new->rb_node, &eb->eb_tree); in xfs_extent_busy_insert_list()
77 spin_unlock(&eb->eb_lock); in xfs_extent_busy_insert_list()
117 struct xfs_extent_busy_tree *eb = xg->xg_busy_extents; in xfs_extent_busy_search() local
123 spin_lock(&eb->eb_lock); in xfs_extent_busy_search()
124 rbp = eb->eb_tree.rb_node; in xfs_extent_busy_search()
143 spin_unlock(&eb->eb_lock); in xfs_extent_busy_search()
165 __releases(&eb->eb_lock) in xfs_extent_busy_update_extent()
[all …]
/linux/drivers/clk/sprd/
H A Dsc9863a-clk.c1054 static SPRD_SC_GATE_CLK_HW(otg_eb, "otg-eb", &ap_axi.common.hw, 0x0, 0x1000,
1056 static SPRD_SC_GATE_CLK_HW(dma_eb, "dma-eb", &ap_axi.common.hw, 0x0, 0x1000,
1058 static SPRD_SC_GATE_CLK_HW(ce_eb, "ce-eb", &ap_axi.common.hw, 0x0, 0x1000,
1060 static SPRD_SC_GATE_CLK_HW(nandc_eb, "nandc-eb", &ap_axi.common.hw, 0x0, 0x1000,
1062 static SPRD_SC_GATE_CLK_HW(sdio0_eb, "sdio0-eb", &ap_axi.common.hw, 0x0, 0x1000,
1064 static SPRD_SC_GATE_CLK_HW(sdio1_eb, "sdio1-eb", &ap_axi.common.hw, 0x0, 0x1000,
1066 static SPRD_SC_GATE_CLK_HW(sdio2_eb, "sdio2-eb", &ap_axi.common.hw, 0x0, 0x1000,
1068 static SPRD_SC_GATE_CLK_HW(emmc_eb, "emmc-eb", &ap_axi.common.hw, 0x0, 0x1000,
1070 static SPRD_SC_GATE_CLK_HW(emmc_32k_eb, "emmc-32k-eb", &ap_axi.common.hw, 0x0,
1072 static SPRD_SC_GATE_CLK_HW(sdio0_32k_eb, "sdio0-32k-eb", &ap_axi.common.hw, 0x0,
[all …]
H A Dsc9860-clk.c753 static SPRD_SC_GATE_CLK(usb3_eb, "usb3-eb", "ap-axi", 0x0,
757 static SPRD_SC_GATE_CLK(usb3_ref_eb, "usb3-ref-eb", "ap-axi", 0x0,
759 static SPRD_SC_GATE_CLK(dma_eb, "dma-eb", "ap-axi", 0x0,
761 static SPRD_SC_GATE_CLK(sdio0_eb, "sdio0-eb", "ap-axi", 0x0,
763 static SPRD_SC_GATE_CLK(sdio1_eb, "sdio1-eb", "ap-axi", 0x0,
765 static SPRD_SC_GATE_CLK(sdio2_eb, "sdio2-eb", "ap-axi", 0x0,
767 static SPRD_SC_GATE_CLK(emmc_eb, "emmc-eb", "ap-axi", 0x0,
769 static SPRD_SC_GATE_CLK(rom_eb, "rom-eb", "ap-axi", 0x0,
771 static SPRD_SC_GATE_CLK(busmon_eb, "busmon-eb", "ap-axi", 0x0,
773 static SPRD_SC_GATE_CLK(cc63s_eb, "cc63s-eb", "ap-axi", 0x0,
[all …]
/linux/drivers/mtd/tests/
H A Dstresstest.c45 unsigned int eb; in rand_eb() local
49 eb = get_random_u32_below(ebcnt - 1); in rand_eb()
50 if (bbt[eb]) in rand_eb()
52 return eb; in rand_eb()
67 int eb = rand_eb(); in do_read() local
72 if (bbt[eb + 1]) { in do_read()
78 addr = (loff_t)eb * mtd->erasesize + offs; in do_read()
84 int eb = rand_eb(), offs, err, len; in do_write() local
87 offs = offsets[eb]; in do_write()
89 err = mtdtest_erase_eraseblock(mtd, eb); in do_write()
[all …]
H A Dtorturetest.c28 static int eb = 8; variable
29 module_param(eb, int, S_IRUGO);
30 MODULE_PARM_DESC(eb, "eraseblock number within the selected MTD device");
104 pr_err("single bit flip occurred at EB %d " in check_eraseblock()
107 pr_err("error %d while reading EB %d, " in check_eraseblock()
113 pr_err("failed to read %zd bytes from EB %d, " in check_eraseblock()
120 pr_err("read wrong data from EB %d\n", ebnum); in check_eraseblock()
126 pr_info("re-try reading data from EB %d\n", in check_eraseblock()
156 pr_err("error %d while writing EB %d, written %zd" in write_pattern()
187 ebcnt, eb, eb + ebcnt - 1, dev); in tort_init()
[all …]
H A Dmtd_test.c22 pr_info("error %d while erasing EB %d\n", err, ebnum); in mtdtest_erase_eraseblock()
43 unsigned int eb, int ebcnt) in mtdtest_scan_for_bad_eraseblocks() argument
52 bbt[i] = is_block_bad(mtd, eb + i) ? 1 : 0; in mtdtest_scan_for_bad_eraseblocks()
64 unsigned int eb, int ebcnt) in mtdtest_erase_good_eraseblocks() argument
72 err = mtdtest_erase_eraseblock(mtd, eb + i); in mtdtest_erase_good_eraseblocks()
/linux/arch/arm/boot/dts/intel/ixp/
H A Dintel-ixp42x-arcom-vulcan.dts55 intel,ixp4xx-eb-t3 = <3>;
56 intel,ixp4xx-eb-byte-access-on-halfword = <1>;
57 intel,ixp4xx-eb-write-enable = <1>;
71 intel,ixp4xx-eb-t3 = <1>;
72 intel,ixp4xx-eb-t4 = <2>;
73 intel,ixp4xx-eb-ahb-split-transfers = <1>;
74 intel,ixp4xx-eb-write-enable = <1>;
75 intel,ixp4xx-eb-byte-access = <1>;
90 intel,ixp4xx-eb-t3 = <3>;
91 intel,ixp4xx-eb-cycle-type = <1>; /* Motorola cycles */
[all …]
H A Dintel-ixp4xx-reference-design.dtsi62 intel,ixp4xx-eb-t1 = <0>;
63 intel,ixp4xx-eb-t2 = <0>;
64 intel,ixp4xx-eb-t3 = <1>; // 1 cycle extra strobe phase
65 intel,ixp4xx-eb-t4 = <0>;
66 intel,ixp4xx-eb-t5 = <0>;
67 intel,ixp4xx-eb-cycle-type = <0>; // Intel cycle type
68 intel,ixp4xx-eb-byte-access-on-halfword = <0>;
69 intel,ixp4xx-eb-mux-address-and-data = <0>;
70 intel,ixp4xx-eb-ahb-split-transfers = <0>;
71 intel,ixp4xx-eb-write-enable = <1>;
[all …]
H A Dintel-ixp42x-gateworks-gw2348.dts72 intel,ixp4xx-eb-write-enable = <1>;
89 intel,ixp4xx-eb-t1 = <3>; // 3 cycles extra address phase
90 intel,ixp4xx-eb-t2 = <3>; // 3 cycles extra setup phase
91 intel,ixp4xx-eb-t3 = <15>; // 15 cycles extra strobe phase
92 intel,ixp4xx-eb-t4 = <3>; // 3 cycles extra hold phase
93 intel,ixp4xx-eb-t5 = <15>; // 15 cycles extra recovery phase
94 intel,ixp4xx-eb-cycle-type = <0>; // Intel cycle type
95 intel,ixp4xx-eb-byte-access-on-halfword = <1>;
96 intel,ixp4xx-eb-mux-address-and-data = <0>;
97 intel,ixp4xx-eb-ahb-split-transfers = <0>;
[all …]
H A Dintel-ixp42x-usrobotics-usr8200.dts91 intel,ixp4xx-eb-write-enable = <1>;
109 intel,ixp4xx-eb-t1 = <0>; // no cycles extra address phase
110 intel,ixp4xx-eb-t2 = <0>; // no cycles extra setup phase
111 intel,ixp4xx-eb-t3 = <15>; // 15 cycles extra strobe phase
112 intel,ixp4xx-eb-t4 = <3>; // 3 cycles extra hold phase
113 intel,ixp4xx-eb-t5 = <15>; // 15 cycles extra recovery phase
114 intel,ixp4xx-eb-cycle-type = <0>; // Intel cycle
115 intel,ixp4xx-eb-byte-access-on-halfword = <0>;
116 intel,ixp4xx-eb-mux-address-and-data = <0>;
117 intel,ixp4xx-eb-ahb-split-transfers = <0>;
[all …]
H A Dintel-ixp43x-gateworks-gw2358.dts85 intel,ixp4xx-eb-write-enable = <1>;
105 intel,ixp4xx-eb-t1 = <3>; // 3 cycles extra address phase
106 intel,ixp4xx-eb-t2 = <3>; // 3 cycles extra setup phase
107 intel,ixp4xx-eb-t3 = <15>; // 15 cycles extra strobe phase
108 intel,ixp4xx-eb-t4 = <3>; // 3 cycles extra hold phase
109 intel,ixp4xx-eb-t5 = <15>; // 15 cycles extra recovery phase
110 intel,ixp4xx-eb-cycle-type = <0>; // Intel cycle type
111 intel,ixp4xx-eb-byte-access-on-halfword = <1>;
112 intel,ixp4xx-eb-mux-address-and-data = <0>;
113 intel,ixp4xx-eb-ahb-split-transfers = <0>;
[all …]
/linux/arch/arm/boot/dts/arm/
H A DMakefile12 arm-realview-eb.dtb \
13 arm-realview-eb-bbrevd.dtb \
14 arm-realview-eb-11mp.dtb \
15 arm-realview-eb-11mp-bbrevd.dtb \
16 arm-realview-eb-11mp-ctrevb.dtb \
17 arm-realview-eb-11mp-bbrevd-ctrevb.dtb \
18 arm-realview-eb-a9mp.dtb \
19 arm-realview-eb-a9mp-bbrevd.dtb \
/linux/tools/arch/x86/lib/
H A Dx86-opcode-map.txt51 00: ADD Eb,Gb
53 02: ADD Gb,Eb
59 08: OR Eb,Gb
61 0a: OR Gb,Eb
68 10: ADC Eb,Gb
70 12: ADC Gb,Eb
76 18: SBB Eb,Gb
78 1a: SBB Gb,Eb
85 20: AND Eb,Gb
87 22: AND Gb,Eb
[all …]
/linux/arch/x86/lib/
H A Dx86-opcode-map.txt51 00: ADD Eb,Gb
53 02: ADD Gb,Eb
59 08: OR Eb,Gb
61 0a: OR Gb,Eb
68 10: ADC Eb,Gb
70 12: ADC Gb,Eb
76 18: SBB Eb,Gb
78 1a: SBB Gb,Eb
85 20: AND Eb,Gb
87 22: AND Gb,Eb
[all …]
/linux/drivers/iommu/
H A Dsprd-iommu.c63 * @eb: gate clock which controls IOMMU access
73 struct clk *eb; member
441 struct clk *eb; in sprd_iommu_clk_enable() local
443 eb = devm_clk_get_optional(sdev->dev, NULL); in sprd_iommu_clk_enable()
444 if (!eb) in sprd_iommu_clk_enable()
447 if (IS_ERR(eb)) in sprd_iommu_clk_enable()
448 return PTR_ERR(eb); in sprd_iommu_clk_enable()
450 sdev->eb = eb; in sprd_iommu_clk_enable()
451 return clk_prepare_enable(eb); in sprd_iommu_clk_enable()
456 if (sdev->eb) in sprd_iommu_clk_disable()
[all …]

1234567