Home
last modified time | relevance | path

Searched refs:info (Results 1 – 24 of 24) sorted by relevance

/busybox-1.35.0/miscutils/
Dflash_lock_unlock.c49 struct mtd_info_user info; in flash_lock_unlock_main() local
72 xioctl(fd, MEMGETINFO, &info); in flash_lock_unlock_main()
75 lock.length = info.size; in flash_lock_unlock_main()
77 unsigned long size = info.size - info.erasesize; in flash_lock_unlock_main()
84 sectors = info.size / info.erasesize; in flash_lock_unlock_main()
87 unsigned long num = info.size / info.erasesize; in flash_lock_unlock_main()
96 lock.length = sectors * info.erasesize; in flash_lock_unlock_main()
Ddevfsd.c260 const struct devfsd_notify_struct *info; member
277 static void action_modload(const struct devfsd_notify_struct *info, const struct config_entry_struc…
712 struct devfsd_notify_struct info; in do_servicing() local
718 bytes = read(fd, (char *) &info, sizeof info); in do_servicing()
725 service_name(&info); in do_servicing()
737 static void service_name(const struct devfsd_notify_struct *info) in service_name() argument
747 if (ENABLE_DEBUG && info->overrun_count > 0) in service_name()
748 msg_logger(LOG_ERR, "lost %u events", info->overrun_count); in service_name()
751 if (info->type == DEVFSD_NOTIFY_LOOKUP in service_name()
752 && ((info->devname[0] == 'l' && info->devname[1] == 'o' in service_name()
[all …]
/busybox-1.35.0/procps/
Dfree.c111 struct sysinfo info; in free_main() local
151 sysinfo(&info); in free_main()
154 G.mem_unit = (info.mem_unit ? info.mem_unit : 1); /* kernels < 2.4.x return mem_unit==0, so cope */ in free_main()
157 cached += info.bufferram; in free_main()
159 cached_plus_free = cached + info.freeram; in free_main()
162 scale(&G, info.totalram), //total in free_main()
163 scale(&G, info.totalram - cached_plus_free), //used in free_main()
164 scale(&G, info.freeram) //free in free_main()
168 scale(&G, info.sharedram), //shared in free_main()
178 scale(&G, info.totalram - cached_plus_free), //used in free_main()
[all …]
Duptime.c59 struct sysinfo info; in uptime_main() local
66 sysinfo(&info); in uptime_main()
69 current_secs -= info.uptime; in uptime_main()
89 updays = (unsigned) info.uptime / (unsigned)(60*60*24); in uptime_main()
92 upminutes = (unsigned) info.uptime / (unsigned)60; in uptime_main()
113 LOAD_INT(info.loads[0]), LOAD_FRAC(info.loads[0]), in uptime_main()
114 LOAD_INT(info.loads[1]), LOAD_FRAC(info.loads[1]), in uptime_main()
115 LOAD_INT(info.loads[2]), LOAD_FRAC(info.loads[2])); in uptime_main()
Dps.c124 struct sysinfo info; in get_uptime() local
125 if (sysinfo(&info) < 0) in get_uptime()
127 return info.uptime; in get_uptime()
/busybox-1.35.0/modutils/
Dmodprobe-small.c296 static int parse_module(module_info *info, const char *pathname) in parse_module() argument
361 info->aliases = copy_stringbuf(); in parse_module()
362 replace(info->aliases, '-', '_'); in parse_module()
374 info->deps = copy_stringbuf(); in parse_module()
376 info->open_read_failed = (module_image == NULL); in parse_module()
377 return info->open_read_failed; in parse_module()
692 module_info *info; in process_module() local
790 while ((info = infovec[infoidx++]) != NULL) { in process_module()
791 int r = rmmod(bb_get_last_path_component_nostrip(info->pathname)); in process_module()
805 while ((info = infovec[infoidx++]) != NULL) { in process_module()
[all …]
Dmodutils-24.c527 #define ELF_ST_BIND(info) ELFW(ST_BIND)(info) argument
528 #define ELF_ST_TYPE(info) ELFW(ST_TYPE)(info) argument
550 int info; member
2002 unsigned long symidx, int info, in obj_add_symbol() argument
2008 int n_type = ELF_ST_TYPE(info); in obj_add_symbol()
2009 int n_binding = ELF_ST_BIND(info); in obj_add_symbol()
2014 int o_info = sym->info; in obj_add_symbol()
2077 if (ELF_ST_BIND(info) == STB_LOCAL && symidx != (unsigned long)(-1)) { in obj_add_symbol()
2090 sym->info = info; in obj_add_symbol()
2286 if (sym && !(ELF_ST_BIND(sym->info) == STB_LOCAL)) { in add_symbols_from()
[all …]
/busybox-1.35.0/coreutils/
Dstty.c1115 static void set_mode(const struct mode_info *info, int reversed, in set_mode() argument
1120 bitsp = get_ptr_to_tcflag(info->type, mode); in set_mode()
1123 tcflag_t val = *bitsp & ~info->mask; in set_mode()
1125 *bitsp = val & ~info->bits; in set_mode()
1127 *bitsp = val | info->bits; in set_mode()
1132 if (info == &mode_info[IDX_evenp] || info == &mode_info[IDX_parity]) { in set_mode()
1137 } else if (info == &mode_info[IDX_oddp]) { in set_mode()
1142 } else if (info == &mode_info[IDX_nl]) { in set_mode()
1150 } else if (info == &mode_info[IDX_ek]) { in set_mode()
1153 } else if (info == &mode_info[IDX_sane]) { in set_mode()
[all …]
/busybox-1.35.0/util-linux/
Dfdisk_sgi.c448 sgiinfo *info = fill_sgiinfo(); in sgi_write_table() local
450 write_sector(infostartblock, info); in sgi_write_table()
451 free(info); in sgi_write_table()
876 sgiinfo *info = xzalloc(sizeof(sgiinfo)); in fill_sgiinfo() local
878 info->magic = SGI_SSWAP32(SGI_INFO_MAGIC); in fill_sgiinfo()
879 info->b1 = SGI_SSWAP32(-1); in fill_sgiinfo()
880 info->b2 = SGI_SSWAP16(-1); in fill_sgiinfo()
881 info->b3 = SGI_SSWAP16(1); in fill_sgiinfo()
883 strcpy( (char*)info->scsi_string, "IBM OEM 0662S12 3 30" ); in fill_sgiinfo()
884 strcpy( (char*)info->serial, "0000" ); in fill_sgiinfo()
[all …]
Dmkfs_vfat.c480 struct fat32_fsinfo *info = (void*)(buf + bytes_per_sect); in mkfs_vfat_main() local
515 STORE_LE(info->signature1, FAT_FSINFO_SIG1); in mkfs_vfat_main()
516 STORE_LE(info->signature2, FAT_FSINFO_SIG2); in mkfs_vfat_main()
518 STORE_LE(info->free_clusters, (total_clust - 1)); in mkfs_vfat_main()
519 STORE_LE(info->next_cluster, 2); in mkfs_vfat_main()
520 STORE_LE(info->boot_sign, BOOT_SIGN); in mkfs_vfat_main()
Dfdisk_sun.c320 snprintf((char *)(sunlabel->info), sizeof(sunlabel->info), in create_sunlabel()
Dfdisk.c726 unsigned char info[128]; /* Informative text string */ member
/busybox-1.35.0/shell/hush_test/hush-misc/
Dempty_args.tests5 # printf without args would print usage info
/busybox-1.35.0/shell/ash_test/ash-misc/
Dempty_args.tests5 # printf without args would print usage info
/busybox-1.35.0/networking/
Difenslave.c464 struct ethtool_drvinfo info; in get_drv_info() local
467 ifr.ifr_data = (caddr_t)&info; in get_drv_info()
468 info.cmd = ETHTOOL_GDRVINFO; in get_drv_info()
470 strcpy(info.driver, "ifenslave"); in get_drv_info()
471 strcpy(info.fw_version, utoa(BOND_ABI_VERSION)); in get_drv_info()
478 abi_ver = bb_strtou(info.fw_version, NULL, 0); in get_drv_info()
Dhttpd.c422 const char *info; member
1098 infoString = http_response[i].info; in send_headers()
/busybox-1.35.0/editors/
Dawk.c176 uint32_t info; member
1306 static node *new_node(uint32_t info) in new_node() argument
1311 n->info = info; in new_node()
1318 n->info = TI_REGEXP; in mk_re_node()
1347 sn.info = PRIMASK; in parse_expr()
1367 while (((t_info & PRIMASK) > (vn->a.n->info & PRIMASK2)) in parse_expr()
1368 || ((t_info == vn->info) && t_info == TI_COLON) in parse_expr()
1391 cn->info &= ~PRIMASK; in parse_expr()
1424 cn->info = OC_VAR; in parse_expr()
1427 cn->info = OC_FNARG; in parse_expr()
[all …]
Dsed1line.txt317 # info, so that only the uuencoded portion remains. Files passed to
/busybox-1.35.0/util-linux/volume_id/
Dcramfs.c40 } PACKED info; member
/busybox-1.35.0/examples/
Dundeb9 Usage: undeb -c package.deb <Print control file info>
/busybox-1.35.0/docs/
Dnew-applet-HOWTO.txt134 usage info text to include/applets.src.h and include/usage.src.h respectively.
187 applets.src.h before adding your applet - it contains important info
Dstyle-guide.txt713 For more info and examples, examine getopt32.c, tar.c, wget.c etc.
/busybox-1.35.0/init/
Dinit.c1008 static void handle_sigsegv(int sig, siginfo_t *info, void *ucontext) in handle_sigsegv() argument
1020 (long)info->si_addr, in handle_sigsegv()
/busybox-1.35.0/scripts/
DKbuild.include114 # See Documentation/kbuild/makefiles.txt for more info