Lines Matching refs:nmaps
60 This->nmaps = 0; in NineBuffer9_ctor()
192 assert(!This->nmaps); in NineBuffer9_dtor()
365 if (This->nmaps == This->maxmaps) { in NineBuffer9_Lock()
394 if (This->nmaps >= 1) in NineBuffer9_Lock()
395 This->maps[This->nmaps-1].should_destroy_buf = true; in NineBuffer9_Lock()
403 This->maps[This->nmaps].transfer = NULL; in NineBuffer9_Lock()
404 This->maps[This->nmaps].is_pipe_secondary = false; in NineBuffer9_Lock()
405 This->maps[This->nmaps].buf = NULL; in NineBuffer9_Lock()
406 This->maps[This->nmaps].should_destroy_buf = false; in NineBuffer9_Lock()
411 if (This->nmaps >= 1) in NineBuffer9_Lock()
412 This->maps[This->nmaps-1].should_destroy_buf = true; in NineBuffer9_Lock()
427 This->maps[This->nmaps].buf = This->buf; in NineBuffer9_Lock()
428 This->nmaps++; in NineBuffer9_Lock()
468 This->maps[This->nmaps].is_pipe_secondary = TRUE; in NineBuffer9_Lock()
471 This->maps[This->nmaps].is_pipe_secondary = TRUE; in NineBuffer9_Lock()
473 if (This->maps[This->nmaps].is_pipe_secondary) in NineBuffer9_Lock()
479 usage, &box, &This->maps[This->nmaps].transfer); in NineBuffer9_Lock()
494 This->nmaps++; in NineBuffer9_Lock()
515 for (i = 0; i < This->nmaps; i++) { in NineBuffer9_Unlock()
529 This->nmaps = 0; in NineBuffer9_Unlock()