Searched refs:old_map (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/md/ |
| H A D | dm-ioctl.c | 1155 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() 1605 struct dm_table *old_map = NULL; table_clear() local 2267 struct dm_table *t, *old_map; dm_early_create() local [all...] |
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A 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/drivers/nvdimm/ |
| H A D | btt.c | 397 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() 552 log_oldmap = ent_lba(le32_to_cpu(log_new.old_map)); in btt_freelist_init() 564 if (ent_e_flag(le32_to_cpu(log_new.old_map)) && in btt_freelist_init() 565 !ent_normal(le32_to_cpu(log_new.old_map))) { in btt_freelist_init() 607 return (ent->lba == 0) && (ent->old_map == 0) && (ent->new_map == 0) in ent_is_padding() 1381 log.old_map = cpu_to_le32(old_postmap); in btt_write_pg()
|
| H A D | btt.h | 86 __le32 old_map; member
|
| /linux/kernel/bpf/ |
| H A D | bpf_struct_ops.c | 1264 struct bpf_map *old_map; in bpf_struct_ops_map_link_update() local 1279 old_map = rcu_dereference_protected(st_link->map, lockdep_is_held(&update_mutex)); in bpf_struct_ops_map_link_update() 1280 if (!old_map) { in bpf_struct_ops_map_link_update() 1284 if (expected_old_map && old_map != expected_old_map) { in bpf_struct_ops_map_link_update() 1289 old_st_map = container_of(old_map, struct bpf_struct_ops_map, map); in bpf_struct_ops_map_link_update() 1302 bpf_map_put(old_map); in bpf_struct_ops_map_link_update()
|
| H A D | syscall.c | 5787 struct bpf_map *new_map, *old_map = NULL; in link_update_map() local 5795 old_map = bpf_map_get(attr->link_update.old_map_fd); in link_update_map() 5796 if (IS_ERR(old_map)) { in link_update_map() 5797 ret = PTR_ERR(old_map); in link_update_map() 5805 ret = link->ops->update_map(link, new_map, old_map); in link_update_map() 5807 if (old_map) in link_update_map() 5808 bpf_map_put(old_map); in link_update_map()
|
| /linux/tools/perf/util/ |
| H A D | symbol.c | 1170 static int do_validate_kcore_modules_cb(struct map *old_map, void *data) in do_validate_kcore_modules_cb() argument 1176 if (!__map__is_kmodule(old_map)) in do_validate_kcore_modules_cb() 1179 dso = map__dso(old_map); in do_validate_kcore_modules_cb() 1182 if (!mi || mi->start != map__start(old_map)) in do_validate_kcore_modules_cb()
|
| /linux/Documentation/driver-api/nvdimm/ |
| H A 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/drivers/ata/ |
| H A D | sata_mv.c | 2473 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/drivers/ptp/ |
| H A D | ptp_ocp.c | 2202 u32 old_map = bp->pps_req_map; in ptp_ocp_ts_enable() local 2210 if ((!!old_map ^ !!bp->pps_req_map) == 0) in ptp_ocp_ts_enable()
|
| /linux/include/linux/ |
| H A D | bpf.h | 1866 struct bpf_map *old_map);
|