/linux/fs/btrfs/tests/ |
A D | inode-tests.c | 291 em->start, em->len); in test_btrfs_get_extent() 298 offset = em->start + em->len; in test_btrfs_get_extent() 314 offset, em->start, em->len); in test_btrfs_get_extent() 326 offset = em->start + em->len; in test_btrfs_get_extent() 341 offset, em->start, em->len); in test_btrfs_get_extent() 348 offset = em->start + em->len; in test_btrfs_get_extent() 376 offset = em->start + em->len; in test_btrfs_get_extent() 406 offset = em->start + em->len; in test_btrfs_get_extent() 428 offset = em->start + em->len; in test_btrfs_get_extent() 461 offset = em->start + em->len; in test_btrfs_get_extent() [all …]
|
A D | extent-map-tests.c | 27 em->start, em->len, em->block_start, in free_extent_map_tree() 28 em->block_len, refcount_read(&em->refs)); in free_extent_map_tree() 115 ret = btrfs_add_extent_mapping(fs_info, em_tree, &em, em->start, em->len); in test_case_1() 127 em->block_start, em->block_len); in test_case_1() 203 ret = btrfs_add_extent_mapping(fs_info, em_tree, &em, em->start, em->len); in test_case_2() 214 ret, em->start, em->len, em->block_start, in test_case_2() 278 em->start != em->block_start || em->len != em->block_len)) { in __test_case_3() 282 em->block_start, em->block_len); in __test_case_3() 391 if (em && (start < em->start || start + len > extent_map_end(em))) { in __test_case_4() 394 start, len, ret, em->start, em->len, em->block_start, in __test_case_4() [all …]
|
/linux/fs/btrfs/ |
A D | extent_map.c | 54 if (!em) in alloc_extent_map() 100 u64 end = range_end(em->start, em->len); in tree_insert() 261 em->mod_len = (em->mod_len + em->mod_start) - merge->mod_start; in try_merge_map() 306 WARN_ON(!em || em->start != start); in unpin_extent_cache() 313 em->mod_start = em->start; in unpin_extent_cache() 314 em->mod_len = em->len; in unpin_extent_cache() 324 em->mod_start = em->start; in unpin_extent_cache() 325 em->mod_len = em->len; in unpin_extent_cache() 347 em->mod_start = em->start; in setup_extent_mapping() 348 em->mod_len = em->len; in setup_extent_mapping() [all …]
|
A D | extent_map.h | 58 static inline int extent_map_in_tree(const struct extent_map *em) in extent_map_in_tree() argument 60 return !RB_EMPTY_NODE(&em->rb_node); in extent_map_in_tree() 63 static inline u64 extent_map_end(struct extent_map *em) in extent_map_end() argument 65 if (em->start + em->len < em->start) in extent_map_end() 67 return em->start + em->len; in extent_map_end() 70 static inline u64 extent_map_block_end(struct extent_map *em) in extent_map_block_end() argument 72 if (em->block_start + em->block_len < em->block_start) in extent_map_block_end() 74 return em->block_start + em->block_len; in extent_map_block_end() 81 struct extent_map *em, int modified); 89 void free_extent_map(struct extent_map *em); [all …]
|
A D | file.c | 565 if (!em) { in btrfs_drop_extent_cache() 577 start = em->start + em->len; in btrfs_drop_extent_cache() 579 len = start + len - (em->start + em->len); in btrfs_drop_extent_cache() 622 if (testend && em->start + em->len > start + len) { in btrfs_drop_extent_cache() 626 split->len = em->start + em->len - (start + len); in btrfs_drop_extent_cache() 2553 *len = em->start + em->len > *start + *len ? in find_first_non_hole() 2554 0 : *start + *len - em->start - em->len; in find_first_non_hole() 2555 *start = em->start + em->len; in find_first_non_hole() 3242 const u64 em_end = em->start + em->len; in btrfs_zero_range() 3263 alloc_hint = em->block_start + em->len; in btrfs_zero_range() [all …]
|
A D | inode.c | 1077 if (em) { in get_extent_allocation_hint() 1088 if (em) in get_extent_allocation_hint() 2402 split_post->start = em->start + em->len - post; in split_zoned_em() 7071 if (em->start > start || em->start + em->len <= start) in btrfs_get_extent() 7203 em->orig_block_len = em->len; in btrfs_get_extent() 7204 em->orig_start = em->start; in btrfs_get_extent() 7242 em->start, em->len, start, len); in btrfs_get_extent() 7728 if (!em) in create_io_em() 7749 em->start + em->len - 1, 0); in create_io_em() 7837 len = min(len, em->len - (start - em->start)); in btrfs_get_blocks_direct_write() [all …]
|
A D | volumes.c | 1783 ret = em->start + em->len; in find_next_chunk() 3021 if (em->start > logical || em->start + em->len < logical) { in btrfs_get_chunk_map() 3024 logical, length, em->start, em->start + em->len); in btrfs_get_chunk_map() 5389 em->block_len = em->len; in create_chunk() 5702 if (em) in btrfs_mapping_tree_free() 5705 if (!em) in btrfs_mapping_tree_free() 7071 if (em && em->start <= logical && em->start + em->len > logical) { in read_one_chunk() 7079 if (!em) in read_one_chunk() 7093 em->block_len = em->len; in read_one_chunk() 7144 em->start, em->len, ret); in read_one_chunk() [all …]
|
A D | extent_io.c | 2535 if (!em) { in btrfs_get_io_failure_record() 2541 if (em->start > start || em->start + em->len <= start) { in btrfs_get_io_failure_record() 2543 em = NULL; in btrfs_get_io_failure_record() 2546 if (!em) { in btrfs_get_io_failure_record() 3532 if (extent_map_in_tree(em) && start >= em->start && in __get_extent_map() 3548 return em; in __get_extent_map() 3695 em = NULL; in btrfs_do_readpage() 3999 em = NULL; in __extent_writepage_io() 5641 if (!em) in extent_fiemap() 5652 if (em->start >= max || extent_map_end(em) < off) in extent_fiemap() [all …]
|
A D | block-group.c | 1117 ASSERT(em && em->start == chunk_offset); in btrfs_start_trans_remove_block_group() 1644 if (!em) { in read_bg_from_eb() 1651 if (em->start != key->objectid || em->len != key->offset) { in read_bg_from_eb() 1654 key->objectid, key->offset, em->start, em->len); in read_bg_from_eb() 1760 if (IS_ERR(em)) in btrfs_rmap_block() 1952 if (!em) in check_chunk_block_group_mappings() 1959 em->start, em->len); in check_chunk_block_group_mappings() 1964 if (bg->start != em->start || bg->length != em->len || in check_chunk_block_group_mappings() 1969 em->start, em->len, in check_chunk_block_group_mappings() 1978 start = em->start + em->len; in check_chunk_block_group_mappings() [all …]
|
A D | compression.c | 474 if (IS_ERR(em)) { in alloc_compressed_bio() 476 return ERR_CAST(em); in alloc_compressed_bio() 483 free_extent_map(em); in alloc_compressed_bio() 739 if (!em || cur < em->start || in add_ra_bio_pages() 748 free_extent_map(em); in add_ra_bio_pages() 761 add_size = min(em->start + em->len, page_end + 1) - cur; in add_ra_bio_pages() 823 if (!em) in btrfs_submit_compressed_read() 839 em_len = em->len; in btrfs_submit_compressed_read() 842 free_extent_map(em); in btrfs_submit_compressed_read() 843 em = NULL; in btrfs_submit_compressed_read() [all …]
|
A D | file-item.c | 1195 struct extent_map *em) in btrfs_extent_item_to_extent_map() argument 1213 em->start = extent_start; in btrfs_extent_item_to_extent_map() 1215 em->orig_start = extent_start - in btrfs_extent_item_to_extent_map() 1220 em->block_start = EXTENT_MAP_HOLE; in btrfs_extent_item_to_extent_map() 1226 em->block_start = bytenr; in btrfs_extent_item_to_extent_map() 1227 em->block_len = em->orig_block_len; in btrfs_extent_item_to_extent_map() 1230 em->block_start = bytenr; in btrfs_extent_item_to_extent_map() 1231 em->block_len = em->len; in btrfs_extent_item_to_extent_map() 1237 em->start = extent_start; in btrfs_extent_item_to_extent_map() 1243 em->orig_start = EXTENT_MAP_HOLE; in btrfs_extent_item_to_extent_map() [all …]
|
/linux/net/sched/ |
A D | ematch.c | 202 em->data = ref; in tcf_em_validate() 237 if (em->ops->datalen && data_len < em->ops->datalen) in tcf_em_validate() 244 err = em->ops->change(net, data, data_len, em); in tcf_em_validate() 275 em->net = net; in tcf_em_validate() 408 if (em->ops) { in tcf_em_tree_destroy() 410 em->ops->destroy(em); in tcf_em_tree_destroy() 458 .kind = em->ops ? em->ops->kind : TCF_EM_CONTAINER, in tcf_em_tree_dump() 466 if (em->ops && em->ops->dump) { in tcf_em_tree_dump() 467 if (em->ops->dump(skb, em) < 0) in tcf_em_tree_dump() 473 nla_put_nohdr(skb, em->datalen, (void *) em->data); in tcf_em_tree_dump() [all …]
|
A D | em_ipset.c | 20 struct tcf_ematch *em) in em_ipset_change() argument 32 em->datalen = sizeof(*set); in em_ipset_change() 33 em->data = (unsigned long)kmemdup(data, em->datalen, GFP_KERNEL); in em_ipset_change() 34 if (em->data) in em_ipset_change() 41 static void em_ipset_destroy(struct tcf_ematch *em) in em_ipset_destroy() argument 43 const struct xt_set_info *set = (const void *) em->data; in em_ipset_destroy() 45 ip_set_nfnl_put(em->net, set->index); in em_ipset_destroy() 46 kfree((void *) em->data); in em_ipset_destroy() 55 const struct xt_set_info *set = (const void *) em->data; in em_ipset_match() 58 .net = em->net, in em_ipset_match() [all …]
|
A D | em_nbyte.c | 23 struct tcf_ematch *em) in em_nbyte_change() argument 31 em->datalen = sizeof(*nbyte) + nbyte->len; in em_nbyte_change() 32 em->data = (unsigned long)kmemdup(data, em->datalen, GFP_KERNEL); in em_nbyte_change() 33 if (em->data == 0UL) in em_nbyte_change() 39 static int em_nbyte_match(struct sk_buff *skb, struct tcf_ematch *em, in em_nbyte_match() argument 42 struct nbyte_data *nbyte = (struct nbyte_data *) em->data; in em_nbyte_match()
|
A D | em_ipt.c | 127 struct tcf_ematch *em) in em_ipt_change() argument 175 em->datalen = sizeof(*im) + mdata_len; in em_ipt_change() 176 em->data = (unsigned long)im; in em_ipt_change() 185 static void em_ipt_destroy(struct tcf_ematch *em) in em_ipt_destroy() argument 187 struct em_ipt_match *im = (void *)em->data; in em_ipt_destroy() 194 .net = em->net, in em_ipt_destroy() 208 const struct em_ipt_match *im = (const void *)em->data; in em_ipt_match() 235 indev = dev_get_by_index_rcu(em->net, skb->skb_iif); in em_ipt_match() 238 indev ?: skb->dev, skb->dev, NULL, em->net, NULL); in em_ipt_match() 250 static int em_ipt_dump(struct sk_buff *skb, struct tcf_ematch *em) in em_ipt_dump() argument [all …]
|
/linux/drivers/thermal/ |
A D | cpufreq_cooling.c | 72 struct em_perf_domain *em; member 111 return cpufreq_cdev->em->table[i + 1].power; in cpu_freq_to_power() 327 struct em_perf_domain *em) { in em_is_sane() argument 331 if (!em) in em_is_sane() 337 cpumask_pr_args(em_span_cpus(em)), in em_is_sane() 345 cpumask_pr_args(em_span_cpus(em)), in em_is_sane() 346 em_pd_nr_perf_states(em), nr_levels); in em_is_sane() 392 if (cpufreq_cdev->em) { in get_state_freq() 518 struct em_perf_domain *em) in __cpufreq_cooling_register() argument 564 if (em_is_sane(cpufreq_cdev, em)) { in __cpufreq_cooling_register() [all …]
|
/linux/drivers/block/aoe/ |
A D | aoechr.c | 128 struct ErrMsg *em; in aoechr_error() local 136 em = emsgs + emsgs_tail_idx; in aoechr_error() 146 em->msg = mp; in aoechr_error() 147 em->flags |= EMFL_VALID; in aoechr_error() 148 em->len = n; in aoechr_error() 215 struct ErrMsg *em; in aoechr_read() local 248 if (em->len > cnt) { in aoechr_read() 252 mp = em->msg; in aoechr_read() 253 len = em->len; in aoechr_read() 254 em->msg = NULL; in aoechr_read() [all …]
|
/linux/arch/arm/boot/dts/ |
A D | emev2.dtsi | 159 compatible = "renesas,em-sti"; 167 compatible = "renesas,em-uart"; 175 compatible = "renesas,em-uart"; 183 compatible = "renesas,em-uart"; 191 compatible = "renesas,em-uart"; 204 compatible = "renesas,em-gio"; 217 compatible = "renesas,em-gio"; 230 compatible = "renesas,em-gio"; 243 compatible = "renesas,em-gio"; 256 compatible = "renesas,em-gio";
|
/linux/net/bridge/netfilter/ |
A D | ebt_among.c | 206 const struct ebt_entry_match *em = in ebt_among_mt_check() local 212 if (expected_length > em->match_size) in ebt_among_mt_check() 215 if (wormhash_offset_invalid(info->wh_dst_ofs, em->match_size) || in ebt_among_mt_check() 216 wormhash_offset_invalid(info->wh_src_ofs, em->match_size)) in ebt_among_mt_check() 224 if (expected_length > em->match_size) in ebt_among_mt_check() 241 if (em->match_size != EBT_ALIGN(expected_length)) { in ebt_among_mt_check() 243 em->match_size, expected_length, in ebt_among_mt_check()
|
/linux/fs/ocfs2/ |
A D | extent_map.c | 57 list_for_each_entry(emi, &em->em_list, ei_list) { in __ocfs2_extent_map_lookup() 61 list_move(&emi->ei_list, &em->em_list); in __ocfs2_extent_map_lookup() 104 struct ocfs2_extent_map *em = &oi->ip_extent_map; in ocfs2_extent_map_trunc() local 113 BUG_ON(em->em_num_items == 0); in ocfs2_extent_map_trunc() 114 em->em_num_items--; in ocfs2_extent_map_trunc() 232 list_move(&emi->ei_list, &em->em_list); in ocfs2_extent_map_insert_rec() 257 list_add(&new_emi->ei_list, &em->em_list); in ocfs2_extent_map_insert_rec() 258 em->em_num_items++; in ocfs2_extent_map_insert_rec() 261 BUG_ON(list_empty(&em->em_list) || em->em_num_items == 0); in ocfs2_extent_map_insert_rec() 262 emi = list_entry(em->em_list.prev, in ocfs2_extent_map_insert_rec() [all …]
|
/linux/include/net/ |
A D | pkt_cls.h | 364 static inline int tcf_em_is_container(struct tcf_ematch *em) in tcf_em_is_container() argument 366 return !em->ops; in tcf_em_is_container() 369 static inline int tcf_em_is_simple(struct tcf_ematch *em) in tcf_em_is_simple() argument 371 return em->flags & TCF_EM_SIMPLE; in tcf_em_is_simple() 374 static inline int tcf_em_is_inverted(struct tcf_ematch *em) in tcf_em_is_inverted() argument 376 return em->flags & TCF_EM_INVERT; in tcf_em_is_inverted() 379 static inline int tcf_em_last_match(struct tcf_ematch *em) in tcf_em_last_match() argument 381 return (em->flags & TCF_EM_REL_MASK) == TCF_EM_REL_END; in tcf_em_last_match() 386 if (tcf_em_last_match(em)) in tcf_em_early_end() 389 if (result == 0 && em->flags & TCF_EM_REL_AND) in tcf_em_early_end() [all …]
|
/linux/Documentation/devicetree/bindings/timer/ |
A D | renesas,em-sti.yaml | 4 $id: http://devicetree.org/schemas/timer/renesas,em-sti.yaml# 14 const: renesas,em-sti 41 compatible = "renesas,em-sti";
|
/linux/drivers/powercap/ |
A D | dtpm_cpu.c | 132 struct em_perf_domain *em = em_cpu_get(dtpm_cpu->cpu); in update_pd_power_uw() local 136 cpumask_and(&cpus, cpu_online_mask, to_cpumask(em->cpus)); in update_pd_power_uw() 139 dtpm->power_min = em->table[0].power; in update_pd_power_uw() 143 dtpm->power_max = em->table[em->nr_perf_states - 1].power; in update_pd_power_uw()
|
/linux/Documentation/devicetree/bindings/serial/ |
A D | renesas,em-uart.yaml | 4 $id: "http://devicetree.org/schemas/serial/renesas,em-uart.yaml#" 17 const: renesas,em-uart 44 compatible = "renesas,em-uart";
|
/linux/Documentation/devicetree/bindings/gpio/ |
A D | renesas,em-gio.yaml | 4 $id: http://devicetree.org/schemas/gpio/renesas,em-gio.yaml# 14 const: renesas,em-gio 60 compatible = "renesas,em-gio";
|