/linux-6.12.1/fs/btrfs/ |
D | extent_io.c | 41 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, atomic_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 …]
|
D | accessors.c | 12 static bool check_setget_bounds(const struct extent_buffer *eb, in check_setget_bounds() argument 17 if (unlikely(member_offset + size > eb->len)) { in check_setget_bounds() 18 btrfs_warn(eb->fs_info, in check_setget_bounds() 19 "bad eb member %s: ptr 0x%lx start %llu member offset %lu size %d", in check_setget_bounds() 20 (member_offset > eb->len ? "start" : "end"), in check_setget_bounds() 21 (unsigned long)ptr, eb->start, member_offset, size); in check_setget_bounds() 28 void btrfs_init_map_token(struct btrfs_map_token *token, struct extent_buffer *eb) in btrfs_init_map_token() argument 30 token->eb = eb; in btrfs_init_map_token() 31 token->kaddr = folio_address(eb->folios[0]); in btrfs_init_map_token() 64 const unsigned long idx = get_eb_folio_index(token->eb, member_offset); \ [all …]
|
D | extent_io.h | 72 #define EXTENT_FOLIO_PRIVATE 1 77 * 1. The bitmaps must be little-endian on disk. 82 #define BYTE_MASK ((1 << BITS_PER_BYTE) - 1) 84 ((BYTE_MASK << ((start) & (BITS_PER_BYTE - 1))) & BYTE_MASK) 86 (BYTE_MASK >> (-(nbits) & (BITS_PER_BYTE - 1))) 101 * The address where the eb can be accessed without any cross-page handling. 109 /* >= 0 if eb belongs to a log tree, -1 otherwise */ 130 struct extent_buffer *eb; member 131 /* Block group @eb resides in. Only used for zoned mode. */ 135 static inline unsigned long offset_in_eb_folio(const struct extent_buffer *eb, in offset_in_eb_folio() argument [all …]
|
D | locking.c | 19 * 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) \ 83 void btrfs_set_buffer_lockdep_class(u64 objectid, struct extent_buffer *eb, int level) in btrfs_set_buffer_lockdep_class() argument 94 lockdep_set_class_and_name(&eb->lock, &ks->keys[level], ks->names[level]); in btrfs_set_buffer_lockdep_class() 97 void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root, struct extent_buffer *eb) in btrfs_maybe_reset_lockdep_class() argument 101 eb, btrfs_header_level(eb)); in btrfs_maybe_reset_lockdep_class() 107 static void btrfs_set_eb_lock_owner(struct extent_buffer *eb, pid_t owner) in btrfs_set_eb_lock_owner() argument 109 eb->lock_owner = owner; in btrfs_set_eb_lock_owner() 112 static void btrfs_set_eb_lock_owner(struct extent_buffer *eb, pid_t owner) { } in btrfs_set_eb_lock_owner() argument [all …]
|
D | print-tree.c | 55 static void print_chunk(const struct extent_buffer *eb, struct btrfs_chunk *chunk) in print_chunk() argument 57 int num_stripes = btrfs_chunk_num_stripes(eb, chunk); in print_chunk() 60 btrfs_chunk_length(eb, chunk), btrfs_chunk_owner(eb, chunk), in print_chunk() 61 btrfs_chunk_type(eb, chunk), num_stripes); in print_chunk() 64 btrfs_stripe_devid_nr(eb, chunk, i), in print_chunk() 65 btrfs_stripe_offset_nr(eb, chunk, i)); in print_chunk() 68 static void print_dev_item(const struct extent_buffer *eb, in print_dev_item() argument 72 btrfs_device_id(eb, dev_item), in print_dev_item() 73 btrfs_device_total_bytes(eb, dev_item), in print_dev_item() 74 btrfs_device_bytes_used(eb, dev_item)); in print_dev_item() [all …]
|
D | tree-mod-log.c | 173 static bool tree_mod_dont_log(struct btrfs_fs_info *fs_info, const struct extent_buffer *eb) in tree_mod_dont_log() argument 177 if (eb && btrfs_header_level(eb) == 0) in tree_mod_dont_log() 191 const struct extent_buffer *eb) in tree_mod_need_log() argument 195 if (eb && btrfs_header_level(eb) == 0) in tree_mod_need_log() 201 static struct tree_mod_elem *alloc_tree_mod_elem(const struct extent_buffer *eb, in alloc_tree_mod_elem() argument 211 tm->logical = eb->start; in alloc_tree_mod_elem() 213 btrfs_node_key(eb, &tm->key, slot); in alloc_tree_mod_elem() 214 tm->blockptr = btrfs_node_blockptr(eb, slot); in alloc_tree_mod_elem() 218 tm->generation = btrfs_node_ptr_generation(eb, slot); in alloc_tree_mod_elem() 224 int btrfs_tree_mod_log_insert_key(const struct extent_buffer *eb, int slot, in btrfs_tree_mod_log_insert_key() argument [all …]
|
D | uuid-tree.c | 31 struct extent_buffer *eb; in btrfs_uuid_tree_lookup() local 57 eb = path->nodes[0]; in btrfs_uuid_tree_lookup() 59 item_size = btrfs_item_size(eb, slot); in btrfs_uuid_tree_lookup() 60 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_lookup() 72 read_extent_buffer(eb, &data, offset, sizeof(data)); in btrfs_uuid_tree_lookup() 94 struct extent_buffer *eb; in btrfs_uuid_tree_add() local 120 eb = path->nodes[0]; in btrfs_uuid_tree_add() 122 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add() 129 eb = path->nodes[0]; in btrfs_uuid_tree_add() 131 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add() [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/ |
D | i915_gem_execbuffer.c | 50 FORCE_CPU_RELOC = 1, 106 * 1. Add a command to load the HW context. For Logical Ring Contexts, i.e. 133 * 1. Validation - Ensure all the pointers, handles and flags are valid. 259 struct i915_request *requests[MAX_ENGINE_INSTANCE + 1]; 261 struct eb_vma *batches[MAX_ENGINE_INSTANCE + 1]; 264 /** used for excl fence in dma_resv objects when > 1 BB submitted */ 291 bool use_64bit_reloc : 1; 292 bool has_llc : 1; 293 bool has_fence : 1; 294 bool needs_unfenced : 1; [all …]
|
/linux-6.12.1/drivers/bus/ |
D | intel-ixp4xx-eb.c | 58 #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 …]
|
/linux-6.12.1/fs/btrfs/tests/ |
D | extent-io-tests.c | 17 #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 …]
|
D | extent-buffer-tests.c | 18 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-6.12.1/arch/sh/include/mach-kfr2r09/mach/ |
D | partner-jet-setup.txt | 35 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 …]
|
/linux-6.12.1/drivers/mtd/ |
D | mtdswap.c | 45 * 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 …]
|
/linux-6.12.1/drivers/clk/sprd/ |
D | sc9863a-clk.c | 79 { .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 …]
|
D | sc9860-clk.c | 26 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 …]
|
D | ums512-clk.c | 33 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 …]
|
/linux-6.12.1/arch/arm/boot/dts/intel/ixp/ |
D | intel-ixp42x-arcom-vulcan.dts | 16 #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 …]
|
D | intel-ixp4xx-reference-design.dtsi | 31 #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 …]
|
D | intel-ixp42x-gateworks-gw2348.dts | 15 #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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/memory-controllers/ |
D | intel,ixp4xx-expansion-peripheral-props.yaml | 18 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 …]
|
D | intel,ixp4xx-expansion-bus-controller.yaml | 33 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 …]
|
/linux-6.12.1/lib/ |
D | string_helpers_kunit.c | 38 .in = "\\40\\1\\387\\0064\\05\\040\\8a\\110\\777", 99 test_string_check_buf(test, name, flags, in, p - 1, out_real, q_real, in test_string_unescape() 144 .in = "\eb \\C\007\"\x90\r]", 146 .out = "\eb \\C\007\"\x90\\r]", 149 .out = "\\eb \\\\C\\a\\\"\x90\r]", 152 .out = "\\eb \\\\C\\a\\\"\x90\\r]", 167 .out = "\eb \\C\007\"\x90\r]", 170 .out = "\eb \\C\007\"\x90\\r]", 173 .out = "\\eb \\C\\a\"\x90\r]", 176 .out = "\\eb \\C\\a\"\x90\\r]", [all …]
|
/linux-6.12.1/drivers/mtd/tests/ |
D | stresstest.c | 45 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 …]
|
D | torturetest.c | 28 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 …]
|
/linux-6.12.1/arch/x86/lib/ |
D | x86-opcode-map.txt | 46 00: ADD Eb,Gb 48 02: ADD Gb,Eb 54 08: OR Eb,Gb 56 0a: OR Gb,Eb 63 10: ADC Eb,Gb 65 12: ADC Gb,Eb 71 18: SBB Eb,Gb 73 1a: SBB Gb,Eb 74 1b: SBB Gv,Ev 75 1c: SBB AL,Ib [all …]
|