The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/fs/ntfs/util.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * util.h - Header file for util.c
    3  *
    4  * Copyright (C) 1997 Régis Duchesne
    5  * Copyright (C) 2001 Anton Altaparmakov (AIA)
    6  */
    7 
    8 /* The first 16 inodes correspond to NTFS special files. */
    9 typedef enum {
   10         FILE_Mft        = 0,
   11         FILE_MftMirr    = 1,
   12         FILE_LogFile    = 2,
   13         FILE_Volume     = 3,
   14         FILE_AttrDef    = 4,
   15         FILE_root       = 5,
   16         FILE_BitMap     = 6,
   17         FILE_Boot       = 7,
   18         FILE_BadClus    = 8,
   19         FILE_Secure     = 9,
   20         FILE_UpCase     = 10,
   21         FILE_Extend     = 11,
   22         FILE_Reserved12 = 12,
   23         FILE_Reserved13 = 13,
   24         FILE_Reserved14 = 14,
   25         FILE_Reserved15 = 15,
   26 } NTFS_SYSTEM_FILES;
   27  
   28 /* Memory management */
   29 void *ntfs_calloc(int size);
   30 
   31 /* String operations */
   32 /*  Copy Unicode <-> ASCII */
   33 void ntfs_ascii2uni(short int *to, char *from, int len);
   34 
   35 /*  Comparison */
   36 int ntfs_uni_strncmp(short int* a, short int *b, int n);
   37 int ntfs_ua_strncmp(short int* a, char* b, int n);
   38 
   39 /* Same address space copies */
   40 void ntfs_put(ntfs_io *dest, void *src, ntfs_size_t n);
   41 void ntfs_get(void* dest, ntfs_io *src, ntfs_size_t n);
   42 
   43 /* Charset conversion */
   44 int ntfs_encodeuni(ntfs_volume *vol, ntfs_u16 *in, int in_len, char **out,
   45                    int *out_len);
   46 int ntfs_decodeuni(ntfs_volume *vol, char *in, int in_len, ntfs_u16 **out,
   47                    int *out_len);
   48 
   49 /* Time conversion */
   50 /*  NT <-> Unix */
   51 ntfs_time_t ntfs_ntutc2unixutc(ntfs_time64_t ntutc);
   52 ntfs_time64_t ntfs_unixutc2ntutc(ntfs_time_t t);
   53 
   54 /* Attribute names */
   55 void ntfs_indexname(char *buf, int type);
   56 

Cache object: 30b65a5c4be2990051e1fe57d47dc24c


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.