/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/modules/ |
H A D | vfs_shadow_copy.c | 77 shadow_copy_Dir *dirp; local 85 dirp = SMB_MALLOC_P(shadow_copy_Dir); 86 if (!dirp) { 92 ZERO_STRUCTP(dirp); 111 r = SMB_REALLOC_ARRAY(dirp->dirs,SMB_STRUCT_DIRENT, dirp->num+1); 117 dirp->dirs = r; 118 dirp->dirs[dirp->num++] = *d; 122 return((DIR *)dirp); 127 shadow_copy_Dir *dirp = (shadow_copy_Dir *)_dirp; local 138 shadow_copy_Dir *dirp = (shadow_copy_Dir *)_dirp; local [all...] |
H A D | vfs_full_audit.c | 92 connection_struct *conn, DIR *dirp); 94 DIR *dirp, long offset); 96 DIR *dirp); 98 DIR *dirp); 104 DIR *dirp); 823 connection_struct *conn, DIR *dirp) 827 result = SMB_VFS_NEXT_READDIR(handle, conn, dirp); 838 DIR *dirp, long offset) 840 SMB_VFS_NEXT_SEEKDIR(handle, conn, dirp, offset); 847 DIR *dirp) 822 smb_full_audit_readdir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument 837 smb_full_audit_seekdir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp, long offset) argument 846 smb_full_audit_telldir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument 858 smb_full_audit_rewinddir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument 891 smb_full_audit_closedir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/os/ |
H A D | os_dir.c | 29 DIR *dirp; local 46 if ((dirp = opendir(CHAR_STAR_CAST dir)) == NULL) 49 for (arraysz = cnt = 0; (dp = readdir(dirp)) != NULL;) { 87 (void)closedir(dirp); 95 if (dirp != NULL) 96 (void)closedir(dirp);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/examples/libsmbclient/ |
H A D | tree.c | 154 struct smbc_dirent *dirp; local 194 dirp = (struct smbc_dirent *)dirbuf; 200 dirlen = dirp->dirlen; 204 strncpy(col1, dirp->name, 128); 208 switch (dirp->smbc_type) { 216 strncpy(col2, (dirp->comment?dirp->comment:""), 128); 222 strncpy(col2, (dirp->comment?dirp->comment:""), 128); 228 strncpy(col2, (dirp 324 struct smbc_dirent *dirp; local 491 struct smbc_dirent *dirp; local 619 struct smbc_dirent *dirp; local [all...] |
H A D | testsmbc.c | 84 char *dirp; local 110 dirp = (char *)dirbuf; 112 if ((dirc = smbc_getdents(dh1, (struct smbc_dirent *)dirp, 128 dsize = ((struct smbc_dirent *)dirp)->dirlen; 130 ((struct smbc_dirent *)dirp)->smbc_type, 131 ((struct smbc_dirent *)dirp)->name, 132 ((struct smbc_dirent *)dirp)->comment); 134 dirp += dsize; 139 dirp = (char *)dirbuf;
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/client/ |
H A D | tree.c | 152 struct smbc_dirent *dirp; local 192 dirp = (struct smbc_dirent *)dirbuf; 198 dirlen = dirp->dirlen; 202 strncpy(col1, dirp->name, 128); 206 switch (dirp->smbc_type) { 214 strncpy(col2, (dirp->comment?dirp->comment:""), 128); 220 strncpy(col2, (dirp->comment?dirp->comment:""), 128); 226 strncpy(col2, (dirp 322 struct smbc_dirent *dirp; local 489 struct smbc_dirent *dirp; local 617 struct smbc_dirent *dirp; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/smbd/ |
H A D | dir.c | 995 struct smb_Dir *dirp = SMB_MALLOC_P(struct smb_Dir); local 996 if (!dirp) { 999 ZERO_STRUCTP(dirp); 1001 dirp->conn = conn; 1003 dirp->dir_path = SMB_STRDUP(name); 1004 if (!dirp->dir_path) { 1007 dirp->dir = SMB_VFS_OPENDIR(conn, dirp->dir_path); 1008 if (!dirp->dir) { 1009 DEBUG(5,("OpenDir: Can't open %s. %s\n", dirp 1039 CloseDir(struct smb_Dir *dirp) argument 1063 ReadDirName(struct smb_Dir *dirp, long *poffset) argument 1091 SeekDir(struct smb_Dir *dirp, long offset) argument 1103 TellDir(struct smb_Dir *dirp) argument 1113 SearchDir(struct smb_Dir *dirp, const char *name, long *poffset) argument [all...] |
H A D | vfs-wrap.c | 108 SMB_STRUCT_DIRENT *vfswrap_readdir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument 113 result = sys_readdir(dirp); 118 void vfswrap_seekdir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp, long offset) argument 121 sys_seekdir(dirp, offset); 125 long vfswrap_telldir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument 129 result = sys_telldir(dirp); 134 void vfswrap_rewinddir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument 137 sys_rewinddir(dirp); 180 int vfswrap_closedir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument 185 result = sys_closedir(dirp); [all...] |
H A D | chgpasswd.c | 67 DIR *dirp; local 96 dirp = opendir("/dev"); 97 if (!dirp) 99 while ((dpname = readdirname(dirp)) != NULL) 113 closedir(dirp); 118 closedir(dirp);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/ |
H A D | backupfile.c | 137 DIR *dirp; local 143 dirp = opendir (dir); 144 if (!dirp) 150 while ((dp = readdir (dirp)) != 0) 159 if (closedir (dirp))
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/ |
H A D | backupfile.c | 137 DIR *dirp; local 143 dirp = opendir (dir); 144 if (!dirp) 150 while ((dp = readdir (dirp)) != 0) 159 if (closedir (dirp))
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/smbwrapper/ |
H A D | smbw_dir.c | 49 int smbw_dirp(DIR *dirp) argument 51 struct smbw_dir *d = (struct smbw_dir *)dirp; 328 int smbw_getdents(unsigned int fd, struct dirent *dirp, int count) argument 344 dirp->d_off = (dir->offset+1)*DIRP_SIZE; 346 dirp->d_reclen = DIRP_SIZE; 347 fstrcpy(&dirp->d_name[0], dir->list[dir->offset].name); 348 dirp->d_ino = smbw_inode(dir->list[dir->offset].name); 350 count -= dirp->d_reclen; 353 dirp->d_off = -1; 356 dirp 650 smbw_readdir(DIR *dirp) argument 667 smbw_closedir(DIR *dirp) argument 676 smbw_seekdir(DIR *dirp, off_t offset) argument 685 smbw_telldir(DIR *dirp) argument [all...] |
H A D | wrapped.c | 215 int getdents(int fd, void *dirp, unsigned int count) argument 218 return smbw_getdents(fd, dirp, count); 221 return real_getdents(fd, dirp, count); 226 int __getdents(int fd, void *dirp, unsigned int count) argument 228 return getdents(fd, dirp, count); 231 int _getdents(int fd, void *dirp, unsigned int count) argument 233 return getdents(fd, dirp, count);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/ |
H A D | unix.c | 362 struct dirent *dirp; local 382 for ( dirp = readdir( dir ); dirp != NULL; dirp = readdir( dir )) { 384 if ( *dirp->d_name == '.' && (!osx || dirp->d_name[1] != '_')) { 387 if ( lstat( dirp->d_name, &st ) < 0 ) { 388 LOG(log_error, logtype_afpd, "setdirmode: stat %s: %s",dirp->d_name, strerror(errno) ); 393 int setmode = (osx && *dirp->d_name == '.')?hf_mode:mode; 395 if (setfilmode(dirp 511 struct dirent *dirp; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/networking/ |
H A D | httpd_indexcgi.c | 222 DIR *dirp; local 240 dirp = opendir("."); 241 if (!dirp) 249 dp = readdir(dirp); 263 closedir(dirp);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/lib/ |
H A D | system.c | 414 SMB_STRUCT_DIRENT *sys_readdir(DIR *dirp) argument 417 return readdir64(dirp); 419 return readdir(dirp); 427 void sys_seekdir(DIR *dirp, long offset) argument 430 seekdir64(dirp, offset); 432 seekdir(dirp, offset); 440 long sys_telldir(DIR *dirp) argument 443 return (long)telldir64(dirp); 445 return (long)telldir(dirp); 453 void sys_rewinddir(DIR *dirp) argument 466 sys_closedir(DIR *dirp) argument [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/libatalk/util/ |
H A D | ftw.c | 273 open_dir_stream (int *dfdp, struct ftw_data *data, struct dir_data *dirp) argument 347 dirp->stream = NULL; 348 if (fd != -1 && (dirp->stream = fdopendir (fd)) == NULL) 364 dirp->stream = __opendir (name); 367 if (dirp->stream == NULL) 371 dirp->streamfd = dirfd (dirp->stream); 372 dirp->content = NULL; 373 data->dirstreams[data->actdir] = dirp;
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/clib/ |
H A D | getcwd.c | 65 #define dirfd(dirp) ((dirp)->dd_fd)
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/iproute2/ip/ |
H A D | xfrm_policy.c | 175 char *dirp = NULL; local 195 if (dirp) 197 dirp = *argv; 263 if (!dirp) { 407 char *dirp = NULL; local 419 if (dirp) 421 dirp = *argv; 449 if (!dirp) {
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/nfsd/ |
H A D | vfs.c | 1114 struct inode *dirp; local 1130 dirp = dentry->d_inode; 1133 if(!dirp->i_op || !dirp->i_op->lookup) 1182 host_err = vfs_create(dirp, dchild, iap->ia_mode, NULL); 1185 host_err = vfs_mkdir(dirp, dchild, iap->ia_mode); 1191 host_err = vfs_mknod(dirp, dchild, iap->ia_mode, rdev); 1242 struct inode *dirp; local 1260 dirp = dentry->d_inode; 1265 if(!dirp 1497 struct inode *dirp, *dest; local 1656 struct inode *dirp; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/include/ |
H A D | vfs_macros.h | 40 #define SMB_VFS_READDIR(conn, dirp) ((conn)->vfs.ops.readdir((conn)->vfs.handles.readdir, (conn), (dirp))) 41 #define SMB_VFS_SEEKDIR(conn, dirp, offset) ((conn)->vfs.ops.seekdir((conn)->vfs.handles.seekdir, (conn), (dirp), (offset))) 42 #define SMB_VFS_TELLDIR(conn, dirp) ((conn)->vfs.ops.telldir((conn)->vfs.handles.telldir, (conn), (dirp))) 43 #define SMB_VFS_REWINDDIR(conn, dirp) ((conn)->vfs.ops.rewind_dir((conn)->vfs.handles.rewind_dir, (conn), (dirp))) 141 #define SMB_VFS_OPAQUE_READDIR(conn, dirp) ((conn)->vfs_opaque.ops.readdir((conn)->vfs_opaque.handles.readdir, (conn), (dirp))) [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/log/ |
H A D | log_method.c | 284 __log_get_lg_dir(dbenv, dirp) 286 const char **dirp; 288 *dirp = dbenv->db_log_dir;
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/examples/VFS/ |
H A D | skel_opaque.c | 79 static SMB_STRUCT_DIRENT *skel_readdir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument 81 return vfswrap_readdir(NULL, conn, dirp); 84 static void skel_seekdir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp, long offset) argument 86 return vfswrap_seekdir(NULL, conn, dirp, offset); 89 static long skel_telldir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument 91 return vfswrap_telldir(NULL, conn, dirp); 94 static void skel_rewinddir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument 96 return vfswrap_rewinddir(NULL, conn, dirp);
|
H A D | skel_transparent.c | 78 static SMB_STRUCT_DIRENT *skel_readdir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument 80 return SMB_VFS_NEXT_READDIR(handle, conn, dirp); 83 static void skel_seekdir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp, long offset) argument 85 return SMB_VFS_NEXT_SEEKDIR(handle, conn, dirp, offset); 88 static long skel_telldir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument 90 return SMB_VFS_NEXT_TELLDIR(handle, conn, dirp); 93 static void skel_rewinddir(vfs_handle_struct *handle, connection_struct *conn, DIR *dirp) argument 95 return SMB_VFS_NEXT_REWINDDIR(handle, conn, dirp);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/libatalk/vfs/ |
H A D | sys_ea.c | 671 DIR *dirp; local 678 dirp = fdopendir(newfd); 680 while ((de = readdir(dirp))) { 709 if (closedir(dirp) == -1) { 710 LOG(log_error, logtype_default, "closedir dirp: %s",strerror(errno));
|