Lines Matching refs:pos
69 int bitmapTestBit(unsigned char *bitmap, int pos);
3339 int bitmapTestBit(unsigned char *bitmap, int pos) { in bitmapTestBit() argument
3340 off_t byte = pos/8; in bitmapTestBit()
3341 int bit = pos&7; in bitmapTestBit()
3346 void bitmapSetBit(unsigned char *bitmap, int pos) { in bitmapSetBit() argument
3347 off_t byte = pos/8; in bitmapSetBit()
3348 int bit = pos&7; in bitmapSetBit()
3353 void bitmapClearBit(unsigned char *bitmap, int pos) { in bitmapClearBit() argument
3354 off_t byte = pos/8; in bitmapClearBit()
3355 int bit = pos&7; in bitmapClearBit()
4780 size_t pos = 0, towrite; in migrateCommand() local
4783 while ((towrite = sdslen(buf)-pos) > 0) { in migrateCommand()
4785 nwritten = syncWrite(cs->fd,buf+pos,towrite,timeout); in migrateCommand()
4790 pos += nwritten; in migrateCommand()