Home
last modified time | relevance | path

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

/linux-6.15/drivers/md/dm-vdo/
H A Dint-map.c376 struct int_map old_map = *map; in resize_buckets() local
385 *map = old_map; in resize_buckets()
390 for (i = 0; i < old_map.bucket_count; i++) { in resize_buckets()
391 struct bucket *entry = &old_map.buckets[i]; in resize_buckets()
400 *map = old_map; in resize_buckets()
406 vdo_free(vdo_forget(old_map.buckets)); in resize_buckets()
/linux-6.15/drivers/md/
H A Ddm-ioctl.c1207 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()
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()
1618 old_map = hc->new_map; in table_clear()
1629 if (old_map) { in table_clear()
2327 if (IS_ERR(old_map)) { in dm_early_create()
[all …]
H A Ddm.c2423 struct dm_table *old_map; in __bind() local
2473 old_map = ERR_PTR(ret); in __bind()
2477 old_map = rcu_dereference_protected(md->map, lockdep_is_held(&md->suspend_lock)); in __bind()
2481 if (old_map) in __bind()
2484 return old_map; in __bind()
/linux-6.15/drivers/gpu/drm/vmwgfx/
H A 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.15/kernel/bpf/
H A Dbpf_struct_ops.c1235 struct bpf_map *old_map; in bpf_struct_ops_map_link_update() local
1250 old_map = rcu_dereference_protected(st_link->map, lockdep_is_held(&update_mutex)); in bpf_struct_ops_map_link_update()
1251 if (!old_map) { in bpf_struct_ops_map_link_update()
1255 if (expected_old_map && old_map != expected_old_map) { in bpf_struct_ops_map_link_update()
1260 old_st_map = container_of(old_map, struct bpf_struct_ops_map, map); in bpf_struct_ops_map_link_update()
1273 bpf_map_put(old_map); in bpf_struct_ops_map_link_update()
H A Dsyscall.c5457 struct bpf_map *new_map, *old_map = NULL; in link_update_map() local
5465 old_map = bpf_map_get(attr->link_update.old_map_fd); in link_update_map()
5466 if (IS_ERR(old_map)) { in link_update_map()
5467 ret = PTR_ERR(old_map); in link_update_map()
5475 ret = link->ops->update_map(link, new_map, old_map); in link_update_map()
5477 if (old_map) in link_update_map()
5478 bpf_map_put(old_map); in link_update_map()
/linux-6.15/drivers/nvdimm/
H A 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()
H A Dbtt.h86 __le32 old_map; member
/linux-6.15/net/core/
H A Dnet-sysfs.c975 struct rps_map *old_map, *map; in netdev_rx_queue_set_rps_mask() local
996 old_map = rcu_dereference_protected(queue->rps_map, in netdev_rx_queue_set_rps_mask()
1002 if (old_map) in netdev_rx_queue_set_rps_mask()
1007 if (old_map) in netdev_rx_queue_set_rps_mask()
1008 kfree_rcu(old_map, rcu); in netdev_rx_queue_set_rps_mask()
/linux-6.15/Documentation/driver-api/nvdimm/
H A 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.15/tools/perf/util/
H A Dsymbol.c1161 static int do_validate_kcore_modules_cb(struct map *old_map, void *data) in do_validate_kcore_modules_cb() argument
1167 if (!__map__is_kmodule(old_map)) in do_validate_kcore_modules_cb()
1170 dso = map__dso(old_map); in do_validate_kcore_modules_cb()
1173 if (!mi || mi->start != map__start(old_map)) in do_validate_kcore_modules_cb()
/linux-6.15/drivers/ata/
H A 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.15/drivers/ptp/
H A Dptp_ocp.c2203 u32 old_map = bp->pps_req_map; in ptp_ocp_ts_enable() local
2211 if ((!!old_map ^ !!bp->pps_req_map) == 0) in ptp_ocp_ts_enable()
/linux-6.15/include/linux/
H A Dbpf.h1714 struct bpf_map *old_map);