Home
last modified time | relevance | path

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

1234567

/linux/fs/btrfs/
H A Dprint-tree.c63 static void print_chunk(const struct extent_buffer *eb, struct btrfs_chunk *chunk) in print_chunk() argument
65 int num_stripes = btrfs_chunk_num_stripes(eb, chunk); in print_chunk()
68 btrfs_chunk_length(eb, chunk), btrfs_chunk_owner(eb, chunk), in print_chunk()
69 btrfs_chunk_type(eb, chunk), num_stripes); in print_chunk()
72 btrfs_stripe_devid_nr(eb, chunk, i), in print_chunk()
73 btrfs_stripe_offset_nr(eb, chunk, i)); in print_chunk()
76 static void print_dev_item(const struct extent_buffer *eb, in print_dev_item() argument
80 btrfs_device_id(eb, dev_item), in print_dev_item()
81 btrfs_device_total_bytes(eb, dev_item), in print_dev_item()
82 btrfs_device_bytes_used(eb, dev_item)); in print_dev_item()
[all …]
H A Dextent_io.c43 static inline void btrfs_leak_debug_add_eb(struct extent_buffer *eb) in btrfs_leak_debug_add_eb() argument
45 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_add_eb()
49 list_add(&eb->leak_list, &fs_info->allocated_ebs); in btrfs_leak_debug_add_eb()
53 static inline void btrfs_leak_debug_del_eb(struct extent_buffer *eb) in btrfs_leak_debug_del_eb() argument
55 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_del_eb()
59 list_del(&eb->leak_list); in btrfs_leak_debug_del_eb()
65 struct extent_buffer *eb; in btrfs_extent_buffer_leak_debug_check() local
78 eb = list_first_entry(&fs_info->allocated_ebs, in btrfs_extent_buffer_leak_debug_check()
82 eb->start, eb->len, refcount_read(&eb->refs), eb->bflags, in btrfs_extent_buffer_leak_debug_check()
83 btrfs_header_owner(eb)); in btrfs_extent_buffer_leak_debug_check()
[all …]
H A Dextent_io.h93 * The address where the eb can be accessed without any cross-page handling.
103 /* >= 0 if eb belongs to a log tree, -1 otherwise */
126 * Only used to mediate allocation, do not refer to the eb directly if not
127 * returned from a successful eb allocating API.
129 * The eb folios and bfs should generally not be fully attached, except briefly
133 struct extent_buffer *eb; member
135 /* eb alloc may use GFP_NOWAIT; caller can drop locks and retry. */
137 /* GFP_NOWAIT eb alloc failed; preallocate again and retry. */
143 struct extent_buffer *eb; member
144 /* Block group @eb resides in. Only used for zoned mode. */
[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 Duuid-tree.c31 struct extent_buffer *eb; in btrfs_uuid_tree_lookup() local
51 eb = path->nodes[0]; in btrfs_uuid_tree_lookup()
53 item_size = btrfs_item_size(eb, slot); in btrfs_uuid_tree_lookup()
54 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_lookup()
66 read_extent_buffer(eb, &data, offset, sizeof(data)); in btrfs_uuid_tree_lookup()
86 struct extent_buffer *eb; in btrfs_uuid_tree_add() local
105 eb = path->nodes[0]; in btrfs_uuid_tree_add()
107 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
114 eb = path->nodes[0]; in btrfs_uuid_tree_add()
116 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
[all …]
H A Dbackref.c37 const struct extent_buffer *eb, in check_extent_in_eb() argument
41 const u64 data_len = btrfs_file_extent_num_bytes(eb, fi); in check_extent_in_eb()
49 !btrfs_file_extent_compression(eb, fi) && in check_extent_in_eb()
50 !btrfs_file_extent_encryption(eb, fi) && in check_extent_in_eb()
51 !btrfs_file_extent_other_encoding(eb, fi)) { in check_extent_in_eb()
54 data_offset = btrfs_file_extent_offset(eb, fi); in check_extent_in_eb()
65 cached = ctx->cache_lookup(eb->start, ctx->user_ctx, &root_ids, in check_extent_in_eb()
105 const struct extent_buffer *eb, in find_extent_in_eb() argument
121 nritems = btrfs_header_nritems(eb); in find_extent_in_eb()
123 btrfs_item_key_to_cpu(eb, &key, slot); in find_extent_in_eb()
[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-io-tests.c342 static int check_eb_bitmap(unsigned long *bitmap, struct extent_buffer *eb) in check_eb_bitmap() argument
346 for (i = 0; i < eb->len * BITS_PER_BYTE; i++) { in check_eb_bitmap()
350 bit1_set = extent_buffer_test_bit(eb, 0, i); in check_eb_bitmap()
355 read_extent_buffer(eb, &has, i / BITS_PER_BYTE, 1); in check_eb_bitmap()
364 bit1_set = extent_buffer_test_bit(eb, i / BITS_PER_BYTE, in check_eb_bitmap()
370 read_extent_buffer(eb, &has, i / BITS_PER_BYTE, 1); in check_eb_bitmap()
384 struct extent_buffer *eb, in test_bitmap_set() argument
391 extent_buffer_bitmap_set(eb, byte_start, bit_start, bit_len); in test_bitmap_set()
392 ret = check_eb_bitmap(bitmap, eb); in test_bitmap_set()
399 struct extent_buffer *eb, in test_bitmap_clear() argument
[all …]
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/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 …]
H A Dums512-clk.c405 static SPRD_SC_GATE_CLK_FW_NAME(dsi_eb, "dsi-eb", "ext-26m",
407 static SPRD_SC_GATE_CLK_FW_NAME(dispc_eb, "dispc-eb", "ext-26m",
409 static SPRD_SC_GATE_CLK_FW_NAME(vsp_eb, "vsp-eb", "ext-26m",
411 static SPRD_SC_GATE_CLK_FW_NAME(vdma_eb, "vdma-eb", "ext-26m",
413 static SPRD_SC_GATE_CLK_FW_NAME(dma_pub_eb, "dma-pub-eb", "ext-26m",
415 static SPRD_SC_GATE_CLK_FW_NAME(dma_sec_eb, "dma-sec-eb", "ext-26m",
417 static SPRD_SC_GATE_CLK_FW_NAME(ipi_eb, "ipi-eb", "ext-26m",
419 static SPRD_SC_GATE_CLK_FW_NAME(ahb_ckg_eb, "ahb-ckg-eb", "ext-26m",
421 static SPRD_SC_GATE_CLK_FW_NAME(bm_clk_eb, "bm-clk-eb", "ext-26m",
1133 static SPRD_SC_GATE_CLK_FW_NAME(rc100m_cal_eb, "rc100m-cal-eb", "ext-26m",
[all …]
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dintel,ixp4xx-expansion-peripheral-props.yaml18 intel,ixp4xx-eb-t1:
23 intel,ixp4xx-eb-t2:
28 intel,ixp4xx-eb-t3:
33 intel,ixp4xx-eb-t4:
38 intel,ixp4xx-eb-t5:
43 intel,ixp4xx-eb-cycle-type:
49 intel,ixp4xx-eb-byte-access-on-halfword:
54 intel,ixp4xx-eb-hpi-hrdy-pol-high:
59 intel,ixp4xx-eb-mux-address-and-data:
64 intel,ixp4xx-eb-ahb-split-transfers:
[all …]
H A Dintel,ixp4xx-expansion-bus-controller.yaml90 intel,ixp4xx-eb-t3 = <3>;
91 intel,ixp4xx-eb-cycle-type = <0>;
92 intel,ixp4xx-eb-byte-access-on-halfword = <1>;
93 intel,ixp4xx-eb-write-enable = <1>;
94 intel,ixp4xx-eb-byte-access = <0>;
102 intel,ixp4xx-eb-t3 = <3>;
103 intel,ixp4xx-eb-cycle-type = <1>;
104 intel,ixp4xx-eb-write-enable = <1>;
105 intel,ixp4xx-eb-byte-access = <1>;
/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 …]
/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 …]
/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 …]

1234567