/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/bridge-1.x/libbridge/ |
H A D | libbridge_devif.c | 41 struct sysfs_directory *sdir; local 60 sdir = sysfs_open_directory(path); 61 if (!sdir) 63 return sdir; 66 static void fetch_id(struct sysfs_directory *sdir, const char *name, argument 72 attr = sysfs_get_directory_attribute(sdir, (char *) name); 74 dprintf("Can't find attribute %s/%s\n", sdir->path, name); 94 static void fetch_tv(struct sysfs_directory *sdir, const char *name, argument 98 = sysfs_get_directory_attribute(sdir, (char *) name); 101 dprintf("Can't find attribute %s/%s\n", sdir 110 fetch_int(struct sysfs_directory *sdir, const char *name) argument 334 struct sysfs_directory *sdir; local 405 struct sysfs_directory *sdir; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/ |
H A D | filedir.c | 326 move and rename sdir:oldname to curdir:newname in volume vol 330 struct dir *sdir, 350 cfrombstr(sdir->d_u_name), oldname, newname); 357 if ((oldunixname = strdup(mtoupath(vol, oldname, sdir->d_did, utf8_encoding()))) == NULL) 359 id = cnid_get(vol->v_cdb, sdir->d_did, oldunixname, strlen(oldunixname)); 364 if ((oldunixname = strdup(ctoupath(vol, sdir, oldname))) == NULL) 382 id = sdir->d_did; /* we already have the CNID */ 383 if ((oldunixname = strdup(ctoupath( vol, dirlookup(vol, sdir->d_pdid), oldname))) == NULL) 434 if ((!isdir && curdir == sdir) || (isdir && curdir->d_did == sdir 329 moveandrename(const struct vol *vol, struct dir *sdir, int sdir_fd, char *oldname, char *newname, int isdir) argument 503 struct dir *sdir; local 693 struct dir *sdir, *ddir; local [all...] |
H A D | file.c | 1394 retvalue=matchfile2dirperms(upath, vol, ddid); /* FIXME sdir or ddid */ 2143 struct dir *dir, *sdir; local 2197 sdir = curdir; 2202 p = absupath( vol, sdir, supath); 2217 sid = cnid_lookup(vol->v_cdb, &srcst, sdir->d_did, supath,slen = strlen(supath)); 2236 if ((curdir == sdir) && strcmp(spath, path->m_name) == 0) { 2280 of_rename(vol, s_of, sdir, spath, curdir, temp); 2285 of_rename(vol, d_of, curdir, path->m_name, sdir, spath); 2304 cnid_update(vol->v_cdb, sid, &destst, sdir->d_did,supath, slen) < 0)) 2318 if (sid && ad_setid(addp, destst.st_dev, destst.st_ino, sid, sdir [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/ |
H A D | filedir.c | 331 move and rename sdir:oldname to curdir:newname in volume vol 335 struct dir *sdir, 355 cfrombstr(sdir->d_u_name), oldname, newname); 362 if ((oldunixname = strdup(mtoupath(vol, oldname, sdir->d_did, utf8_encoding()))) == NULL) 364 id = cnid_get(vol->v_cdb, sdir->d_did, oldunixname, strlen(oldunixname)); 369 if ((oldunixname = strdup(ctoupath(vol, sdir, oldname))) == NULL) 388 id = sdir->d_did; /* we already have the CNID */ 389 if ((oldunixname = strdup(ctoupath( vol, dirlookup(vol, sdir->d_pdid), oldname))) == NULL) 440 if ((!isdir && curdir == sdir) || (isdir && curdir->d_did == sdir 334 moveandrename(const struct vol *vol, struct dir *sdir, int sdir_fd, char *oldname, char *newname, int isdir) argument 509 struct dir *sdir; local 699 struct dir *sdir, *ddir; local [all...] |
H A D | file.c | 1397 retvalue=matchfile2dirperms(upath, vol, ddid); /* FIXME sdir or ddid */ 2148 struct dir *dir, *sdir; local 2202 sdir = curdir; 2207 p = absupath( vol, sdir, supath); 2222 sid = cnid_lookup(vol->v_cdb, &srcst, sdir->d_did, supath,slen = strlen(supath)); 2241 if ((curdir == sdir) && strcmp(spath, path->m_name) == 0) { 2285 of_rename(vol, s_of, sdir, spath, curdir, temp); 2290 of_rename(vol, d_of, curdir, path->m_name, sdir, spath); 2309 cnid_update(vol->v_cdb, sid, &destst, sdir->d_did,supath, slen) < 0)) 2323 if (sid && ad_setid(addp, destst.st_dev, destst.st_ino, sid, sdir [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ |
H A D | block_dev.c | 570 struct kobject *sdir; /* holder object, e.g. "/block/dm-0/slaves" */ member in struct:bd_holder 588 bo->sdir = kobject_get(bo->sdir); 589 if (!bo->sdir) 592 bo->hdev = kobject_get(bo->sdir->parent); 611 kobject_put(bo->sdir); 622 kobject_put(bo->sdir); 634 bo->sdir = kobj; 660 if (tmp->sdir == bo->sdir) { [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/kernel/ |
H A D | salinfo.c | 628 struct proc_dir_entry **sdir = salinfo_proc_entries; /* keeps track of every entry */ local 639 *sdir++ = create_proc_read_entry (salinfo_entries[i].name, 0, salinfo_dir, 656 *sdir++ = entry; 663 *sdir++ = entry; 669 *sdir++ = dir; 672 *sdir++ = salinfo_dir;
|