Home
last modified time | relevance | path

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

1234567

/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_execbuffer.c320 static int eb_parse(struct i915_execbuffer *eb);
321 static int eb_pin_engine(struct i915_execbuffer *eb, bool throttle);
322 static void eb_unpin_engine(struct i915_execbuffer *eb);
323 static void eb_capture_release(struct i915_execbuffer *eb);
325 static bool eb_use_cmdparser(const struct i915_execbuffer *eb) in eb_use_cmdparser() argument
327 return intel_engine_requires_cmd_parser(eb->context->engine) || in eb_use_cmdparser()
328 (intel_engine_using_cmd_parser(eb->context->engine) && in eb_use_cmdparser()
329 eb->args->batch_len); in eb_use_cmdparser()
332 static int eb_create(struct i915_execbuffer *eb) in eb_create() argument
334 if (!(eb->args->flags & I915_EXEC_HANDLE_LUT)) { in eb_create()
[all …]
/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.c42 static inline void btrfs_leak_debug_add_eb(struct extent_buffer *eb) in btrfs_leak_debug_add_eb() argument
44 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_add_eb()
48 list_add(&eb->leak_list, &fs_info->allocated_ebs); in btrfs_leak_debug_add_eb()
52 static inline void btrfs_leak_debug_del_eb(struct extent_buffer *eb) in btrfs_leak_debug_del_eb() argument
54 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_del_eb()
58 list_del(&eb->leak_list); in btrfs_leak_debug_del_eb()
64 struct extent_buffer *eb; in btrfs_extent_buffer_leak_debug_check() local
77 eb = list_first_entry(&fs_info->allocated_ebs, in btrfs_extent_buffer_leak_debug_check()
81 eb->start, eb->len, refcount_read(&eb->refs), eb->bflags, in btrfs_extent_buffer_leak_debug_check()
82 btrfs_header_owner(eb)); in btrfs_extent_buffer_leak_debug_check()
[all …]
H A Dextent_io.h94 * The address where the eb can be accessed without any cross-page handling.
104 /* >= 0 if eb belongs to a log tree, -1 otherwise */
125 struct extent_buffer *eb; member
126 /* Block group @eb resides in. Only used for zoned mode. */
130 static inline unsigned long offset_in_eb_folio(const struct extent_buffer *eb, in offset_in_eb_folio() argument
133 ASSERT(eb->folio_size); in offset_in_eb_folio()
134 return start & (eb->folio_size - 1); in offset_in_eb_folio()
140 * @eb: target extent buffer
145 static inline size_t get_eb_offset_in_folio(const struct extent_buffer *eb, in get_eb_offset_in_folio() argument
150 * 1.1) One large folio covering the whole eb in get_eb_offset_in_folio()
[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/drivers/mtd/
H A Dmtdswap.c184 static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_offset() argument
186 return (loff_t)(eb - d->eb_data) * d->mtd->erasesize; in mtdswap_eb_offset()
189 static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_detach() argument
194 if (eb->root) { in mtdswap_eb_detach()
195 tp = container_of(eb->root, struct mtdswap_tree, root); in mtdswap_eb_detach()
199 rb_erase(&eb->rb, eb->root); in mtdswap_eb_detach()
203 static void __mtdswap_rb_add(struct rb_root *root, struct swap_eb *eb) in __mtdswap_rb_add() argument
212 if (eb->erase_count > cur->erase_count) in __mtdswap_rb_add()
218 rb_link_node(&eb->rb, parent, p); in __mtdswap_rb_add()
219 rb_insert_color(&eb->rb, root); in __mtdswap_rb_add()
[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/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/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