/linux-6.3-rc2/kernel/ |
A D | user_namespace.c | 748 prev = &new_map->extent[idx]; in mappings_overlap() 928 struct uid_gid_map new_map; in map_write() local 1039 if (new_map.nr_extents == 0) in map_write() 1056 e = &new_map.extent[idx]; in map_write() 1058 e = &new_map.forward[idx]; in map_write() 1077 ret = sort_idmaps(&new_map); in map_write() 1084 new_map.nr_extents * sizeof(new_map.extent[0])); in map_write() 1096 kfree(new_map.forward); in map_write() 1097 kfree(new_map.reverse); in map_write() 1162 struct uid_gid_map *new_map) in new_idmap_permitted() argument [all …]
|
/linux-6.3-rc2/drivers/pinctrl/ |
A D | pinctrl-utils.c | 24 struct pinctrl_map *new_map; in pinctrl_utils_reserve_map() local 29 new_map = krealloc_array(*map, new_num, sizeof(*new_map), GFP_KERNEL); in pinctrl_utils_reserve_map() 30 if (!new_map) { in pinctrl_utils_reserve_map() 35 memset(new_map + old_num, 0, (new_num - old_num) * sizeof(*new_map)); in pinctrl_utils_reserve_map() 37 *map = new_map; in pinctrl_utils_reserve_map()
|
A D | pinctrl-st.c | 822 struct pinctrl_map *new_map; in st_pctl_dt_node_to_map() local 833 new_map = devm_kcalloc(dev, map_num, sizeof(*new_map), GFP_KERNEL); in st_pctl_dt_node_to_map() 834 if (!new_map) in st_pctl_dt_node_to_map() 839 devm_kfree(dev, new_map); in st_pctl_dt_node_to_map() 843 *map = new_map; in st_pctl_dt_node_to_map() 845 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP; in st_pctl_dt_node_to_map() 846 new_map[0].data.mux.function = parent->name; in st_pctl_dt_node_to_map() 847 new_map[0].data.mux.group = np->name; in st_pctl_dt_node_to_map() 851 new_map++; in st_pctl_dt_node_to_map() 854 new_map[i].data.configs.group_or_pin = in st_pctl_dt_node_to_map() [all …]
|
A D | pinctrl-at91.c | 296 struct pinctrl_map *new_map; in at91_dt_node_to_map() local 313 new_map = devm_kcalloc(pctldev->dev, map_num, sizeof(*new_map), in at91_dt_node_to_map() 315 if (!new_map) in at91_dt_node_to_map() 318 *map = new_map; in at91_dt_node_to_map() 324 devm_kfree(pctldev->dev, new_map); in at91_dt_node_to_map() 327 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP; in at91_dt_node_to_map() 328 new_map[0].data.mux.function = parent->name; in at91_dt_node_to_map() 329 new_map[0].data.mux.group = np->name; in at91_dt_node_to_map() 333 new_map++; in at91_dt_node_to_map() 336 new_map[i].data.configs.group_or_pin = in at91_dt_node_to_map() [all …]
|
A D | pinctrl-rockchip.c | 329 struct pinctrl_map *new_map; in rockchip_dt_node_to_map() local 346 new_map = kcalloc(map_num, sizeof(*new_map), GFP_KERNEL); in rockchip_dt_node_to_map() 347 if (!new_map) in rockchip_dt_node_to_map() 350 *map = new_map; in rockchip_dt_node_to_map() 356 kfree(new_map); in rockchip_dt_node_to_map() 359 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP; in rockchip_dt_node_to_map() 360 new_map[0].data.mux.function = parent->name; in rockchip_dt_node_to_map() 361 new_map[0].data.mux.group = np->name; in rockchip_dt_node_to_map() 365 new_map++; in rockchip_dt_node_to_map() 367 new_map[i].type = PIN_MAP_TYPE_CONFIGS_PIN; in rockchip_dt_node_to_map() [all …]
|
/linux-6.3-rc2/drivers/input/rmi4/ |
A D | rmi_smbus.c | 84 struct mapping_table_entry new_map; in rmi_smb_get_command_code() local 109 memset(&new_map, 0, sizeof(new_map)); in rmi_smb_get_command_code() 110 new_map.rmiaddr = cpu_to_le16(rmiaddr); in rmi_smb_get_command_code() 111 new_map.readcount = bytecount; in rmi_smb_get_command_code() 112 new_map.flags = !isread ? RMI_SMB2_MAP_FLAGS_WE : 0; in rmi_smb_get_command_code() 114 retval = smb_block_write(xport, i + 0x80, &new_map, sizeof(new_map)); in rmi_smb_get_command_code() 120 memset(&new_map, 0, sizeof(new_map)); in rmi_smb_get_command_code() 124 rmi_smb->mapping_table[i] = new_map; in rmi_smb_get_command_code()
|
/linux-6.3-rc2/drivers/pinctrl/freescale/ |
A D | pinctrl-mxs.c | 67 struct pinctrl_map *new_map; in mxs_dt_node_to_map() local 95 new_map = kcalloc(new_num, sizeof(*new_map), GFP_KERNEL); in mxs_dt_node_to_map() 96 if (!new_map) in mxs_dt_node_to_map() 100 new_map[i].type = PIN_MAP_TYPE_MUX_GROUP; in mxs_dt_node_to_map() 101 new_map[i].data.mux.function = np->name; in mxs_dt_node_to_map() 110 new_map[i].data.mux.group = group; in mxs_dt_node_to_map() 121 new_map[i].type = PIN_MAP_TYPE_CONFIGS_GROUP; in mxs_dt_node_to_map() 124 new_map[i].data.configs.configs = pconfig; in mxs_dt_node_to_map() 125 new_map[i].data.configs.num_configs = 1; in mxs_dt_node_to_map() 128 *map = new_map; in mxs_dt_node_to_map() [all …]
|
A D | pinctrl-imx1-core.c | 227 struct pinctrl_map *new_map; in imx1_dt_node_to_map() local 248 if (!new_map) in imx1_dt_node_to_map() 251 *map = new_map; in imx1_dt_node_to_map() 257 kfree(new_map); in imx1_dt_node_to_map() 260 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP; in imx1_dt_node_to_map() 261 new_map[0].data.mux.function = parent->name; in imx1_dt_node_to_map() 262 new_map[0].data.mux.group = np->name; in imx1_dt_node_to_map() 266 new_map++; in imx1_dt_node_to_map() 268 new_map[j].type = PIN_MAP_TYPE_CONFIGS_PIN; in imx1_dt_node_to_map() 269 new_map[j].data.configs.group_or_pin = in imx1_dt_node_to_map() [all …]
|
A D | pinctrl-imx.c | 65 struct pinctrl_map *new_map; in imx_dt_node_to_map() local 93 if (!new_map) in imx_dt_node_to_map() 96 *map = new_map; in imx_dt_node_to_map() 102 kfree(new_map); in imx_dt_node_to_map() 105 new_map[0].type = PIN_MAP_TYPE_MUX_GROUP; in imx_dt_node_to_map() 107 new_map[0].data.mux.group = np->name; in imx_dt_node_to_map() 111 new_map++; in imx_dt_node_to_map() 124 new_map[j].data.configs.group_or_pin = in imx_dt_node_to_map() 132 new_map[j].data.configs.configs = in imx_dt_node_to_map() 134 new_map[j].data.configs.num_configs = 2; in imx_dt_node_to_map() [all …]
|
/linux-6.3-rc2/tools/perf/util/ |
A D | symbol.c | 1274 new_map->pgoff += old_map->end - new_map->start; in maps__merge_in() 1287 map__put(new_map); in maps__merge_in() 1288 new_map = NULL; in maps__merge_in() 1295 new_map->pgoff += old_map->end - new_map->start; in maps__merge_in() 1308 if (new_map) { in maps__merge_in() 1310 map__put(new_map); in maps__merge_in() 1383 u64 new_size = new_map->end - new_map->start; in dso__load_kcore() 1385 if (!(stext >= new_map->start && stext < new_map->end)) in dso__load_kcore() 1395 replacement_map = new_map; in dso__load_kcore() 1410 map->end = new_map->end; in dso__load_kcore() [all …]
|
A D | maps.h | 81 int maps__merge_in(struct maps *kmaps, struct map *new_map);
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-ima.h | 63 void dm_ima_measure_on_table_clear(struct mapped_device *md, bool new_map); 72 static inline void dm_ima_measure_on_table_clear(struct mapped_device *md, bool new_map) {} in dm_ima_measure_on_table_clear() argument
|
A D | dm-ioctl.c | 245 hc->new_map = NULL; in alloc_cell() 328 if (hc->new_map) in __hash_remove() 329 table = hc->new_map; in __hash_remove() 797 table = hc->new_map; in dm_get_inactive_table() 948 if (hc->new_map) in __find_device_hash_cell() 1162 new_map = hc->new_map; in do_resume() 1163 hc->new_map = NULL; in do_resume() 1169 if (new_map) { in do_resume() 1510 if (hc->new_map) in table_load() 1512 hc->new_map = t; in table_load() [all …]
|
A D | dm-ima.c | 605 void dm_ima_measure_on_table_clear(struct mapped_device *md, bool new_map) in dm_ima_measure_on_table_clear() argument 662 if (new_map) { in dm_ima_measure_on_table_clear()
|
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_cotable.c | 407 struct ttm_bo_kmap_obj old_map, new_map; in vmw_cotable_resize() local 454 ret = ttm_bo_kmap(bo, i, 1, &new_map); in vmw_cotable_resize() 459 memcpy(ttm_kmap_obj_virtual(&new_map, &dummy), in vmw_cotable_resize() 462 ttm_bo_kunmap(&new_map); in vmw_cotable_resize()
|
/linux-6.3-rc2/drivers/remoteproc/ |
A D | remoteproc_virtio.c | 31 const struct bus_dma_region *map = from->dma_range_map, *new_map, *r; in copy_dma_range_map() local 40 new_map = kmemdup(map, array_size(num_ranges + 1, sizeof(*map)), in copy_dma_range_map() 42 if (!new_map) in copy_dma_range_map() 44 to->dma_range_map = new_map; in copy_dma_range_map()
|
/linux-6.3-rc2/drivers/pinctrl/samsung/ |
A D | pinctrl-samsung.c | 84 struct pinctrl_map *new_map; in reserve_map() local 89 new_map = krealloc(*map, sizeof(*new_map) * new_num, GFP_KERNEL); in reserve_map() 90 if (!new_map) in reserve_map() 93 memset(new_map + old_num, 0, (new_num - old_num) * sizeof(*new_map)); in reserve_map() 95 *map = new_map; in reserve_map()
|
/linux-6.3-rc2/arch/powerpc/platforms/embedded6xx/ |
A D | mpc10x.h | 150 uint new_map,
|
/linux-6.3-rc2/drivers/nvdimm/ |
A D | btt.c | 488 ent.new_map = cpu_to_le32(arena->external_nlba + i); in btt_log_init() 552 log_newmap = ent_lba(le32_to_cpu(log_new.new_map)); in btt_freelist_init() 595 le32_to_cpu(log_new.new_map), 0, 0, 0); in btt_freelist_init() 606 return (ent->lba == 0) && (ent->old_map == 0) && (ent->new_map == 0) in ent_is_padding() 1226 u32 new_map; in btt_read_pg() local 1246 ret = btt_map_read(arena, premap, &new_map, &new_t, in btt_read_pg() 1251 if ((postmap == new_map) && (t_flag == new_t) && in btt_read_pg() 1255 postmap = new_map; in btt_read_pg() 1388 log.new_map = cpu_to_le32(new_postmap); in btt_write_pg()
|
A D | btt.h | 87 __le32 new_map; member
|
/linux-6.3-rc2/drivers/tty/vt/ |
A D | keyboard.c | 1948 unsigned short *key_map, *new_map, oldval; in vt_kdskbent() local 1979 new_map = kmalloc(sizeof(plain_map), GFP_KERNEL); in vt_kdskbent() 1980 if (!new_map) in vt_kdskbent() 1991 kfree(new_map); in vt_kdskbent() 1994 key_maps[map] = new_map; in vt_kdskbent() 1995 key_map = new_map; in vt_kdskbent() 2001 kfree(new_map); in vt_kdskbent()
|
/linux-6.3-rc2/fs/hpfs/ |
A D | alloc.c | 328 new_map: in hpfs_free_sectors() 348 goto new_map; in hpfs_free_sectors()
|
/linux-6.3-rc2/Documentation/driver-api/nvdimm/ |
A D | btt.rst | 135 new_map The new postmap ABA. The map will up updated to reflect this 143 new_map' alternate new postmap entry
|
/linux-6.3-rc2/net/core/ |
A D | dev.c | 2470 struct xps_map *new_map; in expand_xps_map() local 2492 new_map = kzalloc(XPS_MAP_SIZE(alloc_len), GFP_KERNEL); in expand_xps_map() 2496 if (!new_map) in expand_xps_map() 2500 new_map->queues[i] = map->queues[i]; in expand_xps_map() 2501 new_map->alloc_len = alloc_len; in expand_xps_map() 2502 new_map->len = pos; in expand_xps_map() 2504 return new_map; in expand_xps_map() 2535 struct xps_map *map, *new_map; in __netif_set_xps_queue() local 2657 if (map == new_map) in __netif_set_xps_queue() 2717 if (new_map && new_map != map) in __netif_set_xps_queue() [all …]
|
/linux-6.3-rc2/drivers/ata/ |
A D | sata_mv.c | 2504 unsigned int old_map, new_map; in mv_handle_fbs_ncq_dev_err() local 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() 2522 pp->delayed_eh_pmp_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() 2525 failed_links = hweight16(new_map); in mv_handle_fbs_ncq_dev_err()
|