Home
last modified time | relevance | path

Searched refs:cj (Results 1 – 21 of 21) sorted by relevance

/reactos/drivers/filesystems/btrfs/
H A Dcalcthread.c32 if (cj && cj->not_started == 0) { in calc_thread_main()
37 if (cj) in calc_thread_main()
143 calc_job cj; in do_calc_job() local
147 cj.left = cj.not_started = sectors; in do_calc_job()
189 if (!cj) { in add_calc_job_decomp()
194 cj->in = in; in add_calc_job_decomp()
199 cj->left = cj->not_started = 1; in add_calc_job_decomp()
232 *pcj = cj; in add_calc_job_decomp()
243 if (!cj) { in add_calc_job_comp()
252 cj->left = cj->not_started = 1; in add_calc_job_comp()
[all …]
H A Dcompress.c872 calc_job* cj; member
922 parts[i].buf, parts[i].inlen, &parts[i].cj); in write_compressed()
928 ExFreePool(parts[j].cj); in write_compressed()
939 calc_thread_main(fcb->Vcb, parts[i].cj); in write_compressed()
941 KeWaitForSingleObject(&parts[i].cj->event, Executive, KernelMode, false, NULL); in write_compressed()
943 if (!NT_SUCCESS(parts[i].cj->Status)) in write_compressed()
944 Status = parts[i].cj->Status; in write_compressed()
951 ExFreePool(parts[i].cj); in write_compressed()
959 if (parts[i].cj->space_left >= fcb->Vcb->superblock.sector_size) { in write_compressed()
961 parts[i].outlen = parts[i].inlen - parts[i].cj->space_left; in write_compressed()
[all …]
H A Dread.c2788 calc_job* cj; member
3248 inpageoff, &ccj->cj); in read_file()
3283 calc_thread_main(fcb->Vcb, ccj->cj); in read_file()
3285 KeWaitForSingleObject(&ccj->cj->event, Executive, KernelMode, false, NULL); in read_file()
3287 if (!NT_SUCCESS(ccj->cj->Status)) in read_file()
3288 Status = ccj->cj->Status; in read_file()
3315 KeWaitForSingleObject(&ccj->cj->event, Executive, KernelMode, false, NULL); in read_file()
3320 ExFreePool(ccj->cj); in read_file()
H A Dbtrfs_drv.h1589 void calc_thread_main(device_extension* Vcb, calc_job* cj);
/reactos/win32ss/gdi/ntgdi/
H A Dbrush.cpp424 _In_reads_bytes_(cj) PVOID pv, in NtGdiCreateDIBBrush()
426 _In_ UINT cj, in NtGdiCreateDIBBrush() argument
454 pvPackedDIB = ExAllocatePoolWithTag(PagedPool, cj, GDITAG_TEMP); in NtGdiCreateDIBBrush()
457 ERR("Failed to allocate temp buffer of %u bytes\n", cj); in NtGdiCreateDIBBrush()
464 ProbeForRead(pv, cj, 1); in NtGdiCreateDIBBrush()
465 RtlCopyMemory(pvPackedDIB, pv, cj); in NtGdiCreateDIBBrush()
469 ERR("Got exception, pv = %p, cj = %lu\n", pv, cj); in NtGdiCreateDIBBrush()
493 hbm = GreCreateDIBitmapFromPackedDIB(pvPackedDIB, cj, uUsage); in NtGdiCreateDIBBrush()
H A Dtext.c593 IN ULONG cj) in NtGdiGetTextMetricsW() argument
597 if ( cj <= sizeof(TMW_INTERNAL) ) in NtGdiGetTextMetricsW()
604 ProbeForWrite(pUnsafeTmwi, cj, 1); in NtGdiGetTextMetricsW()
605 RtlCopyMemory(pUnsafeTmwi, &Tmwi, cj); in NtGdiGetTextMetricsW()
/reactos/win32ss/gdi/eng/
H A Dmultidisp.c19 _In_ ULONG cj, in MultiEnableDriver() argument
20 _Inout_bytecount_(cj) PDRVENABLEDATA pded) in MultiEnableDriver()
H A Dclip.c321 _In_ ULONG cj, in CLIPOBJ_bEnum() argument
322 _Out_bytecap_(cj) ULONG *pulEnumRects) in CLIPOBJ_bEnum()
332 (cj - sizeof(ULONG)) / sizeof(RECTL))); in CLIPOBJ_bEnum()
H A Dengwindow.c260 IN ULONG cj, in WNDOBJ_bEnum() argument
264 return CLIPOBJ_bEnum(&pwo->coClient, cj, pul); in WNDOBJ_bEnum()
H A Dumpdstubs.c44 _In_ ULONG cj) in NtGdiBRUSHOBJ_pvAllocRbrush() argument
86 _In_ ULONG cj, in NtGdiCLIPOBJ_bEnum() argument
87 _Out_writes_bytes_(cj) ULONG *pul) in NtGdiCLIPOBJ_bEnum()
H A Ddevice.c509 ULONG cj; in EngpRegisterGraphicsDevice() local
589 cj = pustrDiplayDrivers->Length + pustrDescription->Length + sizeof(WCHAR); in EngpRegisterGraphicsDevice()
590 pwsz = ExAllocatePoolWithTag(PagedPool, cj, GDITAG_DRVSUP); in EngpRegisterGraphicsDevice()
H A Dengbrush.c489 IN ULONG cj) in BRUSHOBJ_pvAllocRbrush() argument
491 pbo->pvRbrush = EngAllocMem(0, cj, GDITAG_RBRUSH); in BRUSHOBJ_pvAllocRbrush()
H A Dpdevobj.c22 _In_ ULONG cj,
23 _Inout_bytecount_(cj) PDRVENABLEDATA pded);
H A Dstubs.c1176 IN UINT cj) in NtGdiGetStringBitmapW() argument
/reactos/win32ss/drivers/displays/vga_new/
H A Denable.c53 ULONG cj, in DrvEnableDriver() argument
65 if (cj >= sizeof(DRVENABLEDATA)) in DrvEnableDriver()
68 if (cj >= (sizeof(ULONG) * 2)) in DrvEnableDriver()
74 if (cj >= sizeof(ULONG)) in DrvEnableDriver()
/reactos/win32ss/drivers/font/ftfd/
H A Denable.c33 ULONG cj, in FtfdEnableDriver() argument
41 if (cj < sizeof(DRVENABLEDATA)) in FtfdEnableDriver()
/reactos/win32ss/drivers/font/bmfd/
H A Denable.c44 ULONG cj, in BmfdEnableDriver() argument
50 if (cj < sizeof(DRVENABLEDATA)) in BmfdEnableDriver()
/reactos/win32ss/drivers/displays/framebuf/
H A Denable.c88 ULONG cj, in DrvEnableDriver() argument
91 if (cj >= sizeof(DRVENABLEDATA)) in DrvEnableDriver()
/reactos/win32ss/gdi/gdi32/objects/
H A Dtext.c992 _In_ UINT cj, in GetStringBitmapA() argument
993 _Out_writes_(cj) BYTE *lpSB) in GetStringBitmapA()
1012 uResult = NtGdiGetStringBitmapW(hdc, pwsz, 1, lpSB, cj); in GetStringBitmapA()
1029 _In_ UINT cj, in GetStringBitmapW() argument
1030 _Out_writes_(cj) BYTE *lpSB) in GetStringBitmapW()
1037 return NtGdiGetStringBitmapW(hdc, pwsz, 1, lpSB, cj); in GetStringBitmapW()
/reactos/sdk/include/psdk/
H A Dntgdi.h1424 _In_reads_bytes_(cj) PVOID pv,
1426 _In_ UINT cj,
1506 _In_ DWORD cj,
2473 _In_ ULONG cj);
2646 _In_ INT cj,
2766 _In_ ULONG cj,
2767 _In_reads_bytes_(cj) PBYTE pjInit);
3011 _Out_writes_bytes_(cj) BYTE *lpSB,
3012 _In_ UINT cj);
3422 _In_ ULONG cj,
[all …]
H A Dwinddi.h1288 _Ret_opt_bytecount_(cj)
1294 _In_ ULONG cj);
1313 _In_ ULONG cj,
1314 _Out_bytecap_(cj) ULONG *pul);
1366 #define EngAllocMem(fl, cj, tag) ((PVOID)GlobalAlloc(((fl) & FL_ZERO_MEMORY) ? GPTR : GMEM_FIXED, c… argument
1367 #define EngAllocPrivateUserMem(psl, cj, tag) ((PVOID)GlobalAlloc(GMEM_FIXED, cj)) argument
1368 #define EngAllocUserMem(cj, tag) ((PVOID)GlobalAlloc(GMEM_FIXED, cj)) argument
2987 _In_ ULONG cj,
3089 _In_ ULONG cj,
3090 _Out_bytecap_(cj) ULONG *pul);
[all …]