/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/ |
nouveau_nvkm_subdev_instmem_nv50.c | 63 refcount_t maps; member in struct:nv50_instobj 250 if (refcount_dec_and_mutex_lock(&iobj->maps, &subdev->mutex)) { 274 if (refcount_inc_not_zero(&iobj->maps)) 281 if (refcount_inc_not_zero(&iobj->maps)) { 293 if (!refcount_inc_not_zero(&iobj->maps)) { 302 refcount_set(&iobj->maps, 1); 421 refcount_set(&iobj->maps, 0);
|
/src/usr.sbin/ypserv/ypserv/ |
ypserv_db.c | 67 LIST_HEAD(maplist, opt_map); /* LIST of maps (in a domain) */ 68 TAILQ_HEAD(mapq, opt_map); /* TAILQ of maps (LRU) */ 85 struct maplist dmaps; /* the domain's active maps */ 90 struct mapq maps; /* global queue of maps (LRU) */ variable in typeref:struct:mapq 109 TAILQ_INIT(&maps); 164 TAILQ_REMOVE(&maps, map, mapsq); /* remove from LRU tailq */ 180 * no more file descriptors free, or we want to close all maps. 187 if (TAILQ_EMPTY(&maps)) { 192 last = TAILQ_LAST(&maps, mapq) [all...] |
/src/sys/dev/marvell/ |
gtpci.c | 268 } maps[] = { local in function:gtpci_barinit 320 for (map = 0; maps[map].tag != MARVELL_TAG_UNDEFINED; map++) { 321 rv = marvell_winparams_by_tag(pdev, maps[map].tag, NULL, NULL, 326 if (maps[map].bars[sc->sc_unit] != -1) 328 maps[map].bars[sc->sc_unit], GTPCI_BARSIZE(size)); 329 bare &= ~maps[map].bare; 332 if (maps[map].func != -1) { 339 tag = gtpci_make_tag(NULL, bus, dev, maps[map].func); 340 reg = gtpci_conf_read(sc, tag, maps[map].balow); 343 gtpci_conf_write(sc, tag, maps[map].balow, reg) [all...] |
/src/sys/fs/udf/ |
ecma167-udf.h | 395 uint32_t n_pm; /* Number of partition maps */ 399 uint8_t maps[1]; member in struct:logvol_desc
|
/src/sys/dev/pci/ |
if_vioif.c | 1158 struct vioif_net_map *maps; local in function:vioif_alloc_mems 1172 maps = sc->sc_netqs[qid].netq_maps; 1174 dmamemsize += sizeof(*maps[0].vnm_hdr) * vq_num; 1212 maps = netq->netq_maps; 1216 sizeof(*maps[0].vnm_hdr) * vq_num); 1293 maps = netq->netq_maps; 1298 maps[i].vnm_hdr = &hdrs[i]; 1300 r = vioif_dmamap_create_load(sc, &maps[i].vnm_hdr_map, 1301 maps[i].vnm_hdr, sc->sc_hdr_size, 1, 1306 r = vioif_dmamap_create(sc, &maps[i].vnm_mbuf_map [all...] |
if_iavf.c | 2218 struct iavf_tx_map *maps; local in function:iavf_txr_alloc 2226 maps = kmem_zalloc(sizeof(maps[0]) * sc->sc_tx_ring_ndescs, 2228 if (maps == NULL) 2240 BUS_DMA_NOWAIT | BUS_DMA_ALLOCNOW, &maps[i].txm_map); 2275 txr->txr_maps = maps; 2285 if (maps[i].txm_map == NULL) 2287 bus_dmamap_destroy(sc->sc_dmat, maps[i].txm_map); 2292 kmem_free(maps, sizeof(maps[0]) * sc->sc_tx_ring_ndescs) 2301 struct iavf_tx_map *maps; local in function:iavf_txr_free 2335 struct iavf_rx_map *maps; local in function:iavf_rxr_alloc 2405 struct iavf_rx_map *maps; local in function:iavf_rxr_free 2755 struct iavf_rx_map *maps, *rxm; local in function:iavf_rxr_clean 3199 struct iavf_tx_map *maps, *txm; local in function:iavf_txr_clean [all...] |
if_ixl.c | 2360 struct ixl_tx_map *maps = NULL, *txm; local in function:ixl_txr_alloc 2364 maps = kmem_zalloc(sizeof(maps[0]) * sc->sc_tx_ring_ndescs, 2373 txm = &maps[i]; 2385 txr->txr_maps = maps; 2407 txm = &maps[i]; 2417 kmem_free(maps, sizeof(maps[0]) * sc->sc_tx_ring_ndescs); 2479 struct ixl_tx_map *maps, *txm; local in function:ixl_txr_clean 2483 maps = txr->txr_maps 2541 struct ixl_tx_map *maps, *txm; local in function:ixl_txr_free 2940 struct ixl_rx_map *maps = NULL, *rxm; local in function:ixl_rxr_alloc 2995 struct ixl_rx_map *maps, *rxm; local in function:ixl_rxr_clean 3110 struct ixl_rx_map *maps, *rxm; local in function:ixl_rxr_free [all...] |