Lines Matching refs:slotptr
314 static int str2slot(dir_slot *slotptr, const char *name, int *idx) in str2slot() argument
320 slotptr->name0_4[j] = 0; in str2slot()
321 slotptr->name0_4[j + 1] = 0; in str2slot()
325 slotptr->name0_4[j] = name[*idx]; in str2slot()
331 slotptr->name5_10[j] = 0; in str2slot()
332 slotptr->name5_10[j + 1] = 0; in str2slot()
336 slotptr->name5_10[j] = name[*idx]; in str2slot()
342 slotptr->name11_12[j] = 0; in str2slot()
343 slotptr->name11_12[j + 1] = 0; in str2slot()
347 slotptr->name11_12[j] = name[*idx]; in str2slot()
359 slotptr->name0_4[end_idx * 2] = 0xff; in str2slot()
360 slotptr->name0_4[end_idx * 2 + 1] = 0xff; in str2slot()
366 slotptr->name5_10[end_idx * 2] = 0xff; in str2slot()
367 slotptr->name5_10[end_idx * 2 + 1] = 0xff; in str2slot()
373 slotptr->name11_12[end_idx * 2] = 0xff; in str2slot()
374 slotptr->name11_12[end_idx * 2 + 1] = 0xff; in str2slot()
394 dir_slot *slotptr = (dir_slot *)temp_dir_slot_buffer; in fill_dir_slot() local
402 memset(slotptr, 0x00, sizeof(dir_slot)); in fill_dir_slot()
403 ret = str2slot(slotptr, l_name, &idx); in fill_dir_slot()
404 slotptr->id = ++counter; in fill_dir_slot()
405 slotptr->attr = ATTR_VFAT; in fill_dir_slot()
406 slotptr->alias_checksum = checksum; in fill_dir_slot()
407 slotptr++; in fill_dir_slot()
410 slotptr--; in fill_dir_slot()
411 slotptr->id |= LAST_LONG_ENTRY_MASK; in fill_dir_slot()
414 memcpy(itr->dent, slotptr, sizeof(dir_slot)); in fill_dir_slot()
415 slotptr--; in fill_dir_slot()