/linux-6.6.21/drivers/md/ |
D | dm-ioctl.c | 1155 struct dm_table *new_map, *old_map = NULL; in do_resume() local 1188 old_map = dm_swap_table(md, new_map); in do_resume() 1189 if (IS_ERR(old_map)) { in do_resume() 1193 return PTR_ERR(old_map); in do_resume() 1219 if (old_map) in do_resume() 1220 dm_table_destroy(old_map); in do_resume() 1500 struct dm_table *t, *old_map = NULL; in table_load() local 1557 old_map = hc->new_map; in table_load() 1564 if (old_map) { in table_load() 1566 dm_table_destroy(old_map); in table_load() [all …]
|
D | dm.c | 2188 struct dm_table *old_map; in __bind() local 2238 old_map = ERR_PTR(ret); in __bind() 2242 old_map = rcu_dereference_protected(md->map, lockdep_is_held(&md->suspend_lock)); in __bind() 2246 if (old_map) in __bind() 2249 return old_map; in __bind()
|
/linux-6.6.21/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cotable.c | 409 struct ttm_bo_kmap_obj old_map, new_map; in vmw_cotable_resize() local 457 ret = ttm_bo_kmap(old_bo, i, 1, &old_map); in vmw_cotable_resize() 468 ttm_kmap_obj_virtual(&old_map, &dummy), in vmw_cotable_resize() 471 ttm_bo_kunmap(&old_map); in vmw_cotable_resize() 520 ttm_bo_kunmap(&old_map); in vmw_cotable_resize()
|
/linux-6.6.21/tools/perf/util/ |
D | symbol.c | 1162 struct map *old_map = old_node->map; in do_validate_kcore_modules() local 1166 if (!__map__is_kmodule(old_map)) { in do_validate_kcore_modules() 1169 dso = map__dso(old_map); in do_validate_kcore_modules() 1172 if (!mi || mi->start != map__start(old_map)) { in do_validate_kcore_modules() 1285 struct map *old_map = rb_node->map; in maps__merge_in() local 1288 if (map__end(new_map) < map__start(old_map) || in maps__merge_in() 1289 map__start(new_map) >= map__end(old_map)) in maps__merge_in() 1292 if (map__start(new_map) < map__start(old_map)) { in maps__merge_in() 1297 if (map__end(new_map) < map__end(old_map)) { in maps__merge_in() 1302 map__set_end(new_map, map__start(old_map)); in maps__merge_in() [all …]
|
/linux-6.6.21/kernel/bpf/ |
D | bpf_struct_ops.c | 816 struct bpf_map *old_map; in bpf_struct_ops_map_link_update() local 831 old_map = rcu_dereference_protected(st_link->map, lockdep_is_held(&update_mutex)); in bpf_struct_ops_map_link_update() 832 if (expected_old_map && old_map != expected_old_map) { in bpf_struct_ops_map_link_update() 837 old_st_map = container_of(old_map, struct bpf_struct_ops_map, map); in bpf_struct_ops_map_link_update() 850 bpf_map_put(old_map); in bpf_struct_ops_map_link_update()
|
D | syscall.c | 5028 struct bpf_map *new_map, *old_map = NULL; in link_update_map() local 5036 old_map = bpf_map_get(attr->link_update.old_map_fd); in link_update_map() 5037 if (IS_ERR(old_map)) { in link_update_map() 5038 ret = PTR_ERR(old_map); in link_update_map() 5046 ret = link->ops->update_map(link, new_map, old_map); in link_update_map() 5048 if (old_map) in link_update_map() 5049 bpf_map_put(old_map); in link_update_map()
|
/linux-6.6.21/drivers/nvdimm/ |
D | btt.c | 395 if (ent_e_flag(le32_to_cpu(ent->old_map))) in btt_flog_write() 397 arena->freelist[lane].block = ent_lba(le32_to_cpu(ent->old_map)); in btt_flog_write() 487 ent.old_map = cpu_to_le32(arena->external_nlba + i); in btt_log_init() 551 log_oldmap = ent_lba(le32_to_cpu(log_new.old_map)); in btt_freelist_init() 563 if (ent_e_flag(le32_to_cpu(log_new.old_map)) && in btt_freelist_init() 564 !ent_normal(le32_to_cpu(log_new.old_map))) { in btt_freelist_init() 606 return (ent->lba == 0) && (ent->old_map == 0) && (ent->new_map == 0) in ent_is_padding() 1387 log.old_map = cpu_to_le32(old_postmap); in btt_write_pg()
|
D | btt.h | 86 __le32 old_map; member
|
/linux-6.6.21/net/core/ |
D | net-sysfs.c | 839 struct rps_map *old_map, *map; in netdev_rx_queue_set_rps_mask() local 860 old_map = rcu_dereference_protected(queue->rps_map, in netdev_rx_queue_set_rps_mask() 866 if (old_map) in netdev_rx_queue_set_rps_mask() 871 if (old_map) in netdev_rx_queue_set_rps_mask() 872 kfree_rcu(old_map, rcu); in netdev_rx_queue_set_rps_mask()
|
/linux-6.6.21/Documentation/driver-api/nvdimm/ |
D | btt.rst | 133 old_map The old postmap ABA - after 'this' write completes, this will be a 142 old_map' alternate old postmap entry
|
/linux-6.6.21/drivers/ata/ |
D | sata_mv.c | 2504 unsigned int old_map, new_map; in mv_handle_fbs_ncq_dev_err() local 2518 old_map = pp->delayed_eh_pmp_map; in mv_handle_fbs_ncq_dev_err() 2519 new_map = old_map | mv_get_err_pmp_map(ap); in mv_handle_fbs_ncq_dev_err() 2521 if (old_map != new_map) { in mv_handle_fbs_ncq_dev_err() 2523 mv_pmp_eh_prep(ap, new_map & ~old_map); in mv_handle_fbs_ncq_dev_err()
|
/linux-6.6.21/drivers/ptp/ |
D | ptp_ocp.c | 1969 u32 old_map = bp->pps_req_map; in ptp_ocp_ts_enable() local 1977 if ((!!old_map ^ !!bp->pps_req_map) == 0) in ptp_ocp_ts_enable()
|
/linux-6.6.21/include/linux/ |
D | bpf.h | 1540 struct bpf_map *old_map);
|