Home
last modified time | relevance | path

Searched refs:addrmap (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/edac/
Dsynopsys_edac.c1086 static void setup_row_address_map(struct synps_edac_priv *priv, u32 *addrmap) in setup_row_address_map() argument
1091 priv->row_shift[0] = (addrmap[5] & ROW_MAX_VAL_MASK) + ROW_B0_BASE; in setup_row_address_map()
1092 priv->row_shift[1] = ((addrmap[5] >> 8) & in setup_row_address_map()
1095 addrmap_row_b2_10 = (addrmap[5] >> 16) & ROW_MAX_VAL_MASK; in setup_row_address_map()
1102 priv->row_shift[2] = (addrmap[9] & in setup_row_address_map()
1104 priv->row_shift[3] = ((addrmap[9] >> 8) & in setup_row_address_map()
1106 priv->row_shift[4] = ((addrmap[9] >> 16) & in setup_row_address_map()
1108 priv->row_shift[5] = ((addrmap[9] >> 24) & in setup_row_address_map()
1110 priv->row_shift[6] = (addrmap[10] & in setup_row_address_map()
1112 priv->row_shift[7] = ((addrmap[10] >> 8) & in setup_row_address_map()
[all …]
/linux-6.1.9/net/netlabel/
Dnetlabel_kapi.c103 struct netlbl_domaddr_map *addrmap = NULL; in netlbl_cfg_unlbl_map_add() local
120 addrmap = kzalloc(sizeof(*addrmap), GFP_ATOMIC); in netlbl_cfg_unlbl_map_add()
121 if (addrmap == NULL) in netlbl_cfg_unlbl_map_add()
123 INIT_LIST_HEAD(&addrmap->list4); in netlbl_cfg_unlbl_map_add()
124 INIT_LIST_HEAD(&addrmap->list6); in netlbl_cfg_unlbl_map_add()
138 &addrmap->list4); in netlbl_cfg_unlbl_map_add()
159 &addrmap->list6); in netlbl_cfg_unlbl_map_add()
169 entry->def.addrsel = addrmap; in netlbl_cfg_unlbl_map_add()
185 kfree(addrmap); in netlbl_cfg_unlbl_map_add()
332 struct netlbl_domaddr_map *addrmap = NULL; in netlbl_cfg_cipsov4_map_add() local
[all …]
Dnetlabel_mgmt.c81 struct netlbl_domaddr_map *addrmap = NULL; in netlbl_mgmt_add_common() local
153 addrmap = kzalloc(sizeof(*addrmap), GFP_KERNEL); in netlbl_mgmt_add_common()
154 if (addrmap == NULL) { in netlbl_mgmt_add_common()
158 INIT_LIST_HEAD(&addrmap->list4); in netlbl_mgmt_add_common()
159 INIT_LIST_HEAD(&addrmap->list6); in netlbl_mgmt_add_common()
187 ret_val = netlbl_af4list_add(&map->list, &addrmap->list4); in netlbl_mgmt_add_common()
193 entry->def.addrsel = addrmap; in netlbl_mgmt_add_common()
200 addrmap = kzalloc(sizeof(*addrmap), GFP_KERNEL); in netlbl_mgmt_add_common()
201 if (addrmap == NULL) { in netlbl_mgmt_add_common()
205 INIT_LIST_HEAD(&addrmap->list4); in netlbl_mgmt_add_common()
[all …]