Searched refs:ut (Results 1 - 23 of 23) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/miscutils/
H A Dlast.c32 struct utmp ut; local
42 while ((n = safe_read(file, (void*)&ut, sizeof(struct utmp))) != 0) {
48 if (ut.ut_line[0] == '~') {
49 if (strncmp(ut.ut_user, "shutdown", 8) == 0)
50 ut.ut_type = SHUTDOWN_TIME;
51 else if (strncmp(ut.ut_user, "reboot", 6) == 0)
52 ut.ut_type = BOOT_TIME;
53 else if (strncmp(ut.ut_user, "runlevel", 7) == 0)
54 ut.ut_type = RUN_LVL;
56 if (!ut
[all...]
H A Drunlevel.c21 struct utmp *ut; local
27 while ((ut = getutent()) != NULL) {
28 if (ut->ut_type == RUN_LVL) {
29 prev = ut->ut_pid / 256;
31 printf("%c %c\n", prev, ut->ut_pid % 256);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/coreutils/
H A Dwho.c46 struct utmp *ut; local
56 while ((ut = getutent()) != NULL) {
57 if (ut->ut_user[0] && ut->ut_type == USER_PROCESS) {
58 time_t thyme = ut->ut_tv.tv_sec;
60 /* ut->ut_line is device name of tty - "/dev/" */
61 name = concat_path_file("/dev", ut->ut_line);
67 ut->ut_user, ut->ut_line, str6,
68 ctime(&thyme) + 4, ut
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/bftpd-1.6.6/
H A Dbftpdutmp.c54 struct bftpdutmp ut, tmp; local
58 memset((void *) &ut, 0, sizeof(ut));
59 ut.bu_pid = getpid();
61 ut.bu_type = 1;
62 strncpy(ut.bu_name, user, sizeof(ut.bu_name));
63 strncpy(ut.bu_host, remotehostname, sizeof(ut.bu_host));
76 ut
[all...]
H A Dlogin.c263 struct utmp ut; local
267 memset ((void *) &ut, 0, sizeof (ut));
269 ut.ut_pid = getpid ();
271 sprintf (ut.ut_line, "ftp%i", (int) getpid ());
275 ut.ut_type = USER_PROCESS;
277 strncpy (ut.ut_name, user, sizeof (ut.ut_name));
279 strncpy (ut.ut_host, remotehostname, sizeof (ut
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dcopy-file.c99 struct utimbuf ut; local
101 ut.actime = statbuf.st_atime;
102 ut.modtime = statbuf.st_mtime;
103 utime (dest_filename, &ut);
107 struct timeval ut[2]; local
109 ut[0].tv_sec = statbuf.st_atime; ut[0].tv_usec = 0;
110 ut[1].tv_sec = statbuf.st_mtime; ut[1].tv_usec = 0;
111 utimes (dest_filename, &ut);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/blkid/
H A Dblkid_getsize.c72 struct utsname ut; local
99 if ((uname(&ut) == 0) &&
100 ((ut.release[0] == '2') && (ut.release[1] == '.') &&
101 (ut.release[2] < '6') && (ut.release[3] == '.')))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/loginutils/
H A Dgetty.c35 extern void updwtmp(const char *filename, const struct utmp *ut);
648 struct utmp ut; local
671 memcpy(&ut, utp, sizeof(ut));
674 memset(&ut, 0, sizeof(ut));
675 safe_strncpy(ut.ut_id, line + 3, sizeof(ut.ut_id));
679 strcpy(ut.ut_user, "LOGIN");
680 safe_strncpy(ut
[all...]
H A Dlogin.c55 struct utmp *ut; local
61 while ((ut = getutent()))
62 if (ut->ut_pid == pid && ut->ut_line[0] && ut->ut_id[0] &&
63 (ut->ut_type == LOGIN_PROCESS || ut->ut_type == USER_PROCESS))
67 if (ut) {
68 *utptr = *ut;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/ext2fs/
H A Dgetsize.c141 struct utsname ut;
177 if ((uname(&ut) == 0) &&
178 ((ut.release[0] == '2') && (ut.release[1] == '.') &&
179 (ut.release[2] < '6') && (ut.release[3] == '.')))
H A Dunix_io.c377 struct utsname ut; local
429 (uname(&ut) == 0) &&
430 ((ut.release[0] == '2') && (ut.release[1] == '.') &&
431 (ut.release[2] == '4') && (ut.release[3] == '.') &&
432 (ut.release[4] == '1') && (ut.release[5] >= '0') &&
433 (ut.release[5] < '8')) &&
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/
H A Dsys-linux.c2147 struct utmp ut, *utp; local
2163 memcpy(&ut, utp, sizeof(ut));
2166 memset(&ut, 0, sizeof(ut));
2168 if (ut.ut_id[0] == 0)
2169 strncpy(ut.ut_id, line + 3, sizeof(ut.ut_id));
2171 strncpy(ut.ut_user, name, sizeof(ut
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ata/
H A Dpata_via.c225 int ut; local
263 ut = t.udma ? (0xe0 | (FIT(t.udma, 2, 5) - 2)) : 0x03;
266 ut = t.udma ? (0xe8 | (FIT(t.udma, 2, 9) - 2)) : 0x0f;
269 ut = t.udma ? (0xe0 | (FIT(t.udma, 2, 9) - 2)) : 0x07;
272 ut = t.udma ? (0xe0 | (FIT(t.udma, 2, 9) - 2)) : 0x07;
277 pci_write_config_byte(pdev, 0x50 + offset, ut);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/xfrm/
H A Dxfrm_user.c972 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, argument
978 for (i = 0; i < nr; i++, ut++) {
981 memcpy(&t->id, &ut->id, sizeof(struct xfrm_id));
982 memcpy(&t->saddr, &ut->saddr,
984 t->reqid = ut->reqid;
985 t->mode = ut->mode;
986 t->share = ut->share;
987 t->optional = ut->optional;
988 t->aalgos = ut->aalgos;
989 t->ealgos = ut
995 validate_tmpl(int nr, struct xfrm_user_tmpl *ut, u16 family) argument
1690 struct xfrm_user_tmpl *ut; local
2282 struct xfrm_user_tmpl *ut = (struct xfrm_user_tmpl *) (p + 1); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/zlib-1.2.3/contrib/minizip/
H A Dminiunz.c67 struct utimbuf ut;
80 ut.actime=ut.modtime=mktime(&newdate);
81 utime(filename,&ut);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/zlib-1.2.3/contrib/minizip/
H A Dminiunz.c67 struct utimbuf ut;
80 ut.actime=ut.modtime=mktime(&newdate);
81 utime(filename,&ut);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/
H A Dutil_str.c192 char us, ut; local
205 ut = toupper(*pt);
206 if (us == ut)
208 else if (us < ut)
210 else if (us > ut)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
H A Ddirectory.c235 struct utimbuf ut; local
290 ut.actime = ut.modtime = st.st_mtime;
291 utime(dpath, &ut);
298 ut.actime = ut.modtime = st.st_mtime;
299 utime(dst, &ut);
1866 struct utimbuf ut; local
2163 ut.actime = ut
[all...]
H A Dfile.c874 struct utimbuf ut; local
1098 ut.actime = ut.modtime = AD_DATE_TO_UNIX(newdate);
1099 utime(upath, &ut);
1595 struct utimbuf ut; local
1597 ut.actime = ut.modtime = st.st_mtime;
1598 utime(dst, &ut);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Ddirectory.c235 struct utimbuf ut; local
290 ut.actime = ut.modtime = st.st_mtime;
291 utime(dpath, &ut);
298 ut.actime = ut.modtime = st.st_mtime;
299 utime(dst, &ut);
1881 struct utimbuf ut; local
2178 ut.actime = ut
[all...]
H A Dfile.c871 struct utimbuf ut; local
1101 ut.actime = ut.modtime = AD_DATE_TO_UNIX(newdate);
1102 utime(upath, &ut);
1599 struct utimbuf ut; local
1601 ut.actime = ut.modtime = st.st_mtime;
1602 utime(dst, &ut);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dcompat.c499 struct timespec __user *ut = NULL; local
509 ut = compat_alloc_user_space(sizeof(*ut));
510 if (copy_to_user(ut, &t, sizeof(t)) )
513 ret = sys_io_getevents(ctx_id, min_nr, nr, events, ut);
2238 struct itimerspec __user *ut; local
2242 ut = compat_alloc_user_space(sizeof(*ut));
2243 if (copy_to_user(ut, &t, sizeof(t)))
2246 return sys_timerfd(ufd, clockid, flags, ut);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/
H A Dconfigure24224 struct utmp ut; ut.ut_name[0] = 'a';
24287 struct utmp ut; ut.ut_user[0] = 'a';
24350 struct utmp ut; ut.ut_id[0] = 'a';
24413 struct utmp ut; ut.ut_host[0] = 'a';
24476 struct utmp ut; time_t t; ut
[all...]

Completed in 412 milliseconds