Lines Matching defs:Dir
340 static __inline__ clash_action get_slots(Stream_t *Dir,
354 doscp_t *cp = GET_DOSCONVERT(Dir);
358 entry.Dir = Dir;
377 switch (lookupForInsert(Dir,
474 static __inline__ int write_slots(Stream_t *Dir,
485 if (fat_error(Dir))
488 entry.Dir = Dir;
496 ssp->slot = write_vfat(Dir, dosname, longname,
500 write_vfat(Dir, dosname, 0,
503 /* clear_vses(Dir, ssp->free_start + ssp->size_needed,
524 static int _mwrite_one(Stream_t *Dir,
537 doscp_t *cp = GET_DOSCONVERT(Dir);
586 switch((ret=get_slots(Dir, &dosname, longname, &scan, ch))){
617 if (dir_grow(Dir, scan.max_entry))
622 return write_slots(Dir, &dosname, longname,
635 int mwrite_one(Stream_t *Dir,
654 ret = _mwrite_one(Dir, argname, shortname, cb, arg, ch);