• Home
  • Raw
  • Download

Lines Matching refs:slotptr

147 static int str2slot(dir_slot *slotptr, const char *name, int *idx)  in str2slot()  argument
153 slotptr->name0_4[j] = 0; in str2slot()
154 slotptr->name0_4[j + 1] = 0; in str2slot()
158 slotptr->name0_4[j] = name[*idx]; in str2slot()
164 slotptr->name5_10[j] = 0; in str2slot()
165 slotptr->name5_10[j + 1] = 0; in str2slot()
169 slotptr->name5_10[j] = name[*idx]; in str2slot()
175 slotptr->name11_12[j] = 0; in str2slot()
176 slotptr->name11_12[j + 1] = 0; in str2slot()
180 slotptr->name11_12[j] = name[*idx]; in str2slot()
192 slotptr->name0_4[end_idx * 2] = 0xff; in str2slot()
193 slotptr->name0_4[end_idx * 2 + 1] = 0xff; in str2slot()
199 slotptr->name5_10[end_idx * 2] = 0xff; in str2slot()
200 slotptr->name5_10[end_idx * 2 + 1] = 0xff; in str2slot()
206 slotptr->name11_12[end_idx * 2] = 0xff; in str2slot()
207 slotptr->name11_12[end_idx * 2 + 1] = 0xff; in str2slot()
224 dir_slot *slotptr = (dir_slot *)temp_dir_slot_buffer; in fill_dir_slot() local
232 memset(slotptr, 0x00, sizeof(dir_slot)); in fill_dir_slot()
233 ret = str2slot(slotptr, l_name, &idx); in fill_dir_slot()
234 slotptr->id = ++counter; in fill_dir_slot()
235 slotptr->attr = ATTR_VFAT; in fill_dir_slot()
236 slotptr->alias_checksum = checksum; in fill_dir_slot()
237 slotptr++; in fill_dir_slot()
240 slotptr--; in fill_dir_slot()
241 slotptr->id |= LAST_LONG_ENTRY_MASK; in fill_dir_slot()
248 memcpy(*dentptr, slotptr, sizeof(dir_slot)); in fill_dir_slot()
250 slotptr--; in fill_dir_slot()
276 dir_slot *slotptr = (dir_slot *)(*retdent); in get_long_file_name() local
281 __u8 counter = (slotptr->id & ~LAST_LONG_ENTRY_MASK) & 0xff; in get_long_file_name()
289 while ((__u8 *)slotptr < buflimit) { in get_long_file_name()
292 if (((slotptr->id & ~LAST_LONG_ENTRY_MASK) & 0xff) != counter) in get_long_file_name()
294 slotptr++; in get_long_file_name()
298 if ((__u8 *)slotptr >= buflimit) { in get_long_file_name()
333 realdent = (dir_entry *)slotptr; in get_long_file_name()
337 slotptr--; in get_long_file_name()
338 if (slot2str(slotptr, l_name, &idx)) in get_long_file_name()
340 } while (!(slotptr->id & LAST_LONG_ENTRY_MASK)); in get_long_file_name()