/external/pdfium/third_party/libtiff/ |
D | tif_write.c | 35 #define WRITECHECKSTRIPS(tif, module) \ argument 36 (((tif)->tif_flags & TIFF_BEENWRITING) || TIFFWriteCheck((tif), 0, module)) 37 #define WRITECHECKTILES(tif, module) \ argument 38 (((tif)->tif_flags & TIFF_BEENWRITING) || TIFFWriteCheck((tif), 1, module)) 39 #define BUFFERCHECK(tif) \ argument 40 ((((tif)->tif_flags & TIFF_BUFFERSETUP) && tif->tif_rawdata) || \ 41 TIFFWriteBufferSetup((tif), NULL, (tmsize_t)-1)) 43 static int TIFFGrowStrips(TIFF *tif, uint32_t delta, const char *module); 44 static int TIFFAppendToStrip(TIFF *tif, uint32_t strip, uint8_t *data, 47 int TIFFWriteScanline(TIFF *tif, void *buf, uint32_t row, uint16_t sample) in TIFFWriteScanline() argument [all …]
|
D | tif_read.c | 32 int TIFFFillStrip(TIFF *tif, uint32_t strip); 33 int TIFFFillTile(TIFF *tif, uint32_t tile); 34 static int TIFFStartStrip(TIFF *tif, uint32_t strip); 35 static int TIFFStartTile(TIFF *tif, uint32_t tile); 37 static tmsize_t TIFFReadRawStrip1(TIFF *tif, uint32_t strip, void *buf, 39 static tmsize_t TIFFReadRawTile1(TIFF *tif, uint32_t tile, void *buf, 55 static int TIFFReadAndRealloc(TIFF *tif, tmsize_t size, tmsize_t rawdata_offset, in TIFFReadAndRealloc() argument 69 uint64_t filesize = TIFFGetFileSize(tif); in TIFFReadAndRealloc() 72 TIFFErrorExtR(tif, module, in TIFFReadAndRealloc() 91 already_read + to_read + rawdata_offset > tif->tif_rawdatasize) in TIFFReadAndRealloc() [all …]
|
D | tif_open.c | 109 static void _TIFFEmitErrorAboveMaxSingleMemAlloc(TIFF *tif, in _TIFFEmitErrorAboveMaxSingleMemAlloc() argument 113 TIFFErrorExtR(tif, pszFunction, in _TIFFEmitErrorAboveMaxSingleMemAlloc() 117 (uint64_t)s, (uint64_t)tif->tif_max_single_mem_alloc); in _TIFFEmitErrorAboveMaxSingleMemAlloc() 121 void *_TIFFmallocExt(TIFF *tif, tmsize_t s) in _TIFFmallocExt() argument 123 if (tif != NULL && tif->tif_max_single_mem_alloc > 0 && in _TIFFmallocExt() 124 s > tif->tif_max_single_mem_alloc) in _TIFFmallocExt() 126 _TIFFEmitErrorAboveMaxSingleMemAlloc(tif, "_TIFFmallocExt", s); in _TIFFmallocExt() 133 void *_TIFFcallocExt(TIFF *tif, tmsize_t nmemb, tmsize_t siz) in _TIFFcallocExt() argument 135 if (tif != NULL && tif->tif_max_single_mem_alloc > 0) in _TIFFcallocExt() 139 if (nmemb * siz > tif->tif_max_single_mem_alloc) in _TIFFcallocExt() [all …]
|
D | tif_dirwrite.c | 35 #define TIFFCvtNativeToIEEEFloat(tif, n, fp) argument 36 #define TIFFCvtNativeToIEEEDouble(tif, n, dp) argument 38 extern void TIFFCvtNativeToIEEEFloat(TIFF *tif, uint32_t n, float *fp); 39 extern void TIFFCvtNativeToIEEEDouble(TIFF *tif, uint32_t n, double *dp); 42 static int TIFFWriteDirectorySec(TIFF *tif, int isimage, int imagedone, 45 static int TIFFWriteDirectoryTagSampleformatArray(TIFF *tif, uint32_t *ndir, 50 static int TIFFWriteDirectoryTagAscii(TIFF *tif, uint32_t *ndir, 53 static int TIFFWriteDirectoryTagUndefinedArray(TIFF *tif, uint32_t *ndir, 56 static int TIFFWriteDirectoryTagByteArray(TIFF *tif, uint32_t *ndir, 59 static int TIFFWriteDirectoryTagSbyteArray(TIFF *tif, uint32_t *ndir, [all …]
|
D | tif_flush.c | 30 int TIFFFlush(TIFF *tif) in TIFFFlush() argument 32 if (tif->tif_mode == O_RDONLY) in TIFFFlush() 35 if (!TIFFFlushData(tif)) in TIFFFlush() 43 if ((tif->tif_flags & TIFF_DIRTYSTRIP) && in TIFFFlush() 44 !(tif->tif_flags & TIFF_DIRTYDIRECT) && tif->tif_mode == O_RDWR) in TIFFFlush() 46 if (TIFFForceStrileArrayWriting(tif)) in TIFFFlush() 50 if ((tif->tif_flags & (TIFF_DIRTYDIRECT | TIFF_DIRTYSTRIP)) && in TIFFFlush() 51 !TIFFRewriteDirectory(tif)) in TIFFFlush() 76 int TIFFForceStrileArrayWriting(TIFF *tif) in TIFFForceStrileArrayWriting() argument 79 const int isTiled = TIFFIsTiled(tif); in TIFFForceStrileArrayWriting() [all …]
|
D | tif_close.c | 44 void TIFFCleanup(TIFF *tif) in TIFFCleanup() argument 49 if (tif->tif_mode != O_RDONLY) in TIFFCleanup() 50 TIFFFlush(tif); in TIFFCleanup() 51 (*tif->tif_cleanup)(tif); in TIFFCleanup() 52 TIFFFreeDirectory(tif); in TIFFCleanup() 54 TIFFHashSetDestroy(tif->tif_map_dir_offset_to_number); in TIFFCleanup() 55 TIFFHashSetDestroy(tif->tif_map_dir_number_to_offset); in TIFFCleanup() 60 while (tif->tif_clientinfo) in TIFFCleanup() 62 TIFFClientInfoLink *psLink = tif->tif_clientinfo; in TIFFCleanup() 64 tif->tif_clientinfo = psLink->next; in TIFFCleanup() [all …]
|
D | tif_predict.c | 33 #define PredictorState(tif) ((TIFFPredictorState *)(tif)->tif_data) argument 35 static int horAcc8(TIFF *tif, uint8_t *cp0, tmsize_t cc); 36 static int horAcc16(TIFF *tif, uint8_t *cp0, tmsize_t cc); 37 static int horAcc32(TIFF *tif, uint8_t *cp0, tmsize_t cc); 38 static int horAcc64(TIFF *tif, uint8_t *cp0, tmsize_t cc); 39 static int swabHorAcc16(TIFF *tif, uint8_t *cp0, tmsize_t cc); 40 static int swabHorAcc32(TIFF *tif, uint8_t *cp0, tmsize_t cc); 41 static int swabHorAcc64(TIFF *tif, uint8_t *cp0, tmsize_t cc); 42 static int horDiff8(TIFF *tif, uint8_t *cp0, tmsize_t cc); 43 static int horDiff16(TIFF *tif, uint8_t *cp0, tmsize_t cc); [all …]
|
D | tif_fax3.c | 64 #define Fax3State(tif) ((Fax3BaseState *)(tif)->tif_data) argument 94 #define DecoderState(tif) ((Fax3CodecState *)Fax3State(tif)) argument 95 #define EncoderState(tif) ((Fax3CodecState *)Fax3State(tif)) argument 108 #define DECLARE_STATE(tif, sp, mod) \ argument 110 Fax3CodecState *sp = DecoderState(tif); \ 123 #define DECLARE_STATE_2D(tif, sp, mod) \ argument 124 DECLARE_STATE(tif, sp, mod); \ 131 #define CACHE_STATE(tif, sp) \ argument 137 cp = (unsigned char *)tif->tif_rawcp; \ 138 ep = cp + tif->tif_rawcc; \ [all …]
|
D | tif_dirread.c | 47 #define TIFFCvtIEEEFloatToNative(tif, n, fp) argument 48 #define TIFFCvtIEEEDoubleToNative(tif, n, dp) argument 67 TIFFReadDirEntryByte(TIFF *tif, TIFFDirEntry *direntry, uint8_t *value); 69 TIFFReadDirEntrySbyte(TIFF *tif, TIFFDirEntry *direntry, int8_t *value); 71 TIFFReadDirEntryShort(TIFF *tif, TIFFDirEntry *direntry, uint16_t *value); 73 TIFFReadDirEntrySshort(TIFF *tif, TIFFDirEntry *direntry, int16_t *value); 75 TIFFReadDirEntryLong(TIFF *tif, TIFFDirEntry *direntry, uint32_t *value); 77 TIFFReadDirEntrySlong(TIFF *tif, TIFFDirEntry *direntry, int32_t *value); 79 TIFFReadDirEntryLong8(TIFF *tif, TIFFDirEntry *direntry, uint64_t *value); 81 TIFFReadDirEntrySlong8(TIFF *tif, TIFFDirEntry *direntry, int64_t *value); [all …]
|
D | tif_dir.c | 43 static void setByteArray(TIFF *tif, void **vpp, const void *vp, size_t nmemb, in setByteArray() argument 48 _TIFFfreeExt(tif, *vpp); in setByteArray() 55 *vpp = (void *)_TIFFmallocExt(tif, bytes); in setByteArray() 64 void _TIFFsetByteArrayExt(TIFF *tif, void **vpp, const void *vp, uint32_t n) in _TIFFsetByteArrayExt() argument 66 setByteArray(tif, vpp, vp, n, 1); in _TIFFsetByteArrayExt() 69 static void _TIFFsetNString(TIFF *tif, char **cpp, const char *cp, uint32_t n) in _TIFFsetNString() argument 71 setByteArray(tif, (void **)cpp, cp, n, 1); in _TIFFsetNString() 78 void _TIFFsetShortArrayExt(TIFF *tif, uint16_t **wpp, const uint16_t *wp, in _TIFFsetShortArrayExt() argument 81 setByteArray(tif, (void **)wpp, wp, n, sizeof(uint16_t)); in _TIFFsetShortArrayExt() 88 void _TIFFsetLongArrayExt(TIFF *tif, uint32_t **lpp, const uint32_t *lp, in _TIFFsetLongArrayExt() argument [all …]
|
D | tif_dumpmode.c | 32 static int DumpFixupTags(TIFF *tif) in DumpFixupTags() argument 34 (void)tif; in DumpFixupTags() 41 static int DumpModeEncode(TIFF *tif, uint8_t *pp, tmsize_t cc, uint16_t s) in DumpModeEncode() argument 49 if (tif->tif_rawcc + n > tif->tif_rawdatasize) in DumpModeEncode() 50 n = tif->tif_rawdatasize - tif->tif_rawcc; in DumpModeEncode() 58 if (tif->tif_rawcp != pp) in DumpModeEncode() 59 _TIFFmemcpy(tif->tif_rawcp, pp, n); in DumpModeEncode() 60 tif->tif_rawcp += n; in DumpModeEncode() 61 tif->tif_rawcc += n; in DumpModeEncode() 64 if (tif->tif_rawcc >= tif->tif_rawdatasize && !TIFFFlushData1(tif)) in DumpModeEncode() [all …]
|
D | tif_compress.c | 32 static int TIFFNoEncode(TIFF *tif, const char *method) in TIFFNoEncode() argument 34 const TIFFCodec *c = TIFFFindCODEC(tif->tif_dir.td_compression); in TIFFNoEncode() 38 TIFFErrorExtR(tif, tif->tif_name, "%s %s encoding is not implemented", in TIFFNoEncode() 43 TIFFErrorExtR(tif, tif->tif_name, in TIFFNoEncode() 46 tif->tif_dir.td_compression, method); in TIFFNoEncode() 51 int _TIFFNoRowEncode(TIFF *tif, uint8_t *pp, tmsize_t cc, uint16_t s) in _TIFFNoRowEncode() argument 56 return (TIFFNoEncode(tif, "scanline")); in _TIFFNoRowEncode() 59 int _TIFFNoStripEncode(TIFF *tif, uint8_t *pp, tmsize_t cc, uint16_t s) in _TIFFNoStripEncode() argument 64 return (TIFFNoEncode(tif, "strip")); in _TIFFNoStripEncode() 67 int _TIFFNoTileEncode(TIFF *tif, uint8_t *pp, tmsize_t cc, uint16_t s) in _TIFFNoTileEncode() argument [all …]
|
D | tif_strip.c | 35 uint32_t TIFFComputeStrip(TIFF *tif, uint32_t row, uint16_t sample) in TIFFComputeStrip() argument 38 TIFFDirectory *td = &tif->tif_dir; in TIFFComputeStrip() 46 TIFFErrorExtR(tif, module, "%lu: Sample out of range, max %lu", in TIFFComputeStrip() 59 uint32_t TIFFNumberOfStrips(TIFF *tif) in TIFFNumberOfStrips() argument 61 TIFFDirectory *td = &tif->tif_dir; in TIFFNumberOfStrips() 69 _TIFFMultiply32(tif, nstrips, (uint32_t)td->td_samplesperpixel, in TIFFNumberOfStrips() 77 uint64_t TIFFVStripSize64(TIFF *tif, uint32_t nrows) in TIFFVStripSize64() argument 80 TIFFDirectory *td = &tif->tif_dir; in TIFFVStripSize64() 84 (td->td_photometric == PHOTOMETRIC_YCBCR) && (!isUpSampled(tif))) in TIFFVStripSize64() 102 TIFFErrorExtR(tif, module, "Invalid td_samplesperpixel value"); in TIFFVStripSize64() [all …]
|
D | tif_packbits.c | 34 static int PackBitsPreEncode(TIFF *tif, uint16_t s) in PackBitsPreEncode() argument 38 tif->tif_data = (uint8_t *)_TIFFmallocExt(tif, sizeof(tmsize_t)); in PackBitsPreEncode() 39 if (tif->tif_data == NULL) in PackBitsPreEncode() 44 if (isTiled(tif)) in PackBitsPreEncode() 45 *(tmsize_t *)tif->tif_data = TIFFTileRowSize(tif); in PackBitsPreEncode() 47 *(tmsize_t *)tif->tif_data = TIFFScanlineSize(tif); in PackBitsPreEncode() 51 static int PackBitsPostEncode(TIFF *tif) in PackBitsPostEncode() argument 53 if (tif->tif_data) in PackBitsPostEncode() 54 _TIFFfreeExt(tif, tif->tif_data); in PackBitsPostEncode() 61 static int PackBitsEncode(TIFF *tif, uint8_t *buf, tmsize_t cc, uint16_t s) in PackBitsEncode() argument [all …]
|
D | tif_tile.c | 35 uint32_t TIFFComputeTile(TIFF *tif, uint32_t x, uint32_t y, uint32_t z, in TIFFComputeTile() argument 38 TIFFDirectory *td = &tif->tif_dir; in TIFFComputeTile() 71 int TIFFCheckTile(TIFF *tif, uint32_t x, uint32_t y, uint32_t z, uint16_t s) in TIFFCheckTile() argument 73 TIFFDirectory *td = &tif->tif_dir; in TIFFCheckTile() 77 TIFFErrorExtR(tif, tif->tif_name, "%lu: Col out of range, max %lu", in TIFFCheckTile() 83 TIFFErrorExtR(tif, tif->tif_name, "%lu: Row out of range, max %lu", in TIFFCheckTile() 90 TIFFErrorExtR(tif, tif->tif_name, "%lu: Depth out of range, max %lu", in TIFFCheckTile() 97 TIFFErrorExtR(tif, tif->tif_name, "%lu: Sample out of range, max %lu", in TIFFCheckTile() 108 uint32_t TIFFNumberOfTiles(TIFF *tif) in TIFFNumberOfTiles() argument 110 TIFFDirectory *td = &tif->tif_dir; in TIFFNumberOfTiles() [all …]
|
D | tif_jpeg.c | 70 int TIFFFillStrip(TIFF *tif, uint32_t strip); 71 int TIFFFillTile(TIFF *tif, uint32_t tile); 72 int TIFFReInitJPEG_12(TIFF *tif, const JPEGOtherSettings *otherSettings, 74 int TIFFJPEGIsFullStripRequired_12(TIFF *tif); 231 TIFF *tif; /* back link needed by some code */ member 244 #define JState(tif) ((JPEGState *)(tif)->tif_data) argument 246 static int JPEGDecode(TIFF *tif, uint8_t *buf, tmsize_t cc, uint16_t s); 247 static int JPEGDecodeRaw(TIFF *tif, uint8_t *buf, tmsize_t cc, uint16_t s); 248 static int JPEGEncode(TIFF *tif, uint8_t *buf, tmsize_t cc, uint16_t s); 249 static int JPEGEncodeRaw(TIFF *tif, uint8_t *buf, tmsize_t cc, uint16_t s); [all …]
|
D | tif_luv.c | 173 #define DecoderState(tif) ((LogLuvState *)(tif)->tif_data) argument 174 #define EncoderState(tif) ((LogLuvState *)(tif)->tif_data) argument 183 static int LogL16Decode(TIFF *tif, uint8_t *op, tmsize_t occ, uint16_t s) in LogL16Decode() argument 186 LogLuvState *sp = DecoderState(tif); in LogL16Decode() 208 TIFFErrorExtR(tif, module, "Translation buffer too short"); in LogL16Decode() 215 bp = (unsigned char *)tif->tif_rawcp; in LogL16Decode() 216 cc = tif->tif_rawcc; in LogL16Decode() 241 TIFFErrorExtR(tif, module, in LogL16Decode() 244 tif->tif_row, npixels - i); in LogL16Decode() 245 tif->tif_rawcp = (uint8_t *)bp; in LogL16Decode() [all …]
|
D | tif_lzw.c | 163 #define LZWState(tif) ((LZWBaseState *)(tif)->tif_data) argument 164 #define DecoderState(tif) ((LZWCodecState *)LZWState(tif)) argument 165 #define EncoderState(tif) ((LZWCodecState *)LZWState(tif)) argument 167 static int LZWDecode(TIFF *tif, uint8_t *op0, tmsize_t occ0, uint16_t s); 169 static int LZWDecodeCompat(TIFF *tif, uint8_t *op0, tmsize_t occ0, uint16_t s); 177 static int LZWFixupTags(TIFF *tif) in LZWFixupTags() argument 179 (void)tif; in LZWFixupTags() 183 static int LZWSetupDecode(TIFF *tif) in LZWSetupDecode() argument 186 LZWCodecState *sp = DecoderState(tif); in LZWSetupDecode() 195 tif->tif_data = (uint8_t *)_TIFFmallocExt(tif, sizeof(LZWCodecState)); in LZWSetupDecode() [all …]
|
D | tiffiop.h | 91 typedef int (*TIFFCodeMethod)(TIFF *tif, uint8_t *buf, tmsize_t size, 94 typedef void (*TIFFPostMethod)(TIFF *tif, uint8_t *buf, tmsize_t size); 251 #define isTiled(tif) (((tif)->tif_flags & TIFF_ISTILED) != 0) argument 252 #define isMapped(tif) (((tif)->tif_flags & TIFF_MAPPED) != 0) argument 253 #define isFillOrder(tif, o) (((tif)->tif_flags & (o)) != 0) argument 254 #define isUpSampled(tif) (((tif)->tif_flags & TIFF_UPSAMPLED) != 0) argument 255 #define TIFFReadFile(tif, buf, size) \ argument 256 ((*(tif)->tif_readproc)((tif)->tif_clientdata, (buf), (size))) 257 #define TIFFWriteFile(tif, buf, size) \ argument 258 ((*(tif)->tif_writeproc)((tif)->tif_clientdata, (buf), (size))) [all …]
|
D | tif_pixarlog.c | 547 static int PixarLogMakeTables(TIFF *tif, PixarLogState *sp) in PixarLogMakeTables() argument 580 FromLT2 = (uint16_t *)_TIFFmallocExt(tif, lt2size * sizeof(uint16_t)); in PixarLogMakeTables() 581 From14 = (uint16_t *)_TIFFmallocExt(tif, 16384 * sizeof(uint16_t)); in PixarLogMakeTables() 582 From8 = (uint16_t *)_TIFFmallocExt(tif, 256 * sizeof(uint16_t)); in PixarLogMakeTables() 583 ToLinearF = (float *)_TIFFmallocExt(tif, TSIZEP1 * sizeof(float)); in PixarLogMakeTables() 584 ToLinear16 = (uint16_t *)_TIFFmallocExt(tif, TSIZEP1 * sizeof(uint16_t)); in PixarLogMakeTables() 586 (unsigned char *)_TIFFmallocExt(tif, TSIZEP1 * sizeof(unsigned char)); in PixarLogMakeTables() 591 _TIFFfreeExt(tif, FromLT2); in PixarLogMakeTables() 593 _TIFFfreeExt(tif, From14); in PixarLogMakeTables() 595 _TIFFfreeExt(tif, From8); in PixarLogMakeTables() [all …]
|
D | tif_aux.c | 35 uint32_t _TIFFMultiply32(TIFF *tif, uint32_t first, uint32_t second, in _TIFFMultiply32() argument 40 TIFFErrorExtR(tif, where, "Integer overflow in %s", where); in _TIFFMultiply32() 47 uint64_t _TIFFMultiply64(TIFF *tif, uint64_t first, uint64_t second, in _TIFFMultiply64() argument 52 TIFFErrorExtR(tif, where, "Integer overflow in %s", where); in _TIFFMultiply64() 59 tmsize_t _TIFFMultiplySSize(TIFF *tif, tmsize_t first, tmsize_t second, in _TIFFMultiplySSize() argument 64 if (tif != NULL && where != NULL) in _TIFFMultiplySSize() 66 TIFFErrorExtR(tif, where, in _TIFFMultiplySSize() 75 if (tif != NULL && where != NULL) in _TIFFMultiplySSize() 77 TIFFErrorExtR(tif, where, "Integer overflow in %s", where); in _TIFFMultiplySSize() 84 tmsize_t _TIFFCastUInt64ToSSize(TIFF *tif, uint64_t val, const char *module) in _TIFFCastUInt64ToSSize() argument [all …]
|
D | tif_next.c | 57 static int NeXTDecode(TIFF *tif, uint8_t *buf, tmsize_t occ, uint16_t s) in NeXTDecode() argument 74 bp = (unsigned char *)tif->tif_rawcp; in NeXTDecode() 75 cc = tif->tif_rawcc; in NeXTDecode() 76 scanline = tif->tif_scanlinesize; in NeXTDecode() 79 TIFFErrorExtR(tif, module, "Fractional scanlines cannot be read"); in NeXTDecode() 120 uint32_t imagewidth = tif->tif_dir.td_imagewidth; in NeXTDecode() 121 if (isTiled(tif)) in NeXTDecode() 122 imagewidth = tif->tif_dir.td_tilewidth; in NeXTDecode() 147 TIFFErrorExtR(tif, module, in NeXTDecode() 149 tif->tif_row); in NeXTDecode() [all …]
|
D | tif_thunder.c | 69 static int ThunderSetupDecode(TIFF *tif) in ThunderSetupDecode() argument 73 if (tif->tif_dir.td_bitspersample != 4) in ThunderSetupDecode() 75 TIFFErrorExtR(tif, module, in ThunderSetupDecode() 78 (int)tif->tif_dir.td_bitspersample); in ThunderSetupDecode() 85 static int ThunderDecode(TIFF *tif, uint8_t *op, tmsize_t maxpixels) in ThunderDecode() argument 93 bp = (unsigned char *)tif->tif_rawcp; in ThunderDecode() 94 cc = tif->tif_rawcc; in ThunderDecode() 153 tif->tif_rawcp = (uint8_t *)bp; in ThunderDecode() 154 tif->tif_rawcc = cc; in ThunderDecode() 157 TIFFErrorExtR(tif, module, in ThunderDecode() [all …]
|
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/ |
D | tmod_ki.c | 48 tmod_interface_t tif; in ki_generic() local 53 tif.in_len = 0; in ki_generic() 54 tif.in_data = 0; in ki_generic() 55 tif.out_len = 0; in ki_generic() 56 tif.out_data = 0; in ki_generic() 57 tif.out_rc = 0; in ki_generic() 62 rc = ioctl(fd, flag, &tif); in ki_generic() 67 if (tif.out_rc) { in ki_generic() 69 return tif.out_rc; in ki_generic() 77 tmod_interface_t tif; [all …]
|
/external/ltp/testcases/kernel/device-drivers/agp/user_space/ |
D | tagp_ki.c | 48 tagp_interface_t tif; in ki_generic() local 53 tif.in_len = 0; in ki_generic() 54 tif.in_data = 0; in ki_generic() 55 tif.out_len = 0; in ki_generic() 56 tif.out_data = 0; in ki_generic() 57 tif.out_rc = 0; in ki_generic() 62 rc = ioctl(fd, flag, &tif); in ki_generic() 67 if (tif.out_rc) { in ki_generic() 69 return tif.out_rc; in ki_generic() 77 tagp_interface_t tif; [all …]
|