Searched refs:tmp_stat (Results 1 - 7 of 7) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/src/router/shared/
H A Dwapi_utils.c105 struct stat tmp_stat; local
122 if (stat(WAPI_TGZ_TMP_FILE, &tmp_stat) ||
128 if ((tmp_stat.st_size + sizeof(wapi_mtd_hdr_t)) > mtd_info.size || tmp_stat.st_size == 0) {
134 if ((buf = malloc(tmp_stat.st_size)) == NULL) {
145 if (fread(buf, 1, tmp_stat.st_size, fp) != tmp_stat.st_size) {
155 mtd_hdr.len = tmp_stat.st_size;
156 mtd_hdr.checksum = wapi_checksum(buf, tmp_stat.st_size);
162 write(mtd_fd, buf, tmp_stat
[all...]
H A Dconfmtd_utils.c106 struct stat tmp_stat; local
149 if (fstat(fd, &tmp_stat)) {
154 if ((tmp_stat.st_size + sizeof(confmtd_hdr_t)) > mtd_info.size || tmp_stat.st_size == 0) {
160 if ((tmp_buf = malloc(tmp_stat.st_size)) == NULL) {
165 if ((buf = malloc(tmp_stat.st_size + sizeof(confmtd_hdr_t))) == NULL) {
170 if (read(fd, tmp_buf, tmp_stat.st_size) != tmp_stat.st_size) {
181 mtd_hdr.len = tmp_stat.st_size;
182 mtd_hdr.checksum = confmtd_checksum(tmp_buf, tmp_stat
234 struct stat tmp_stat; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/alpha/kernel/
H A Dosf_sys.c207 struct osf_statfs tmp_stat; local
209 tmp_stat.f_type = linux_stat->f_type;
210 tmp_stat.f_flags = 0; /* mount flags */
211 tmp_stat.f_fsize = linux_stat->f_frsize;
212 tmp_stat.f_bsize = linux_stat->f_bsize;
213 tmp_stat.f_blocks = linux_stat->f_blocks;
214 tmp_stat.f_bfree = linux_stat->f_bfree;
215 tmp_stat.f_bavail = linux_stat->f_bavail;
216 tmp_stat.f_files = linux_stat->f_files;
217 tmp_stat
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/rc/
H A Dusb_hotplug.c1145 struct stat tmp_stat; local
1150 if (stat(path, &tmp_stat) == 0)
1177 struct stat tmp_stat; local
1179 if (stat("/mnt/SMRTNTKY/WSETTING.WFC", &tmp_stat) == 0) {
H A Drc.c2983 struct stat tmp_stat; local
3074 if (stat("/proc/modules", &tmp_stat) == 0 &&
3075 stat(buf, &tmp_stat) == 0) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/bin/ad/
H A Dad_cp.c217 struct stat to_stat, tmp_stat; local
321 lstat(*argv, &tmp_stat);
323 if (S_ISDIR(tmp_stat.st_mode) && Rflag)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/gadget/
H A Dfsl_udc_core.c609 u32 temp, bitmask, tmp_stat; local
636 tmp_stat = fsl_readl(&dr_regs->endptstatus) & bitmask;
644 if (tmp_stat)

Completed in 191 milliseconds