Home
last modified time | relevance | path

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

1234567891011

/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_execbuffer.c51 FORCE_CPU_RELOC = 1,
107 * 1. Add a command to load the HW context. For Logical Ring Contexts, i.e.
134 * 1. Validation - Ensure all the pointers, handles and flags are valid.
258 struct i915_request *requests[MAX_ENGINE_INSTANCE + 1];
260 struct eb_vma *batches[MAX_ENGINE_INSTANCE + 1];
263 /** used for excl fence in dma_resv objects when > 1 BB submitted */
290 bool use_64bit_reloc : 1;
291 bool has_llc : 1;
292 bool has_fence : 1;
293 bool needs_unfenced : 1;
[all …]
/openbmc/linux/fs/btrfs/
H A Dlocking.c19 * eb, the lockdep key is determined by the btrfs_root it belongs to and
20 * the level the eb occupies in the tree.
50 DEFINE_LEVEL(stem, 1) \
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()
123 * @eb: the eb to be locked
129 void __btrfs_tree_read_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest) in __btrfs_tree_read_lock() argument
136 down_read_nested(&eb->lock, nest); in __btrfs_tree_read_lock()
[all …]
H A Dextent_io.c44 static inline void btrfs_leak_debug_add_eb(struct extent_buffer *eb) in btrfs_leak_debug_add_eb() argument
46 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_add_eb()
50 list_add(&eb->leak_list, &fs_info->allocated_ebs); in btrfs_leak_debug_add_eb()
54 static inline void btrfs_leak_debug_del_eb(struct extent_buffer *eb) in btrfs_leak_debug_del_eb() argument
56 struct btrfs_fs_info *fs_info = eb->fs_info; in btrfs_leak_debug_del_eb()
60 list_del(&eb->leak_list); in btrfs_leak_debug_del_eb()
66 struct extent_buffer *eb; in btrfs_extent_buffer_leak_debug_check() local
79 eb = list_first_entry(&fs_info->allocated_ebs, in btrfs_extent_buffer_leak_debug_check()
83 eb->start, eb->len, atomic_read(&eb->refs), eb->bflags, in btrfs_extent_buffer_leak_debug_check()
84 btrfs_header_owner(eb)); in btrfs_extent_buffer_leak_debug_check()
[all …]
H A Daccessors.c11 static bool check_setget_bounds(const struct extent_buffer *eb, in check_setget_bounds() argument
16 if (unlikely(member_offset + size > eb->len)) { in check_setget_bounds()
17 btrfs_warn(eb->fs_info, in check_setget_bounds()
18 "bad eb member %s: ptr 0x%lx start %llu member offset %lu size %d", in check_setget_bounds()
19 (member_offset > eb->len ? "start" : "end"), in check_setget_bounds()
20 (unsigned long)ptr, eb->start, member_offset, size); in check_setget_bounds()
27 void btrfs_init_map_token(struct btrfs_map_token *token, struct extent_buffer *eb) in btrfs_init_map_token() argument
29 token->eb = eb; in btrfs_init_map_token()
30 token->kaddr = page_address(eb->pages[0]); in btrfs_init_map_token()
64 const unsigned long oip = get_eb_offset_in_page(token->eb, \
[all …]
H A Dextent_io.h49 #define EXTENT_PAGE_PRIVATE 1
54 * 1. The bitmaps must be little-endian on disk.
59 #define BYTE_MASK ((1 << BITS_PER_BYTE) - 1)
61 ((BYTE_MASK << ((start) & (BITS_PER_BYTE - 1))) & BYTE_MASK)
63 (BYTE_MASK >> (-(nbits) & (BITS_PER_BYTE - 1)))
85 /* >= 0 if eb belongs to a log tree, -1 otherwise */
98 struct extent_buffer *eb; member
99 /* Block group @eb resides in. Only used for zoned mode. */
106 * @eb: target extent buffer
111 static inline size_t get_eb_offset_in_page(const struct extent_buffer *eb, in get_eb_offset_in_page() argument
[all …]
H A Dprint-tree.c52 static void print_chunk(const struct extent_buffer *eb, struct btrfs_chunk *chunk) in print_chunk() argument
54 int num_stripes = btrfs_chunk_num_stripes(eb, chunk); in print_chunk()
57 btrfs_chunk_length(eb, chunk), btrfs_chunk_owner(eb, chunk), in print_chunk()
58 btrfs_chunk_type(eb, chunk), num_stripes); in print_chunk()
61 btrfs_stripe_devid_nr(eb, chunk, i), in print_chunk()
62 btrfs_stripe_offset_nr(eb, chunk, i)); in print_chunk()
65 static void print_dev_item(const struct extent_buffer *eb, in print_dev_item() argument
69 btrfs_device_id(eb, dev_item), in print_dev_item()
70 btrfs_device_total_bytes(eb, dev_item), in print_dev_item()
71 btrfs_device_bytes_used(eb, dev_item)); in print_dev_item()
[all …]
H A Dtree-mod-log.c174 struct extent_buffer *eb) in tree_mod_dont_log() argument
178 if (eb && btrfs_header_level(eb) == 0) in tree_mod_dont_log()
192 struct extent_buffer *eb) in tree_mod_need_log() argument
196 if (eb && btrfs_header_level(eb) == 0) in tree_mod_need_log()
202 static struct tree_mod_elem *alloc_tree_mod_elem(struct extent_buffer *eb, in alloc_tree_mod_elem() argument
212 tm->logical = eb->start; in alloc_tree_mod_elem()
214 btrfs_node_key(eb, &tm->key, slot); in alloc_tree_mod_elem()
215 tm->blockptr = btrfs_node_blockptr(eb, slot); in alloc_tree_mod_elem()
219 tm->generation = btrfs_node_ptr_generation(eb, slot); in alloc_tree_mod_elem()
225 int btrfs_tree_mod_log_insert_key(struct extent_buffer *eb, int slot, in btrfs_tree_mod_log_insert_key() argument
[all …]
H A Duuid-tree.c30 struct extent_buffer *eb; in btrfs_uuid_tree_lookup() local
56 eb = path->nodes[0]; in btrfs_uuid_tree_lookup()
58 item_size = btrfs_item_size(eb, slot); in btrfs_uuid_tree_lookup()
59 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_lookup()
71 read_extent_buffer(eb, &data, offset, sizeof(data)); in btrfs_uuid_tree_lookup()
93 struct extent_buffer *eb; in btrfs_uuid_tree_add() local
119 eb = path->nodes[0]; in btrfs_uuid_tree_add()
121 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
128 eb = path->nodes[0]; in btrfs_uuid_tree_add()
130 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
[all …]
/openbmc/linux/fs/btrfs/tests/
H A Dextent-io-tests.c17 #define PROCESS_UNLOCK (1 << 0)
18 #define PROCESS_RELEASE (1 << 1)
19 #define PROCESS_TEST_LOCKED (1 << 2)
104 state->end + 1 - state->start, flags_str); in dump_extent_io_tree()
180 set_extent_bit(tmp, 0, sectorsize - 1, EXTENT_DELALLOC, NULL); in test_find_delalloc()
182 end = start + PAGE_SIZE - 1; in test_find_delalloc()
189 if (start != 0 || end != (sectorsize - 1)) { in test_find_delalloc()
191 sectorsize - 1, start, end); in test_find_delalloc()
211 set_extent_bit(tmp, sectorsize, max_bytes - 1, EXTENT_DELALLOC, NULL); in test_find_delalloc()
213 end = start + PAGE_SIZE - 1; in test_find_delalloc()
[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 …]
/openbmc/linux/drivers/bus/
H A Dintel-ixp4xx-eb.c58 #define IXP4XX_EXP_WR_EN BIT(1)
93 .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",
124 .max = 1,
128 .prop = "intel,ixp4xx-eb-hpi-hrdy-pol-high",
129 .max = 1,
[all …]
/openbmc/linux/arch/sh/include/mach-kfr2r09/mach/
H A Dpartner-jet-setup.txt35 WAIT 1
40 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
[all …]
/openbmc/linux/drivers/mtd/
H A Dmtdswap.c45 * Frequency value 6 means 1/6 of the GC passes will pick an erase block based
59 #define BLOCK_ERROR (UINT_MAX - 1)
62 #define EBLOCK_BAD (1 << 0)
63 #define EBLOCK_NOMAGIC (1 << 1)
64 #define EBLOCK_BITFLIP (1 << 2)
65 #define EBLOCK_FAILED (1 << 3)
66 #define EBLOCK_READERR (1 << 4)
136 #define MTDSWAP_MAGIC_DIRTY (MTDSWAP_MAGIC_CLEAN + 1)
138 #define MTDSWAP_TYPE_DIRTY 1
158 #define MIN_ERASE_BLOCKS (MIN_SPARE_EBLOCKS + 1)
[all …]
/openbmc/linux/arch/arm/boot/dts/intel/ixp/
H A Dintel-ixp42x-arcom-vulcan.dts16 #address-cells = <1>;
17 #size-cells = <1>;
55 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>;
[all …]
H A Dintel-ixp4xx-reference-design.dtsi31 #address-cells = <1>;
56 * command byte = 1 and address byte = 2 from the device
62 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>;
[all …]
H A Dintel-ixp42x-gateworks-gw2348.dts15 #address-cells = <1>;
16 #size-cells = <1>;
46 #address-cells = <1>;
72 intel,ixp4xx-eb-write-enable = <1>;
82 ide@1,0 {
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
[all …]
H A Dintel-ixp43x-gateworks-gw2358.dts13 #address-cells = <1>;
14 #size-cells = <1>;
46 #address-cells = <1>;
85 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
[all …]
/openbmc/linux/lib/
H A Dtest-string_helpers.c24 print_hex_dump(KERN_WARNING, "Input: ", DUMP_PREFIX_NONE, 16, 1, in test_string_check_buf()
26 print_hex_dump(KERN_WARNING, "Expected: ", DUMP_PREFIX_NONE, 16, 1, in test_string_check_buf()
28 print_hex_dump(KERN_WARNING, "Got: ", DUMP_PREFIX_NONE, 16, 1, in test_string_check_buf()
47 .in = "\\40\\1\\387\\0064\\05\\040\\8a\\110\\777",
106 test_string_check_buf(name, flags, in, p - 1, out_real, q_real, in test_string_unescape()
155 .in = "\eb \\C\007\"\x90\r]",
157 .out = "\eb \\C\007\"\x90\\r]",
160 .out = "\\eb \\\\C\\a\\\"\x90\r]",
163 .out = "\\eb \\\\C\\a\\\"\x90\\r]",
178 .out = "\eb \\C\007\"\x90\r]",
[all …]
/openbmc/linux/drivers/clk/sprd/
H A Dsc9860-clk.c26 6, 1, 0);
28 13, 1, 0);
29 static CLK_FIXED_FACTOR(fac_1m, "fac-1m", "ext-26m",
30 26, 1, 0);
32 104, 1, 0);
34 1, 1, 0);
36 1, 1, 0);
38 4, 1, 0);
40 25, 1, 0);
42 50, 1, 0);
[all …]
H A Dsc9863a-clk.c79 { .shift = 95, .width = 1 }, /* lock_done */
80 { .shift = 0, .width = 1 }, /* div_s */
81 { .shift = 1, .width = 1 }, /* mod_en */
82 { .shift = 2, .width = 1 }, /* sdm_en */
93 static CLK_FIXED_FACTOR_HW(twpll_768m, "twpll-768m", &twpll.common.hw, 2, 1, 0);
94 static CLK_FIXED_FACTOR_HW(twpll_384m, "twpll-384m", &twpll.common.hw, 4, 1, 0);
95 static CLK_FIXED_FACTOR_HW(twpll_192m, "twpll-192m", &twpll.common.hw, 8, 1, 0);
96 static CLK_FIXED_FACTOR_HW(twpll_96m, "twpll-96m", &twpll.common.hw, 16, 1, 0);
97 static CLK_FIXED_FACTOR_HW(twpll_48m, "twpll-48m", &twpll.common.hw, 32, 1, 0);
98 static CLK_FIXED_FACTOR_HW(twpll_24m, "twpll-24m", &twpll.common.hw, 64, 1, 0);
[all …]
H A Dums512-clk.c33 static CLK_FIXED_FACTOR_FW_NAME(clk_26m_aud, "clk-26m-aud", "ext-26m", 1, 1, 0);
34 static CLK_FIXED_FACTOR_FW_NAME(clk_13m, "clk-13m", "ext-26m", 2, 1, 0);
35 static CLK_FIXED_FACTOR_FW_NAME(clk_6m5, "clk-6m5", "ext-26m", 4, 1, 0);
36 static CLK_FIXED_FACTOR_FW_NAME(clk_4m3, "clk-4m3", "ext-26m", 6, 1, 0);
37 static CLK_FIXED_FACTOR_FW_NAME(clk_2m, "clk-2m", "ext-26m", 13, 1, 0);
38 static CLK_FIXED_FACTOR_FW_NAME(clk_1m, "clk-1m", "ext-26m", 26, 1, 0);
39 static CLK_FIXED_FACTOR_FW_NAME(clk_250k, "clk-250k", "ext-26m", 104, 1, 0);
40 static CLK_FIXED_FACTOR_FW_NAME(rco_25m, "rco-25m", "rco-100m", 4, 1, 0);
41 static CLK_FIXED_FACTOR_FW_NAME(rco_4m, "rco-4m", "rco-100m", 25, 1, 0);
42 static CLK_FIXED_FACTOR_FW_NAME(rco_2m, "rco-2m", "rco-100m", 50, 1, 0);
[all …]
/openbmc/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:
45 chip select. 0 = Intel cycles, 1 = Motorola cycles, 2 = HPI cycles.
47 enum: [0, 1, 2]
49 intel,ixp4xx-eb-byte-access-on-halfword:
52 enum: [0, 1]
[all …]
H A Dintel,ixp4xx-expansion-bus-controller.yaml33 maxItems: 1
49 const: 1
81 #size-cells = <1>;
83 <1 0x0 0x51000000 0x01000000>;
85 <1 0x0 0x51000000 0x01000000>;
90 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>;
[all …]
/openbmc/linux/drivers/mtd/tests/
H A Dstresstest.c45 unsigned int eb; in rand_eb() local
48 /* Read or write up 2 eraseblocks at a time - hence 'ebcnt - 1' */ in rand_eb()
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()
[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");
48 static int check = 1;
97 addr = (loff_t)(ebnum + 1) * mtd->erasesize - pgcnt * pgsize; in check_eraseblock()
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()
[all …]

1234567891011