Lines Matching refs:work
351 unsigned char work[MSDOS_NAME]; in fat_search_long() local
383 memcpy(work, de->name, sizeof(de->name)); in fat_search_long()
385 if (work[0] == 0x05) in fat_search_long()
386 work[0] = 0xE5; in fat_search_long()
388 if (!work[i]) in fat_search_long()
390 chl = fat_shortname2uni(nls_disk, &work[i], 8 - i, in fat_search_long()
394 if (work[i] != ' ') in fat_search_long()
404 if (!work[i]) in fat_search_long()
406 chl = fat_shortname2uni(nls_disk, &work[i], in fat_search_long()
411 if (work[i] != ' ') in fat_search_long()
476 unsigned char c, work[MSDOS_NAME]; in __fat_readdir() local
568 memcpy(work, de->name, sizeof(de->name)); in __fat_readdir()
570 if (work[0] == 0x05) in __fat_readdir()
571 work[0] = 0xE5; in __fat_readdir()
573 if (!(c = work[i])) in __fat_readdir()
575 chl = fat_shortname2uni(nls_disk, &work[i], 8 - i, in __fat_readdir()
587 ptname[i] = work[i]; in __fat_readdir()
597 if (!(c = work[i2])) in __fat_readdir()
599 chl = fat_shortname2uni(nls_disk, &work[i2], MSDOS_NAME - i2, in __fat_readdir()
612 ptname[i++] = work[i2++]; in __fat_readdir()