Searched defs:wanted (Results 1 - 2 of 2) sorted by relevance
/ast/src/lib/libast/sfio/ |
H A D | sfmode.c | 362 int _sfmode(reg Sfio_t* f, reg int wanted, reg int local) argument 364 int _sfmode(f, wanted, local) 366 reg int wanted; /* desired mode */ 376 if(wanted&SF_SYNCED) /* for (SF_SYNCED|SF_READ) stream, just junk data */ 377 { wanted &= ~SF_SYNCED; 424 if(f->disc == _Sfudisc && wanted == SF_WRITE && 442 wanted &= SF_RDWR; 450 if(wanted == 0) 453 if(wanted != (int)(f->mode&SF_RDWR) && !(f->flags&wanted) ) [all...] |
/ast/src/lib/libast/vmalloc/ |
H A D | vmbest.c | 245 static Block_t* bestsearch(Vmdata_t* vd, reg size_t size, Block_t* wanted) argument 247 static Block_t* bestsearch(vd, size, wanted) 250 Block_t* wanted; 258 if((root = wanted) && size == TINYSIZE) 354 /**/ASSERT(!wanted || wanted == root); 361 static int bestreclaim(reg Vmdata_t* vd, Block_t* wanted, int c) argument 363 static int bestreclaim(vd, wanted, c) 365 Block_t* wanted; 381 saw_wanted = wanted [all...] |
Completed in 12 milliseconds