Lines Matching refs:slotptr
146 static int str2slot(dir_slot *slotptr, const char *name, int *idx) in str2slot() argument
152 slotptr->name0_4[j] = 0; in str2slot()
153 slotptr->name0_4[j + 1] = 0; in str2slot()
157 slotptr->name0_4[j] = name[*idx]; in str2slot()
163 slotptr->name5_10[j] = 0; in str2slot()
164 slotptr->name5_10[j + 1] = 0; in str2slot()
168 slotptr->name5_10[j] = name[*idx]; in str2slot()
174 slotptr->name11_12[j] = 0; in str2slot()
175 slotptr->name11_12[j + 1] = 0; in str2slot()
179 slotptr->name11_12[j] = name[*idx]; in str2slot()
191 slotptr->name0_4[end_idx * 2] = 0xff; in str2slot()
192 slotptr->name0_4[end_idx * 2 + 1] = 0xff; in str2slot()
198 slotptr->name5_10[end_idx * 2] = 0xff; in str2slot()
199 slotptr->name5_10[end_idx * 2 + 1] = 0xff; in str2slot()
205 slotptr->name11_12[end_idx * 2] = 0xff; in str2slot()
206 slotptr->name11_12[end_idx * 2 + 1] = 0xff; in str2slot()
222 dir_slot *slotptr = (dir_slot *)temp_dir_slot_buffer; in fill_dir_slot() local
230 memset(slotptr, 0x00, sizeof(dir_slot)); in fill_dir_slot()
231 ret = str2slot(slotptr, l_name, &idx); in fill_dir_slot()
232 slotptr->id = ++counter; in fill_dir_slot()
233 slotptr->attr = ATTR_VFAT; in fill_dir_slot()
234 slotptr->alias_checksum = checksum; in fill_dir_slot()
235 slotptr++; in fill_dir_slot()
238 slotptr--; in fill_dir_slot()
239 slotptr->id |= LAST_LONG_ENTRY_MASK; in fill_dir_slot()
242 memcpy(itr->dent, slotptr, sizeof(dir_slot)); in fill_dir_slot()
243 slotptr--; in fill_dir_slot()