Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 20 of 20) sorted by relevance

/busybox-1.35.0/e2fsprogs/
De2fs_lib.c77 const char *fn; in print_e2flags_long() local
81 fn = e2attr_flags_lname; in print_e2flags_long()
86 fputs(fn, stdout); in print_e2flags_long()
90 fn += strlen(fn) + 1; in print_e2flags_long()
91 } while (*fn); in print_e2flags_long()
99 const char *fn; in print_e2flags() local
102 fn = e2attr_flags_sname; in print_e2flags()
106 c = *fn; in print_e2flags()
109 fn++; in print_e2flags()
110 } while (*fn); in print_e2flags()
/busybox-1.35.0/coreutils/libcoreutils/
Dcp_mv_stat.c24 int FAST_FUNC cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf) in cp_mv_stat2() argument
26 if (sf(fn, fn_stat) < 0) { in cp_mv_stat2()
30 bb_error_msg("can't stat '%s': Path has non-directory component", fn); in cp_mv_stat2()
34 bb_perror_msg("can't stat '%s'", fn); in cp_mv_stat2()
45 int FAST_FUNC cp_mv_stat(const char *fn, struct stat *fn_stat) in cp_mv_stat() argument
47 return cp_mv_stat2(fn, fn_stat, stat); in cp_mv_stat()
Dcoreutils.h10 typedef int (*stat_func)(const char *fn, struct stat *ps);
12 int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf) FAST_FUNC;
13 int cp_mv_stat(const char *fn, struct stat *fn_stat) FAST_FUNC;
/busybox-1.35.0/coreutils/
Ddos2unix.c60 static void convert(char *fn, int conv_type) in convert() argument
69 if (fn != NULL) { in convert()
73 resolved_fn = xmalloc_follow_symlinks(fn); in convert()
75 bb_simple_perror_msg_and_die(fn); in convert()
97 if (fn != NULL) { in convert()
/busybox-1.35.0/archival/
Dar.c122 char *fn; in write_ar_header() local
127 fn = llist_pop(&handle->accept); in write_ar_header()
128 if (!fn) in write_ar_header()
131 xstat(fn, &st); in write_ar_header()
140 sprintf(fn_h, "%.15s/", bb_basename(fn)); in write_ar_header()
144 fd = xopen(fn, O_RDONLY); in write_ar_header()
Dlzop.c747 uint32_t FAST_FUNC (*fn)(uint32_t, const uint8_t*, unsigned), in lzo_check()
754 uint32_t c = fn(init, buf, len); in lzo_check()
Dunzip.c352 static void unzip_create_leading_dirs(const char *fn) in unzip_create_leading_dirs() argument
355 char *name = xstrdup(fn); in unzip_create_leading_dirs()
/busybox-1.35.0/modutils/
Dmodprobe.c443 char *fn, *options; in do_modprobe() local
446 fn = llist_pop(&m->deps); /* we leak it */ in do_modprobe()
447 m2 = get_or_add_modentry(bb_get_last_path_component_nostrip(fn)); in do_modprobe()
479 CONFIG_DEFAULT_MODULES_DIR, G.uts.release, fn, in do_modprobe()
486 DBG("%s is already loaded, skipping", fn); in do_modprobe()
491 rc = bb_init_module(fn, options); in do_modprobe()
492 DBG("loaded %s '%s', rc:%d", fn, options, rc); in do_modprobe()
499 fn, in do_modprobe()
674 char *fn = is_prefixed_with(substr, "blacklist="); in modprobe_main() local
675 if (!fn) in modprobe_main()
[all …]
/busybox-1.35.0/scripts/kconfig/
Dexpr.c1015 void expr_print(struct expr *e, void (*fn)(void *, const char *), void *data, int prevtoken) in expr_print()
1018 fn(data, "y"); in expr_print()
1023 fn(data, "("); in expr_print()
1027 fn(data, e->left.sym->name); in expr_print()
1029 fn(data, "<choice>"); in expr_print()
1032 fn(data, "!"); in expr_print()
1033 expr_print(e->left.expr, fn, data, E_NOT); in expr_print()
1036 fn(data, e->left.sym->name); in expr_print()
1037 fn(data, "="); in expr_print()
1038 fn(data, e->right.sym->name); in expr_print()
[all …]
Dlkc_proto.h41 P(expr_print,void,(struct expr *e, void (*fn)(void *, const char *), void *data, int prevtoken));
Dgconf.c601 const gchar *fn; in load_filename() local
603 fn = gtk_file_selection_get_filename(GTK_FILE_SELECTION in load_filename()
606 if (conf_read(fn)) in load_filename()
644 const gchar *fn; in store_filename() local
646 fn = gtk_file_selection_get_filename(GTK_FILE_SELECTION in store_filename()
649 if (conf_write(fn)) in store_filename()
/busybox-1.35.0/networking/libiproute/
Dipneigh.c143 struct nlmsghdr *fn; in print_neigh() local
148 fn = (struct nlmsghdr*)(G_filter.flushb + NLMSG_ALIGN(G_filter.flushp)); in print_neigh()
149 memcpy(fn, n, n->nlmsg_len); in print_neigh()
150 fn->nlmsg_type = RTM_DELNEIGH; in print_neigh()
151 fn->nlmsg_flags = NLM_F_REQUEST; in print_neigh()
152 fn->nlmsg_seq = ++(G_filter.rth->seq); in print_neigh()
153 G_filter.flushp = (((char*)fn) + n->nlmsg_len) - G_filter.flushb; in print_neigh()
Dipaddress.c282 struct nlmsghdr *fn; in print_addrinfo() local
287 fn = (struct nlmsghdr*)(G_filter.flushb + NLMSG_ALIGN(G_filter.flushp)); in print_addrinfo()
288 memcpy(fn, n, n->nlmsg_len); in print_addrinfo()
289 fn->nlmsg_type = RTM_DELADDR; in print_addrinfo()
290 fn->nlmsg_flags = NLM_F_REQUEST; in print_addrinfo()
291 fn->nlmsg_seq = ++G_filter.rth->seq; in print_addrinfo()
292 G_filter.flushp = (((char*)fn) + n->nlmsg_len) - G_filter.flushb; in print_addrinfo()
Diproute.c202 struct nlmsghdr *fn; in print_route() local
219 fn = (void*)(G_filter.flushb + NLMSG_ALIGN(G_filter.flushp)); in print_route()
220 memcpy(fn, n, n->nlmsg_len); in print_route()
221 fn->nlmsg_type = RTM_DELROUTE; in print_route()
222 fn->nlmsg_flags = NLM_F_REQUEST; in print_route()
223 fn->nlmsg_seq = ++G_filter.rth->seq; in print_route()
224 G_filter.flushp = (((char*)fn) + n->nlmsg_len) - G_filter.flushb; in print_route()
751 static const char fn[] ALIGN1 = "/proc/sys/net/ipv4/route/flush"; in iproute_flush_cache() local
752 int flush_fd = open_or_warn(fn, O_WRONLY); in iproute_flush_cache()
/busybox-1.35.0/console-tools/
Dsetlogcons.c45 char fn; in setlogcons_main() member
/busybox-1.35.0/editors/
Dvi.c1369 static void status_line_bold_errno(const char *fn) in status_line_bold_errno() argument
1371 status_line_bold("'%s' "STRERROR_FMT, fn STRERROR_ERRNO); in status_line_bold_errno()
1974 static int file_insert(const char *fn, char *p, int initial) in file_insert() argument
1985 fd = open(fn, O_RDONLY); in file_insert()
1988 status_line_bold_errno(fn); in file_insert()
1994 status_line_bold_errno(fn); in file_insert()
1998 status_line_bold("'%s' is not a regular file", fn); in file_insert()
2005 status_line_bold_errno(fn); in file_insert()
2010 status_line_bold("can't read '%s'", fn); in file_insert()
2022 && ((access(fn, W_OK) < 0) || in file_insert()
[all …]
/busybox-1.35.0/runit/
Dsvlogd.c705 static NOINLINE unsigned logdir_open(struct logdir *ld, const char *fn) in logdir_open() argument
715 ld->fddir = open(fn, O_RDONLY|O_NDELAY); in logdir_open()
717 warn2("can't open log directory", (char*)fn); in logdir_open()
723 warn2("can't change directory", (char*)fn); in logdir_open()
731 warn2("can't lock directory", (char*)fn); in logdir_open()
742 ld->name = (char*)fn; in logdir_open()
/busybox-1.35.0/util-linux/
Dfbset.c270 static NOINLINE int read_mode_db(struct fb_var_screeninfo *base, const char *fn, in read_mode_db() argument
274 parser_t *parser = config_open(fn); in read_mode_db()
/busybox-1.35.0/libbb/
Dxfuncs_printf.c296 void FAST_FUNC die_if_ferror(FILE *fp, const char *fn) in die_if_ferror() argument
300 bb_error_msg_and_die("%s: I/O error", fn); in die_if_ferror()
/busybox-1.35.0/shell/
Dash.c9591 struct arglist fn; in expredir() local
9593 fn.list = NULL; in expredir()
9594 fn.lastp = &fn.list; in expredir()
9604 expandarg(redir->nfile.fname, &fn, EXP_TILDE | EXP_REDIR); in expredir()
9605 TRACE(("expredir expanded to '%s'\n", fn.list->text)); in expredir()
9620 redir->nfile.expfname = fn.list->text; in expredir()
9625 expandarg(redir->ndup.vname, &fn, EXP_TILDE | EXP_REDIR); in expredir()
9626 if (fn.list == NULL) in expredir()
9629 if (!isdigit_str9(fn.list->text)) { in expredir()
9637 fixredir(redir, fn.list->text, 1); in expredir()