Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 45) sorted by relevance

12

/busybox-1.35.0/modutils/
Drmmod.c40 int n, err; in rmmod_main() local
52 err = bb_delete_module(NULL, flags); in rmmod_main()
53 if (err && err != EFAULT) in rmmod_main()
71 err = bb_delete_module(modname, flags); in rmmod_main()
72 if (err) in rmmod_main()
Dmodutils.c262 const char* FAST_FUNC moderror(int err) in moderror() argument
264 switch (err) { in moderror()
276 if (err < 0) /* should always be */ in moderror()
277 err = -err; in moderror()
278 return strerror(err); in moderror()
/busybox-1.35.0/util-linux/
Dswaponoff.c151 int err = 0; in swap_enable_disable() local
157 err = swapoff(device); in swap_enable_disable()
163 err = stat(device, &st); in swap_enable_disable()
164 if (!err) { in swap_enable_disable()
171 err = swapon(device, g_flags); in swap_enable_disable()
176 if (err && OPT_IFEXISTS && errno == ENOENT) in swap_enable_disable()
177 err = 0; in swap_enable_disable()
180 if (err && !quiet) { in swap_enable_disable()
234 int err = 0; in do_em_all_in_fstab() local
260 err |= swap_enable_disable(m->mnt_fsname); in do_em_all_in_fstab()
[all …]
Dmountpoint.c57 goto err; in mountpoint_main()
67 goto err; in mountpoint_main()
101 err: in mountpoint_main()
/busybox-1.35.0/shell/ash_test/ash-psubst/
Dbash_procsub.tests22 rm -f err
26 exec 2> >(tee err)
31 cat err
32 rm -f err
/busybox-1.35.0/miscutils/
Di2c_tools.c126 int err; in i2c_smbus_read_byte() local
128 err = i2c_smbus_access(fd, I2C_SMBUS_READ, 0, I2C_SMBUS_BYTE, &data); in i2c_smbus_read_byte()
129 if (err < 0) in i2c_smbus_read_byte()
130 return err; in i2c_smbus_read_byte()
145 int err; in i2c_smbus_read_byte_data() local
147 err = i2c_smbus_access(fd, I2C_SMBUS_READ, cmd, in i2c_smbus_read_byte_data()
149 if (err < 0) in i2c_smbus_read_byte_data()
150 return err; in i2c_smbus_read_byte_data()
158 int err; in i2c_smbus_read_word_data() local
160 err = i2c_smbus_access(fd, I2C_SMBUS_READ, cmd, in i2c_smbus_read_word_data()
[all …]
/busybox-1.35.0/selinux/
Dsetfiles.c240 goto err; in match()
249 goto err; in match()
278 goto err; in match()
288 goto err; in match()
294 goto err; in match()
298 goto err; in match()
307 goto err; in match()
317 err: in match()
374 goto err; in restore()
392 goto err; in restore()
[all …]
/busybox-1.35.0/shell/
Dmath.c302 const char *err; in arith_apply() local
306 goto err; in arith_apply()
311 err = arith_lookup_val(math_state, top_of_stack); in arith_apply()
312 if (err) in arith_apply()
313 return err; in arith_apply()
333 goto err; in arith_apply()
352 err = arith_lookup_val(math_state, top_of_stack); in arith_apply()
353 if (err) in arith_apply()
354 return err; in arith_apply()
444 goto err; in arith_apply()
[all …]
Dshell_common.c40 unsigned err; in shell_builtin_read() local
55 errno = err = 0; in shell_builtin_read()
201 err = errno; in shell_builtin_read()
206 err = errno; in shell_builtin_read()
315 errno = err; in shell_builtin_read()
/busybox-1.35.0/coreutils/
Decho.c90 int err; in echo_main() local
189 err = full_write(STDOUT_FILENO, buffer, out - buffer) != out - buffer; in echo_main()
190 if (err) { in echo_main()
194 return err; in echo_main()
Dchmod.c79 goto err; in fileAction()
100 err: in fileAction()
/busybox-1.35.0/archival/libarchive/
Dget_header_ar.c14 int err; in read_num() local
23 err = bb_strtou(str, NULL, base); in read_num()
24 if (err == -1) in read_num()
26 return err; in read_num()
Ddecompress_uncompress.c117 goto err; in IF_DESKTOP()
127 goto err; in IF_DESKTOP()
240 goto err; in IF_DESKTOP()
306 err: in IF_DESKTOP()
/busybox-1.35.0/libbb/
Dxfuncs.c235 static int wh_helper(int value, int def_val, const char *env_name, int *err) in wh_helper() argument
255 *err = 0; in wh_helper()
268 int err; in get_terminal_width_height() local
288 err = ioctl(fd, TIOCGWINSZ, &win) != 0 || win.ws_row == 0; in get_terminal_width_height()
290 *height = wh_helper(win.ws_row, 24, "LINES", &err); in get_terminal_width_height()
292 *width = wh_helper(win.ws_col, 80, "COLUMNS", &err); in get_terminal_width_height()
297 return err; in get_terminal_width_height()
Dbb_strtod.c22 goto err;
30 err:
Dxreadlink.c100 int err = errno; in xmalloc_readlink_or_warn() local
101 if (err != EINVAL) in xmalloc_readlink_or_warn()
102 errmsg = strerror(err); in xmalloc_readlink_or_warn()
/busybox-1.35.0/networking/libiproute/
Diptunnel.c86 int err; in do_ioctl_get_iftype() local
90 err = ioctl_or_warn(fd, SIOCGIFHWADDR, &ifr); in do_ioctl_get_iftype()
92 return err ? -1 : ifr.ifr_addr.sa_family; in do_ioctl_get_iftype()
99 int err; in do_ioctl_get_ifname() local
103 err = ioctl_or_warn(fd, SIOCGIFNAME, &ifr); in do_ioctl_get_ifname()
105 return err ? NULL : xstrndup(ifr.ifr_name, sizeof(ifr.ifr_name)); in do_ioctl_get_ifname()
112 int err; in do_get_ioctl() local
117 err = ioctl_or_warn(fd, SIOCGETTUNNEL, &ifr); in do_get_ioctl()
119 return err; in do_get_ioctl()
525 int err; in do_show() local
[all …]
Dlibnetlink.c80 struct nlmsgerr *err = (struct nlmsgerr*)NLMSG_DATA(h); in rtnl_send_check() local
84 errno = -err->error; in rtnl_send_check()
165 int err; in rtnl_dump_filter() local
194 err = filter(&nladdr, h, arg1); in rtnl_dump_filter()
195 if (err < 0) { in rtnl_dump_filter()
196 retval = err; in rtnl_dump_filter()
321 struct nlmsgerr *err = (struct nlmsgerr*)NLMSG_DATA(h); in rtnl_talk() local
325 errno = - err->error; in rtnl_talk()
/busybox-1.35.0/networking/
Dtls_rsa.c188 int32 err; in psRsaEncryptPub() local
198 if ((err = pkcs1Pad(in, inlen, out, size, PRIVKEY_TYPE, data)) in psRsaEncryptPub()
201 return err; in psRsaEncryptPub()
203 if ((err = psRsaCrypt(pool, out, size, out, (uint32*)&outlen, key, in psRsaEncryptPub()
206 return err; in psRsaEncryptPub()
Dtls_pstm.c1546 int32 err; in pstm_mod() local
1550 if ((err = pstm_init_size(pool, &t, b->alloc)) != PSTM_OKAY) { in pstm_mod()
1551 return err; in pstm_mod()
1553 if ((err = pstm_div(pool, a, b, NULL, &t)) != PSTM_OKAY) { in pstm_mod()
1555 return err; in pstm_mod()
1558 err = pstm_add(&t, b, c); in pstm_mod()
1563 return err; in pstm_mod()
1609 int32 err, bitbuf; in pstm_exptmod() local
1622 if ((err = pstm_montgomery_setup (P, &mp)) != PSTM_OKAY) { in pstm_exptmod()
1623 return err; in pstm_exptmod()
[all …]
Darp.c111 int err; in arp_del() local
192 err = -1; in arp_del()
198 err = ioctl(sockfd, SIOCDARP, &req); in arp_del()
199 if (err < 0) { in arp_del()
209 if ((flags & 1) && err) { in arp_del()
/busybox-1.35.0/docs/
Dsyslog.conf.txt22 kern.!err /var/log/critical #all messages of kern facility with p…
24 kern,user.*;kern.!=notice;*.err;syslog.none /var/log/OMG #some whicked rule just as an example =)
/busybox-1.35.0/archival/
Dbbunzip.c66 err: in bbunpack()
71 goto err; in bbunpack()
84 goto err; in bbunpack()
100 goto err; in bbunpack()
112 goto err; in bbunpack()
/busybox-1.35.0/scripts/kconfig/
Dzconf.y25 static void zconfprint(const char *err, ...);
26 static void zconf_error(const char *err, ...);
27 static void zconferror(const char *err);
515 static void zconfprint(const char *err, ...) in zconfprint() argument
520 va_start(ap, err); in zconfprint()
521 vfprintf(stderr, err, ap); in zconfprint()
526 static void zconf_error(const char *err, ...) in zconf_error() argument
532 va_start(ap, err); in zconf_error()
533 vfprintf(stderr, err, ap); in zconf_error()
538 static void zconferror(const char *err) in zconferror() argument
[all …]
/busybox-1.35.0/networking/udhcp/
Ddhcprelay.c184 int err; in sendto_ip4() local
187 err = sendto(sock, msg, msg_len, 0, (struct sockaddr*) to, sizeof(*to)); in sendto_ip4()
188 err -= msg_len; in sendto_ip4()
189 if (err) in sendto_ip4()
191 return err; in sendto_ip4()

12