Lines Matching refs:size
36 truncate643d(const char* path, off64_t size)
46 if (!fscall(NiL, MSG_truncate, 0, path, size))
54 for (m = state.trap.size - 1; m >= 0; m--)
59 n = state.trap.size;
60 state.trap.size = m;
61 r = (*state.trap.intercept[m].call)(&state.trap.intercept[m], MSG_truncate, SYS3D_truncate64, (void*)sp, (void*)&size, NiL, NiL, NiL, NiL);
62 state.trap.size = n;
65 r = (*realf)(sp, size);
70 fscall(mp, MSG_truncate, 0, path, size);
73 fscall(NiL, MSG_truncate, 0, path, size);
82 truncate3d(const char* path, off_t size)
89 if (!fscall(NiL, MSG_truncate, 0, path, size))
95 r = TRUNCATE(sp, size);
100 fscall(NiL, MSG_truncate, 0, path, size);
103 fscall(NiL, MSG_truncate, 0, path, size);