Home
last modified time | relevance | path

Searched refs:old_map (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/md/dm-vdo/
Dint-map.c379 struct int_map old_map = *map; in resize_buckets() local
388 *map = old_map; in resize_buckets()
393 for (i = 0; i < old_map.bucket_count; i++) { in resize_buckets()
394 struct bucket *entry = &old_map.buckets[i]; in resize_buckets()
403 *map = old_map; in resize_buckets()
409 vdo_free(vdo_forget(old_map.buckets)); in resize_buckets()
/linux-6.12.1/drivers/md/
Ddm-ioctl.c1155 struct dm_table *new_map, *old_map = NULL; in do_resume() local
1206 old_map = dm_swap_table(md, new_map); in do_resume()
1207 if (IS_ERR(old_map)) { in do_resume()
1211 return PTR_ERR(old_map); in do_resume()
1237 if (old_map) in do_resume()
1238 dm_table_destroy(old_map); in do_resume()
1518 struct dm_table *t, *old_map = NULL; in table_load() local
1575 old_map = hc->new_map; in table_load()
1582 if (old_map) { in table_load()
1584 dm_table_destroy(old_map); in table_load()
[all …]
Ddm.c2408 struct dm_table *old_map; in __bind() local
2458 old_map = ERR_PTR(ret); in __bind()
2462 old_map = rcu_dereference_protected(md->map, lockdep_is_held(&md->suspend_lock)); in __bind()
2466 if (old_map) in __bind()
2469 return old_map; in __bind()
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cotable.c409 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.12.1/kernel/bpf/
Dbpf_struct_ops.c1108 struct bpf_map *old_map; in bpf_struct_ops_map_link_update() local
1123 old_map = rcu_dereference_protected(st_link->map, lockdep_is_held(&update_mutex)); in bpf_struct_ops_map_link_update()
1124 if (!old_map) { in bpf_struct_ops_map_link_update()
1128 if (expected_old_map && old_map != expected_old_map) { in bpf_struct_ops_map_link_update()
1133 old_st_map = container_of(old_map, struct bpf_struct_ops_map, map); in bpf_struct_ops_map_link_update()
1146 bpf_map_put(old_map); in bpf_struct_ops_map_link_update()
Dsyscall.c5276 struct bpf_map *new_map, *old_map = NULL; in link_update_map() local
5284 old_map = bpf_map_get(attr->link_update.old_map_fd); in link_update_map()
5285 if (IS_ERR(old_map)) { in link_update_map()
5286 ret = PTR_ERR(old_map); in link_update_map()
5294 ret = link->ops->update_map(link, new_map, old_map); in link_update_map()
5296 if (old_map) in link_update_map()
5297 bpf_map_put(old_map); in link_update_map()
/linux-6.12.1/drivers/nvdimm/
Dbtt.c397 if (ent_e_flag(le32_to_cpu(ent->old_map))) in btt_flog_write()
399 arena->freelist[lane].block = ent_lba(le32_to_cpu(ent->old_map)); in btt_flog_write()
489 ent.old_map = cpu_to_le32(arena->external_nlba + i); in btt_log_init()
553 log_oldmap = ent_lba(le32_to_cpu(log_new.old_map)); in btt_freelist_init()
565 if (ent_e_flag(le32_to_cpu(log_new.old_map)) && in btt_freelist_init()
566 !ent_normal(le32_to_cpu(log_new.old_map))) { in btt_freelist_init()
608 return (ent->lba == 0) && (ent->old_map == 0) && (ent->new_map == 0) in ent_is_padding()
1383 log.old_map = cpu_to_le32(old_postmap); in btt_write_pg()
Dbtt.h86 __le32 old_map; member
/linux-6.12.1/net/core/
Dnet-sysfs.c860 struct rps_map *old_map, *map; in netdev_rx_queue_set_rps_mask() local
881 old_map = rcu_dereference_protected(queue->rps_map, in netdev_rx_queue_set_rps_mask()
887 if (old_map) in netdev_rx_queue_set_rps_mask()
892 if (old_map) in netdev_rx_queue_set_rps_mask()
893 kfree_rcu(old_map, rcu); in netdev_rx_queue_set_rps_mask()
/linux-6.12.1/Documentation/driver-api/nvdimm/
Dbtt.rst133 old_map The old postmap ABA - after 'this' write completes, this will be a
142 old_map' alternate old postmap entry
/linux-6.12.1/tools/perf/util/
Dsymbol.c1152 static int do_validate_kcore_modules_cb(struct map *old_map, void *data) in do_validate_kcore_modules_cb() argument
1158 if (!__map__is_kmodule(old_map)) in do_validate_kcore_modules_cb()
1161 dso = map__dso(old_map); in do_validate_kcore_modules_cb()
1164 if (!mi || mi->start != map__start(old_map)) in do_validate_kcore_modules_cb()
/linux-6.12.1/drivers/ata/
Dsata_mv.c2473 unsigned int old_map, new_map; in mv_handle_fbs_ncq_dev_err() local
2487 old_map = pp->delayed_eh_pmp_map; in mv_handle_fbs_ncq_dev_err()
2488 new_map = old_map | mv_get_err_pmp_map(ap); in mv_handle_fbs_ncq_dev_err()
2490 if (old_map != new_map) { in mv_handle_fbs_ncq_dev_err()
2492 mv_pmp_eh_prep(ap, new_map & ~old_map); in mv_handle_fbs_ncq_dev_err()
/linux-6.12.1/drivers/ptp/
Dptp_ocp.c2194 u32 old_map = bp->pps_req_map; in ptp_ocp_ts_enable() local
2202 if ((!!old_map ^ !!bp->pps_req_map) == 0) in ptp_ocp_ts_enable()
/linux-6.12.1/include/linux/
Dbpf.h1636 struct bpf_map *old_map);