Home
last modified time | relevance | path

Searched refs:newmap (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/infiniband/hw/hfi1/
A Dpio.c1880 struct pio_vl_map *oldmap, *newmap; in pio_map_init() local
1896 newmap = kzalloc(struct_size(newmap, map, roundup_pow_of_two(num_vls)), in pio_map_init()
1898 if (!newmap) in pio_map_init()
1900 newmap->actual_vls = num_vls; in pio_map_init()
1902 newmap->mask = (1 << ilog2(newmap->vls)) - 1; in pio_map_init()
1907 if (i < newmap->actual_vls) { in pio_map_init()
1911 newmap->map[i] = kzalloc(struct_size(newmap->map[i], in pio_map_init()
1914 if (!newmap->map[i]) in pio_map_init()
1923 newmap->map[i]->ksc[j] = in pio_map_init()
1934 newmap->map[i] = newmap->map[i % num_vls]; in pio_map_init()
[all …]
A Dsdma.c1181 newmap = kzalloc( in sdma_map_init()
1186 if (!newmap) in sdma_map_init()
1188 newmap->actual_vls = num_vls; in sdma_map_init()
1190 newmap->mask = (1 << ilog2(newmap->vls)) - 1; in sdma_map_init()
1193 newmap->engine_to_vl[i] = -1; in sdma_map_init()
1198 if (i < newmap->actual_vls) { in sdma_map_init()
1202 newmap->map[i] = kzalloc( in sdma_map_init()
1206 if (!newmap->map[i]) in sdma_map_init()
1211 newmap->map[i]->sde[j] = in sdma_map_init()
1222 newmap->map[i] = newmap->map[i % num_vls]; in sdma_map_init()
[all …]
/linux/drivers/s390/crypto/
A Dap_bus.c1153 unsigned long *newmap) in ap_parse_bitmap_str() argument
1160 memcpy(newmap, bitmap, size); in ap_parse_bitmap_str()
1161 rc = modify_bitmap(str, newmap, bits); in ap_parse_bitmap_str()
1163 memset(newmap, 0, size); in ap_parse_bitmap_str()
1164 rc = ap_hex2bitmap(str, newmap, bits); in ap_parse_bitmap_str()
1173 unsigned long *newmap, size; in ap_parse_mask_str() local
1181 newmap = kmalloc(size, GFP_KERNEL); in ap_parse_mask_str()
1182 if (!newmap) in ap_parse_mask_str()
1185 kfree(newmap); in ap_parse_mask_str()
1190 memcpy(bitmap, newmap, size); in ap_parse_mask_str()
[all …]
/linux/fs/ceph/
A Dmds_client.c5013 struct ceph_mdsmap *newmap, in check_new_map() argument
5024 if (newmap->m_info) { in check_new_map()
5045 if (i >= newmap->possible_max_rank) { in check_new_map()
5065 ceph_mdsmap_get_addr(newmap, i), in check_new_map()
5158 if (!ceph_mdsmap_is_laggy(newmap, i)) in check_new_map()
6135 struct ceph_mdsmap *newmap, *oldmap; in ceph_mdsc_handle_mdsmap() local
6156 if (IS_ERR(newmap)) { in ceph_mdsc_handle_mdsmap()
6157 err = PTR_ERR(newmap); in ceph_mdsc_handle_mdsmap()
6164 mdsc->mdsmap = newmap; in ceph_mdsc_handle_mdsmap()
6165 check_new_map(mdsc, newmap, oldmap); in ceph_mdsc_handle_mdsmap()
[all …]
/linux/drivers/scsi/megaraid/
A Dmegaraid_sas_base.c2558 newmap = new_affiliation->map; in megasas_get_ld_vf_affiliation_12()
2565 if (newmap->ref.targetId == in megasas_get_ld_vf_affiliation_12()
2568 if (newmap->policy[thisVf] != in megasas_get_ld_vf_affiliation_12()
2583 newmap = (struct MR_LD_VF_MAP *) in megasas_get_ld_vf_affiliation_12()
2584 ((unsigned char *)newmap + newmap->size); in megasas_get_ld_vf_affiliation_12()
2587 newmap = new_affiliation->map; in megasas_get_ld_vf_affiliation_12()
2594 newmap->ref.targetId) { in megasas_get_ld_vf_affiliation_12()
2597 newmap->policy[thisVf]) { in megasas_get_ld_vf_affiliation_12()
2602 newmap = (struct MR_LD_VF_MAP *) in megasas_get_ld_vf_affiliation_12()
2603 ((unsigned char *)newmap + in megasas_get_ld_vf_affiliation_12()
[all …]
/linux/net/ceph/
A Dosd_client.c4028 struct ceph_osdmap *newmap; in handle_one_map() local
4037 newmap = osdmap_apply_incremental(&p, end, in handle_one_map()
4041 newmap = ceph_osdmap_decode(&p, end, ceph_msgr2(osdc->client)); in handle_one_map()
4042 if (IS_ERR(newmap)) in handle_one_map()
4043 return PTR_ERR(newmap); in handle_one_map()
4045 if (newmap != osdc->osdmap) { in handle_one_map()
4051 for (n = rb_first(&newmap->pg_pools); n; n = rb_next(n)) { in handle_one_map()
4064 osdc->osdmap->epoch + 1 < newmap->epoch) { in handle_one_map()
4070 osdc->osdmap = newmap; in handle_one_map()
/linux/Documentation/admin-guide/
A Dspkguide.txt945 file name, perhaps newmap.map. Then exit your editor and return to the
949 Assuming that you saved your new keymap as the file newmap.map, you
952 /usr/src/linux-<version_number>/drivers/char/speakup/genmap newmap.map

Completed in 55 milliseconds