Searched refs:stat_buf (Results 1 - 22 of 22) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/coreutils/
H A Duuencode.c21 struct stat stat_buf; local
37 fstat(src_fd, &stat_buf);
38 mode = stat_buf.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/scripts/basic/
H A Dsplit-include.c61 struct stat stat_buf; local
75 if (stat(str_file_autoconf, &stat_buf) != 0)
77 buffer_size = 2 * stat_buf.st_size + 4096;
90 if (stat(str_dir_config, &stat_buf) != 0)
149 if (stat(ptarget, &stat_buf) != 0
208 if (stat(line+1, &stat_buf) != 0)
212 if (stat_buf.st_size != 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/v850/kernel/
H A Dsim.c133 unsigned long stat_buf[10];
136 rval = V850_SIM_SYSCALL (stat, name, stat_buf);
141 *len = stat_buf[4];
130 unsigned long stat_buf[10]; local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/archival/
H A Dunzip.c111 struct stat stat_buf; local
277 if (stat(dst_fn, &stat_buf) == -1) {
289 if (!S_ISDIR(stat_buf.st_mode)) {
297 if (stat(dst_fn, &stat_buf) == -1) { /* File does not exist */
305 } else if (S_ISREG(stat_buf.st_mode)) { /* File is regular file */
H A Dbbunzip.c36 struct stat stat_buf; local
51 if (stat(filename, &stat_buf) != 0) {
79 stat_buf.st_mode))
H A Ddpkg.c903 struct stat stat_buf; local
904 xstat("/var/lib/dpkg/status", &stat_buf);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/qla2xxx/
H A Dqla_attr.c887 link_stat_t stat_buf; local
895 rval = qla24xx_get_isp_stats(ha, (uint32_t *)&stat_buf,
896 sizeof(stat_buf) / 4, mb_stat);
902 rval = qla2x00_get_link_status(ha, ha->loop_id, &stat_buf,
909 pfc_host_stat->link_failure_count = stat_buf.link_fail_cnt;
910 pfc_host_stat->loss_of_sync_count = stat_buf.loss_sync_cnt;
911 pfc_host_stat->loss_of_signal_count = stat_buf.loss_sig_cnt;
912 pfc_host_stat->prim_seq_protocol_err_count = stat_buf.prim_seq_err_cnt;
913 pfc_host_stat->invalid_tx_word_count = stat_buf.inval_xmit_word_cnt;
914 pfc_host_stat->invalid_crc_count = stat_buf
[all...]
H A Dqla_mbx.c2031 link_stat_t *stat_buf; local
2036 stat_buf = dma_pool_alloc(ha->s_dma_pool, GFP_ATOMIC, &stat_buf_dma);
2037 if (stat_buf == NULL) {
2042 memset(stat_buf, 0, sizeof(link_stat_t));
2078 le32_to_cpu(stat_buf->link_fail_cnt);
2080 le32_to_cpu(stat_buf->loss_sync_cnt);
2082 le32_to_cpu(stat_buf->loss_sig_cnt);
2084 le32_to_cpu(stat_buf->prim_seq_err_cnt);
2086 le32_to_cpu(stat_buf->inval_xmit_word_cnt);
2088 le32_to_cpu(stat_buf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/serial/
H A Dserial_core.c1650 char stat_buf[32]; local
1699 strncat(stat_buf, (str), sizeof(stat_buf) - \
1700 strlen(stat_buf) - 2)
1703 strncat(stat_buf, (str), sizeof(stat_buf) - \
1704 strlen(stat_buf) - 2)
1706 stat_buf[0] = '\0';
1707 stat_buf[1] = '\0';
1714 if (stat_buf[
[all...]
H A D68360serial.c1907 char stat_buf[30], control, status; local
1939 stat_buf[0] = 0;
1940 stat_buf[1] = 0;
1942 strcat(stat_buf, "|RTS");
1944 strcat(stat_buf, "|CTS");
1946 strcat(stat_buf, "|DTR");
1948 strcat(stat_buf, "|DSR");
1950 strcat(stat_buf, "|CD");
1952 strcat(stat_buf, "|RI");
1977 ret += sprintf(buf+ret, " %s\n", stat_buf
[all...]
H A Dcrisv10.c4652 char stat_buf[30];
4664 stat_buf[0] = 0;
4665 stat_buf[1] = 0;
4667 strcat(stat_buf, "|RTS");
4669 strcat(stat_buf, "|CTS");
4671 strcat(stat_buf, "|DTR");
4673 strcat(stat_buf, "|DSR");
4675 strcat(stat_buf, "|CD");
4677 strcat(stat_buf, "|RI");
4734 ret += sprintf(buf+ret, " %s\n", stat_buf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/runit/
H A Drunsv.c186 char stat_buf[sizeof("finish, paused, got TERM, want down\n")]; local
187 char *p = stat_buf;
211 write(fd, stat_buf, p - stat_buf);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Damiserial.c1819 char stat_buf[30], control, status; local
1841 stat_buf[0] = 0;
1842 stat_buf[1] = 0;
1844 strcat(stat_buf, "|RTS");
1846 strcat(stat_buf, "|CTS");
1848 strcat(stat_buf, "|DTR");
1850 strcat(stat_buf, "|DSR");
1852 strcat(stat_buf, "|CD");
1877 ret += sprintf(buf+ret, " %s\n", stat_buf+1);
H A Dsynclink_gt.c1285 char stat_buf[30]; local
1298 stat_buf[0] = 0;
1299 stat_buf[1] = 0;
1301 strcat(stat_buf, "|RTS");
1303 strcat(stat_buf, "|CTS");
1305 strcat(stat_buf, "|DTR");
1307 strcat(stat_buf, "|DSR");
1309 strcat(stat_buf, "|CD");
1311 strcat(stat_buf, "|RI");
1342 ret += sprintf(buf+ret, " %s\n", stat_buf
[all...]
H A Dsynclink.c3512 char stat_buf[30]; local
3531 stat_buf[0] = 0;
3532 stat_buf[1] = 0;
3534 strcat(stat_buf, "|RTS");
3536 strcat(stat_buf, "|CTS");
3538 strcat(stat_buf, "|DTR");
3540 strcat(stat_buf, "|DSR");
3542 strcat(stat_buf, "|CD");
3544 strcat(stat_buf, "|RI");
3576 ret += sprintf(buf+ret, " %s\n", stat_buf
[all...]
H A Dsynclinkmp.c1412 char stat_buf[30]; local
1431 stat_buf[0] = 0;
1432 stat_buf[1] = 0;
1434 strcat(stat_buf, "|RTS");
1436 strcat(stat_buf, "|CTS");
1438 strcat(stat_buf, "|DTR");
1440 strcat(stat_buf, "|DSR");
1442 strcat(stat_buf, "|CD");
1444 strcat(stat_buf, "|RI");
1475 ret += sprintf(buf+ret, " %s\n", stat_buf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dxfuncs.c547 void xstat(const char *name, struct stat *stat_buf) argument
549 if (stat(name, stat_buf))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Dauth.c268 struct stat stat_buf; local
275 if (stat(nodename, &stat_buf) == 0) { /* file exists */
276 if (S_ISREG(stat_buf.st_mode)) { /* normal file */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/pcmcia/
H A Dsynclink_cs.c2772 char stat_buf[30]; local
2784 stat_buf[0] = 0;
2785 stat_buf[1] = 0;
2787 strcat(stat_buf, "|RTS");
2789 strcat(stat_buf, "|CTS");
2791 strcat(stat_buf, "|DTR");
2793 strcat(stat_buf, "|DSR");
2795 strcat(stat_buf, "|CD");
2797 strcat(stat_buf, "|RI");
2828 ret += sprintf(buf+ret, " %s\n", stat_buf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
H A Dauth.c284 struct stat stat_buf; local
291 if (stat(nodename, &stat_buf) == 0) { /* file exists */
292 if (S_ISREG(stat_buf.st_mode)) { /* normal file */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/printing/
H A Dnt_printing.c1016 SMB_STRUCT_STAT stat_buf; local
1020 ZERO_STRUCT(stat_buf);
1027 driver_unix_convert(filepath,conn,NULL,&bad_path,&stat_buf);
1029 fsp = open_file_shared(conn, filepath, &stat_buf,
1056 driver_unix_convert(filepath,conn,NULL,&bad_path,&stat_buf);
1058 fsp = open_file_shared(conn, filepath, &stat_buf,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/
H A Dsys-linux.c2823 struct stat stat_buf;
2826 || lstat(path, &stat_buf) < 0) {
2822 struct stat stat_buf; local

Completed in 219 milliseconds