poffset 251 examples/VFS/skel_opaque.c static bool skel_getlock(vfs_handle_struct *handle, files_struct *fsp, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid) poffset 253 examples/VFS/skel_opaque.c return vfswrap_getlock(NULL, fsp, poffset, pcount, ptype, ppid); poffset 244 examples/VFS/skel_transparent.c static bool skel_getlock(vfs_handle_struct *handle, files_struct *fsp, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid) poffset 246 examples/VFS/skel_transparent.c return SMB_VFS_NEXT_GETLOCK(handle, fsp, poffset, pcount, ptype, ppid); poffset 1154 source3/include/proto.h bool fcntl_getlock(int fd, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid); poffset 2527 source3/include/proto.h bool cli_posix_getlock(struct cli_state *cli, int fnum, uint64_t *poffset, uint64_t *plen); poffset 3419 source3/include/proto.h uint64_t *poffset, poffset 6266 source3/include/proto.h long *poffset, poffset 6268 source3/include/proto.h bool dptr_SearchDir(struct dptr_struct *dptr, const char *name, long *poffset, SMB_STRUCT_STAT *pst); poffset 6288 source3/include/proto.h const char *ReadDirName(struct smb_Dir *dirp, long *poffset, poffset 6290 source3/include/proto.h void RewindDir(struct smb_Dir *dirp, long *poffset); poffset 6294 source3/include/proto.h bool SearchDir(struct smb_Dir *dirp, const char *name, long *poffset); poffset 375 source3/include/vfs.h bool (*getlock)(struct vfs_handle_struct *handle, struct files_struct *fsp, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid); poffset 80 source3/include/vfs_macros.h #define SMB_VFS_GETLOCK(fsp, poffset, pcount, ptype, ppid) ((fsp)->conn->vfs.ops.getlock((fsp)->conn->vfs.handles.getlock, (fsp), (poffset), (pcount), (ptype), (ppid))) poffset 214 source3/include/vfs_macros.h #define SMB_VFS_OPAQUE_GETLOCK(fsp, poffset, pcount, ptype, ppid) ((fsp)->conn->vfs_opaque.ops.getlock((fsp)->conn->vfs_opaque.handles.getlock, (fsp), (poffset), (pcount), (ptype), (ppid))) poffset 349 source3/include/vfs_macros.h #define SMB_VFS_NEXT_GETLOCK(handle, fsp, poffset, pcount, ptype, ppid) ((handle)->vfs_next.ops.getlock((handle)->vfs_next.handles.getlock, (fsp), (poffset), (pcount), (ptype), (ppid))) poffset 1826 source3/lib/util.c bool fcntl_getlock(int fd, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid) poffset 1832 source3/lib/util.c fd,(double)*poffset,(double)*pcount,*ptype)); poffset 1836 source3/lib/util.c lock.l_start = *poffset; poffset 1845 source3/lib/util.c (double)*poffset,(double)*pcount,*ptype,strerror(errno))); poffset 1851 source3/lib/util.c *poffset = lock.l_start; poffset 1577 source3/libsmb/clifile.c bool cli_posix_getlock(struct cli_state *cli, int fnum, uint64_t *poffset, uint64_t *plen) poffset 168 source3/locking/locking.c uint64_t *poffset, poffset 191 source3/locking/locking.c poffset, poffset 228 source3/locking/posix.c static bool posix_fcntl_getlock(files_struct *fsp, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype) poffset 234 source3/locking/posix.c fsp->fh->fd,(double)*poffset,(double)*pcount,*ptype)); poffset 236 source3/locking/posix.c ret = SMB_VFS_GETLOCK(fsp, poffset, pcount, ptype, &pid); poffset 241 source3/locking/posix.c (double)*poffset,(double)*pcount)); poffset 250 source3/locking/posix.c if (*poffset & ~((SMB_OFF_T)0x7fffffff)) { poffset 260 source3/locking/posix.c ret = SMB_VFS_GETLOCK(fsp,poffset,pcount,ptype,&pid); poffset 976 source3/modules/vfs_default.c static bool vfswrap_getlock(vfs_handle_struct *handle, files_struct *fsp, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid) poffset 981 source3/modules/vfs_default.c result = fcntl_getlock(fsp->fh->fd, poffset, pcount, ptype, ppid); poffset 191 source3/modules/vfs_full_audit.c SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid); poffset 1576 source3/modules/vfs_full_audit.c SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid) poffset 1580 source3/modules/vfs_full_audit.c result = SMB_VFS_NEXT_GETLOCK(handle, fsp, poffset, pcount, ptype, ppid); poffset 556 source3/smbd/dir.c long *poffset, SMB_STRUCT_STAT *pst) poffset 560 source3/smbd/dir.c while ((name = ReadDirName(dptr->dir_hnd, poffset, pst)) != NULL) { poffset 574 source3/smbd/dir.c long *poffset, poffset 586 source3/smbd/dir.c name_temp = dptr_normal_ReadDirName(dptr, poffset, pst); poffset 593 source3/smbd/dir.c if (*poffset == END_OF_DIRECTORY_OFFSET) { poffset 665 source3/smbd/dir.c name_temp = dptr_normal_ReadDirName(dptr, poffset, pst); poffset 675 source3/smbd/dir.c dptr->dir_hnd->offset = *poffset = END_OF_DIRECTORY_OFFSET; poffset 683 source3/smbd/dir.c bool dptr_SearchDir(struct dptr_struct *dptr, const char *name, long *poffset, SMB_STRUCT_STAT *pst) poffset 689 source3/smbd/dir.c *poffset = END_OF_DIRECTORY_OFFSET; poffset 693 source3/smbd/dir.c return SearchDir(dptr->dir_hnd, name, poffset); poffset 1148 source3/smbd/dir.c const char *ReadDirName(struct smb_Dir *dirp, long *poffset, poffset 1155 source3/smbd/dir.c if (((*poffset == START_OF_DIRECTORY_OFFSET) || poffset 1156 source3/smbd/dir.c (*poffset == DOT_DOT_DIRECTORY_OFFSET)) && (dirp->file_number < 2)) poffset 1160 source3/smbd/dir.c *poffset = dirp->offset = START_OF_DIRECTORY_OFFSET; poffset 1162 source3/smbd/dir.c *poffset = dirp->offset = DOT_DOT_DIRECTORY_OFFSET; poffset 1167 source3/smbd/dir.c } else if (*poffset == END_OF_DIRECTORY_OFFSET) { poffset 1168 source3/smbd/dir.c *poffset = dirp->offset = END_OF_DIRECTORY_OFFSET; poffset 1172 source3/smbd/dir.c SeekDir(dirp, *poffset); poffset 1182 source3/smbd/dir.c *poffset = dirp->offset = SMB_VFS_TELLDIR(conn, dirp->dir); poffset 1186 source3/smbd/dir.c *poffset = dirp->offset = END_OF_DIRECTORY_OFFSET; poffset 1194 source3/smbd/dir.c void RewindDir(struct smb_Dir *dirp, long *poffset) poffset 1199 source3/smbd/dir.c *poffset = START_OF_DIRECTORY_OFFSET; poffset 1278 source3/smbd/dir.c bool SearchDir(struct smb_Dir *dirp, const char *name, long *poffset) poffset 1289 source3/smbd/dir.c *poffset = e->offset; poffset 1297 source3/smbd/dir.c *poffset = e->offset; poffset 1307 source3/smbd/dir.c *poffset = START_OF_DIRECTORY_OFFSET; poffset 1308 source3/smbd/dir.c while ((entry = ReadDirName(dirp, poffset, NULL))) {