/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/ |
H A D | tail_conversion.c | 15 /* path points to first direct item of the file regarless of how many of 18 struct treepath *path, struct buffer_head *unbh, 23 struct item_head *p_le_ih = PATH_PITEM_HEAD(path); 49 if (search_for_position_by_key(sb, &end_key, path) == POSITION_FOUND) { 53 pathrelse(path); 57 p_le_ih = PATH_PITEM_HEAD(path); 65 PATH_LAST_POSITION(path)++; 67 reiserfs_insert_item(th, path, &end_key, &ind_ih, inode, 71 n_retval = reiserfs_paste_into_item(th, path, &end_key, inode, 92 if (search_for_position_by_key(sb, &end_key, path) 17 direct2indirect(struct reiserfs_transaction_handle *th, struct inode *inode, struct treepath *path, struct buffer_head *unbh, loff_t tail_offset) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/intl/ |
H A D | lang_tdb.c | 99 char *path = NULL; local 139 asprintf(&path, "%s%s.tdb", lock_path("lang_"), lang); 141 DEBUG(10, ("lang_tdb_init: loading %s\n", path)); 143 tdb = tdb_open_log(path, 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0644); 145 tdb = tdb_open_log(path, 0, TDB_DEFAULT, O_RDONLY, 0); 147 DEBUG(10, ("lang_tdb_init: %s: %s\n", path, 168 SAFE_FREE(path);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/blkid/ |
H A D | devno.c | 94 char path[1024]; local 102 if (dirlen + strlen(dp->d_name) >= sizeof(path)) 110 sprintf(path, "%s/%s", dir_name, dp->d_name); 111 if (stat(path, &st) < 0) 115 add_to_dirlist(path, list); 117 *devname = blkid_strdup(path); 120 path, *devname));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/ext2fs/ |
H A D | finddev.c | 77 char path[1024], *cp; local 86 if (dirlen + strlen(dp->d_name) + 2 >= sizeof(path)) 92 sprintf(path, "%s/%s", dir_name, dp->d_name); 93 if (stat(path, &st) < 0) 96 add_to_dirlist(path, list); 98 cp = xmalloc(strlen(path)+1); 99 strcpy(cp, path);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/ |
H A D | directory.c | 63 NULL, NULL, NULL, NULL, /* path, d_m_name, d_u_name, d_m_name_ucs2 */ 68 struct path Cur_Path = { 180 char path[MAXPATHLEN + 1]; local 188 if ((len = strlen(dir)) +2 > sizeof(path)) 195 strcpy(path, dir); 196 strcat(path, "/"); 198 remain = sizeof(path) -len -1; 208 strcpy(path + len, de->d_name); 209 if (ostatat(dirfd, path, &st, vol_syml_opt(vol))) { 213 err = deletedir(vol, dirfd, path); 322 set_dir_errors(struct path *path, const char *where, int err) argument 501 dirlookup_bypath(const struct vol *vol, const char *path) argument 757 caseenumerate(const struct vol *vol, struct path *path, struct dir *dir) argument 854 dir_new(const char *m_name, const char *u_name, const struct vol *vol, cnid_t pdid, cnid_t did, bstring path, struct stat *st) argument 938 dir_add(struct vol *vol, const struct dir *dir, struct path *path, int len) argument 1189 static char path[ MAXPATHLEN + 1]; local 1466 check_access(char *path, int mode) argument 1486 file_access(struct path *path, int mode) argument 1802 path_error(struct path *path, int error) argument 1820 struct path *path; local 1877 setdirparams(struct vol *vol, struct path *path, u_int16_t d_bitmap, char *buf ) argument 2826 struct path *path; local [all...] |
H A D | file.c | 95 /* FIXME path : unix or mac name ? (for now it's unix name ) */ 306 struct path *path, struct dir *dir, 320 LOG(log_debug, logtype_afpd, "getmetadata(\"%s\")", path->u_name); 322 upath = path->u_name; 323 st = &path->st; 326 if ( ((bitmap & ( (1 << FILPBIT_FINFO)|(1 << FILPBIT_LNAME)|(1 <<FILPBIT_PDINFO) ) ) && !path->m_name) 329 if (!path->id) { 343 if (path->m_name == NULL) { 344 if ((path 304 getmetadata(struct vol *vol, u_int16_t bitmap, struct path *path, struct dir *dir, char *buf, size_t *buflen, struct adouble *adp) argument 619 getfilparams(struct vol *vol, u_int16_t bitmap, struct path *path, struct dir *dir, char *buf, size_t *buflen ) argument 671 char *path, *upath; local 858 setfilparams(struct vol *vol, struct path *path, u_int16_t f_bitmap, char *buf ) argument 1822 struct path path; local 1912 struct path path; local 2096 find_adouble(const struct vol *vol, struct path *path, struct ofork **of, struct adouble *adp) argument 2151 struct path *path; local [all...] |
H A D | afs.c | 80 struct path *path; local 99 if (( path = cname( vol, dir, &ibuf )) == NULL ) { 103 if ( *path->m_name != '\0' ) { 105 return (path_isadir( path))? afp_errno: AFPERR_BITMAP; 129 void afsmode(const struct volume *vol, char *path, struct maccess *ma, struct dir *dir, struct stat *st) argument 138 if ( pioctl( path, VIOCGETAL, &vi, 1 ) < 0 ) { 149 accessmode(vol, path, ma, dir, st ); 164 struct path *path; local [all...] |
H A D | afprun.c | 77 char path[MAXPATHLEN +1]; local 79 snprintf(path, sizeof(path)-1, "%s/afp.XXXXXX", tmpdir()); 82 fd = mkstemp(path); 85 LOG(log_error, logtype_afpd, "setup_out_fd: Failed to create file %s. (%s)",path, strerror(errno) ); 90 unlink(path);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/ |
H A D | system.c | 358 int sys_creat(const char *path, mode_t mode) argument 361 return creat64(path, mode); 367 return sys_open(path, O_WRONLY | O_CREAT | O_TRUNC, mode); 375 int sys_open(const char *path, int oflag, mode_t mode) argument 378 return open64(path, oflag, mode); 380 return open(path, oflag, mode); 388 FILE *sys_fopen(const char *path, const char *type) argument 391 return fopen64(path, type); 393 return fopen(path, type); 479 int sys_mknod(const char *path, mode_ argument 498 sys_realpath(const char *path, char *resolved_path) argument 555 sys_readlink(const char *path, char *buf, size_t bufsiz) argument 1405 sys_getxattr(const char *path, const char *name, void *value, size_t size) argument 1425 sys_lgetxattr(const char *path, const char *name, void *value, size_t size) argument 1468 irix_attr_list(const char *path, int filedes, char *list, size_t size, int flags) argument 1533 sys_listxattr(const char *path, char *list, size_t size) argument 1545 sys_llistxattr(const char *path, char *list, size_t size) argument 1569 sys_removexattr(const char *path, const char *name) argument 1586 sys_lremovexattr(const char *path, const char *name) argument 1625 sys_setxattr(const char *path, const char *name, const void *value, size_t size, int flags) argument 1644 sys_lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags) argument [all...] |
H A D | sysquotas_xfs.c | 74 int sys_get_xfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) argument 92 DEBUG(10,("sys_get_xfs_quota: path[%s] bdev[%s] SMB_USER_QUOTA_TYPE uid[%u]\n", 93 path, bdev, (unsigned)id.uid)); 100 DEBUG(10,("sys_get_xfs_quota: path[%s] bdev[%s] SMB_GROUP_QUOTA_TYPE gid[%u]\n", 101 path, bdev, (unsigned)id.gid)); 108 DEBUG(10,("sys_get_xfs_quota: path[%s] bdev[%s] SMB_USER_FS_QUOTA_TYPE (uid[%u])\n", 109 path, bdev, (unsigned)id.uid)); 125 DEBUG(10,("sys_get_xfs_quota: path[%s] bdev[%s] SMB_GROUP_FS_QUOTA_TYPE (gid[%u])\n", 126 path, bdev, (unsigned)id.gid)); 161 int sys_set_xfs_quota(const char *path, cons argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/ |
H A D | afs.c | 83 struct path *path; local 102 if (( path = cname( vol, dir, &ibuf )) == NULL ) { 106 if ( *path->m_name != '\0' ) { 108 return (path_isadir( path))? afp_errno: AFPERR_BITMAP; 132 void afsmode( path, ma, dir, st ) 133 char *path; 145 if ( pioctl( path, VIOCGETAL, &vi, 1 ) < 0 ) { 156 accessmode( path, ma, dir, st ); 171 struct path *pat local [all...] |
H A D | directory.c | 63 NULL, NULL, NULL, NULL, /* path, d_m_name, d_u_name, d_m_name_ucs2 */ 68 struct path Cur_Path = { 180 char path[MAXPATHLEN + 1]; local 188 if ((len = strlen(dir)) +2 > sizeof(path)) 195 strcpy(path, dir); 196 strcat(path, "/"); 198 remain = sizeof(path) -len -1; 208 strcpy(path + len, de->d_name); 209 if (lstatat(dirfd, path, &st)) { 213 err = deletedir(dirfd, path); 322 set_dir_errors(struct path *path, const char *where, int err) argument 495 dirlookup_bypath(const struct vol *vol, const char *path) argument 738 caseenumerate(const struct vol *vol, struct path *path, struct dir *dir) argument 835 dir_new(const char *m_name, const char *u_name, const struct vol *vol, cnid_t pdid, cnid_t did, bstring path, struct stat *st) argument 919 dir_add(struct vol *vol, const struct dir *dir, struct path *path, int len) argument 1170 static char path[ MAXPATHLEN + 1]; local 1447 check_access(char *path, int mode) argument 1467 file_access(struct path *path, int mode) argument 1787 path_error(struct path *path, int error) argument 1805 struct path *path; local 1862 setdirparams(struct vol *vol, struct path *path, u_int16_t d_bitmap, char *buf ) argument 2811 struct path *path; local [all...] |
H A D | file.c | 95 /* FIXME path : unix or mac name ? (for now it's unix name ) */ 310 struct path *path, struct dir *dir, 324 LOG(log_debug, logtype_afpd, "getmetadata(\"%s\")", path->u_name); 326 upath = path->u_name; 327 st = &path->st; 330 if ( ((bitmap & ( (1 << FILPBIT_FINFO)|(1 << FILPBIT_LNAME)|(1 <<FILPBIT_PDINFO) ) ) && !path->m_name) 333 if (!path->id) { 347 if (path->m_name == NULL) { 348 if ((path 308 getmetadata(struct vol *vol, u_int16_t bitmap, struct path *path, struct dir *dir, char *buf, size_t *buflen, struct adouble *adp) argument 623 getfilparams(struct vol *vol, u_int16_t bitmap, struct path *path, struct dir *dir, char *buf, size_t *buflen ) argument 675 char *path, *upath; local 861 setfilparams(struct vol *vol, struct path *path, u_int16_t f_bitmap, char *buf ) argument 1817 struct path path; local 1907 struct path path; local 2091 find_adouble(struct path *path, struct ofork **of, struct adouble *adp) argument 2146 struct path *path; local [all...] |
H A D | afprun.c | 77 char path[MAXPATHLEN +1]; local 79 snprintf(path, sizeof(path)-1, "%s/afp.XXXXXX", tmpdir()); 82 fd = mkstemp(path); 85 LOG(log_error, logtype_afpd, "setup_out_fd: Failed to create file %s. (%s)",path, strerror(errno) ); 90 unlink(path);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/ |
H A D | udevstart.c | 61 char path[PATH_SIZE]; member in struct:device 65 static int device_list_insert(const char *path, struct list_head *device_list) argument 69 const char *devpath = &path[strlen(sysfs_path)]; 74 if (strcmp(loop_device->path, devpath) > 0) { 85 strlcpy(new_device->path, devpath, sizeof(new_device->path)); 87 dbg("add '%s'" , new_device->path); 182 if (strncmp(loop_device->path, first_list[i], strlen(first_list[i])) == 0) { 183 add_device(loop_device->path); 195 if (strncmp(loop_device->path, last_lis 216 has_devt(const char *path) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/examples/VFS/ |
H A D | skel_transparent.c | 50 static SMB_BIG_UINT skel_disk_free(vfs_handle_struct *handle, connection_struct *conn, const char *path, argument 54 return SMB_VFS_NEXT_DISK_FREE(handle, conn, path, small_query, bsize, 98 static int skel_mkdir(vfs_handle_struct *handle, connection_struct *conn, const char *path, mode_t mode) argument 100 return SMB_VFS_NEXT_MKDIR(handle, conn, path, mode); 103 static int skel_rmdir(vfs_handle_struct *handle, connection_struct *conn, const char *path) argument 105 return SMB_VFS_NEXT_RMDIR(handle, conn, path); 168 static int skel_lstat(vfs_handle_struct *handle, connection_struct *conn, const char *path, SMB_STRUCT_STAT *sbuf) argument 170 return SMB_VFS_NEXT_LSTAT(handle, conn, path, sbuf); 173 static int skel_unlink(vfs_handle_struct *handle, connection_struct *conn, const char *path) argument 175 return SMB_VFS_NEXT_UNLINK(handle, conn, path); 178 skel_chmod(vfs_handle_struct *handle, connection_struct *conn, const char *path, mode_t mode) argument 188 skel_chown(vfs_handle_struct *handle, connection_struct *conn, const char *path, uid_t uid, gid_t gid) argument 198 skel_chdir(vfs_handle_struct *handle, connection_struct *conn, const char *path) argument 208 skel_utime(vfs_handle_struct *handle, connection_struct *conn, const char *path, struct utimbuf *times) argument 228 skel_readlink(vfs_handle_struct *handle, connection_struct *conn, const char *path, char *buf, size_t bufsiz) argument 238 skel_mknod(vfs_handle_struct *handle, connection_struct *conn, const char *path, mode_t mode, SMB_DEV_T dev) argument 243 skel_realpath(vfs_handle_struct *handle, connection_struct *conn, const char *path, char *resolved_path) argument 373 skel_sys_acl_delete_def_file(vfs_handle_struct *handle, connection_struct *conn, const char *path) argument 398 skel_getxattr(vfs_handle_struct *handle, struct connection_struct *conn,const char *path, const char *name, void *value, size_t size) argument 403 skel_lgetxattr(vfs_handle_struct *handle, struct connection_struct *conn,const char *path, const char *name, void *value, size_t size) argument 414 skel_listxattr(vfs_handle_struct *handle, struct connection_struct *conn,const char *path, char *list, size_t size) argument 419 skel_llistxattr(vfs_handle_struct *handle, struct connection_struct *conn,const char *path, char *list, size_t size) argument 429 skel_removexattr(vfs_handle_struct *handle, struct connection_struct *conn,const char *path, const char *name) argument 434 skel_lremovexattr(vfs_handle_struct *handle, struct connection_struct *conn,const char *path, const char *name) argument 444 skel_setxattr(vfs_handle_struct *handle, struct connection_struct *conn,const char *path, const char *name, const void *value, size_t size, int flags) argument 449 skel_lsetxattr(vfs_handle_struct *handle, struct connection_struct *conn,const char *path, const char *name, const void *value, size_t size, int flags) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/util/ |
H A D | volinfo.c | 111 static char* find_in_path( char *path, char *subdir, size_t maxlen) argument 116 strlcat(path, subdir, maxlen); 117 pos = strrchr(path, '/'); 119 while ( stat(path, &st) != 0) { 120 path[pos-path]=0; 121 if ((pos = strrchr(path, '/'))) { 122 path[pos-path]=0; 123 strlcat(path, subdi 136 make_path_absolute(char *path, size_t bufsize) argument 185 find_volumeroot(char *path, size_t maxlen) argument 344 loadvolinfo(char *path, struct volinfo *vol) argument 426 allocvolinfo(char *path) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/hotplug2/ |
H A D | rules.c | 30 static void mkdir_p(char *path) { argument 34 path = strdup(path); 35 path = dirname(path); 36 stat(path, &statbuf); 39 free(path); 43 for (ptr = path; ptr != NULL; ptr = strchr(ptr, '/')) { 44 if (ptr == path) { 51 mkdir(path, 075 174 make_dev_from_event(struct hotplug2_event_t *event, char *path, mode_t devmode) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/ |
H A D | kmod.c | 118 char *path; member in struct:subprocess_info 175 retval = kernel_execve(sub_info->path, 256 * @path: pathname for the application 272 int call_usermodehelper_keys(char *path, char **argv, char **envp, argument 282 if (path[0] == '\0') 291 sub_info->path = path; 307 int call_usermodehelper_pipe(char *path, char **argv, char **envp, argument 315 .path = path, [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/libsmb/ |
H A D | clidfs.c | 346 split a dfs path into the server and share name components 352 pstring path; local 354 pstrcpy( path, nodepath ); 356 if ( path[0] != '\\' ) 359 p = strrchr_m( path, '\\' ); 368 fstrcpy( server, &path[1] ); 372 return the original path truncated at the first wildcard character 377 static void clean_path( pstring clean, const char *path ) 383 pstrcpy( newpath, path ); 417 static BOOL make_full_path( pstring path, cons argument 474 cli_dfs_get_referral( struct cli_state *cli, const char *path, CLIENT_DFS_REFERRAL**refs, size_t *num_refs, uint16 *consumed) argument 560 cli_resolve_path( const char *mountpt, struct cli_state *rootcli, const char *path, struct cli_state **targetcli, pstring targetpath ) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-discover-standalone/ |
H A D | main.c | 99 GtkTreePath *path; local 114 if ((path = gtk_tree_row_reference_get_path(s->tree_ref))) { 115 gtk_tree_model_get_iter(GTK_TREE_MODEL(tree_store), &iter, path); local 116 gtk_tree_path_free(path); 142 GtkTreePath *path, *ppath; local 164 path = gtk_tree_model_get_path(GTK_TREE_MODEL(tree_store), &iter); 165 s->tree_ref = gtk_tree_row_reference_new(GTK_TREE_MODEL(tree_store), path); 166 gtk_tree_path_free(path); 191 GtkTreePath *path; local 207 path 254 GtkTreePath *path; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbd/ |
H A D | notify_kernel.c | 86 static BOOL kernel_check_notify(connection_struct *conn, uint16 vuid, char *path, uint32 flags, void *datap, time_t t) argument 99 path, i, (int)fd_pending_array[i], (int)signals_received )); 151 static void *kernel_register_notify(connection_struct *conn, char *path, uint32 flags) argument 157 fd = sys_open(path,O_RDONLY, 0); 160 DEBUG(3,("Failed to open directory %s for change notify\n", path)); 189 path, (int)flags, (int)kernel_flags, fd));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/fips/ |
H A D | fips.c | 120 static int FIPS_check_exe(const char *path) argument 131 f=fopen(path,"rb"); 139 BIO_snprintf(p2,sizeof p2,"%s.exe",path); 164 BIO_snprintf(p2,sizeof p2,sha1_fmt,path); 181 int FIPS_mode_set(int onoff,const char *path) argument 208 if(!FIPS_check_exe(path))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/cnid_dbd/ |
H A D | db_param.c | 37 static int make_pathname(char *path, char *dir, char *fn, size_t maxlen) argument 45 strcpy(path, dir); 46 if (path[len - 1] != '/') 47 strcat(path, "/"); 48 strcat(path, fn); 52 strcpy(path, fn);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/sysfs/ |
H A D | symlink.c | 121 char *path) 133 for (s = path; depth--; s += 3) 136 fill_object_path(target, path, size); 137 pr_debug("%s: path = '%s'\n", __FUNCTION__, path); 142 static int sysfs_getlink(struct dentry *dentry, char * path) argument 158 error = sysfs_get_target_path(kobj, target_kobj, path); 120 sysfs_get_target_path(struct kobject * kobj, struct kobject * target, char *path) argument
|