Home
last modified time | relevance | path

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

/third_party/libdrm/nouveau/
Dpushbuf.c57 struct nouveau_pushbuf_krec *krec; member
84 struct nouveau_pushbuf_krec *krec = nvpb->krec; in pushbuf_kref_fits() local
95 if (krec->vram_used + bo->size > dev->vram_limit) in pushbuf_kref_fits()
97 krec->vram_used += bo->size; in pushbuf_kref_fits()
105 if (krec->gart_used + bo->size <= dev->gart_limit) { in pushbuf_kref_fits()
106 krec->gart_used += bo->size; in pushbuf_kref_fits()
114 krec->vram_used + bo->size <= dev->vram_limit) { in pushbuf_kref_fits()
116 krec->vram_used += bo->size; in pushbuf_kref_fits()
124 kref = krec->buffer; in pushbuf_kref_fits()
125 for (i = 0; i < krec->nr_buffer; i++, kref++) { in pushbuf_kref_fits()
[all …]
/third_party/python/Modules/
D_dbmmodule.c130 datum drec, krec; in dbm_subscript() local
134 if (!PyArg_Parse(key, "s#", &krec.dptr, &tmp_size)) { in dbm_subscript()
138 krec.dsize = tmp_size; in dbm_subscript()
140 drec = dbm_fetch(dp->di_dbm, krec); in dbm_subscript()
156 datum krec, drec; in dbm_ass_sub() local
159 if ( !PyArg_Parse(v, "s#", &krec.dptr, &tmp_size) ) { in dbm_ass_sub()
166 krec.dsize = tmp_size; in dbm_ass_sub()
173 if ( dbm_delete(dp->di_dbm, krec) < 0 ) { in dbm_ass_sub()
192 if ( dbm_store(dp->di_dbm, krec, drec, DBM_REPLACE) < 0 ) { in dbm_ass_sub()
D_gdbmmodule.c189 datum drec, krec; in gdbm_subscript() local
192 if (!parse_datum(key, &krec, NULL)) { in gdbm_subscript()
200 drec = gdbm_fetch(dp->di_dbm, krec); in gdbm_subscript()
238 datum krec, drec; in gdbm_ass_sub() local
242 if (!parse_datum(v, &krec, failmsg)) { in gdbm_ass_sub()
252 if (gdbm_delete(dp->di_dbm, krec) < 0) { in gdbm_ass_sub()
267 if (gdbm_store(dp->di_dbm, krec, drec, GDBM_REPLACE) < 0) { in gdbm_ass_sub()