Searched refs:flags (Results 1 - 25 of 5959) sorted by path

1234567891011>>

/freebsd-11-stable/bin/cat/
H A Dcat.c79 static int udom_open(const char *path, int flags);
329 udom_open(const char *path, int flags) argument
367 * handle the open flags by shutting down appropriate directions
370 switch(flags & O_ACCMODE) {
/freebsd-11-stable/bin/chflags/
H A Dchflags.c68 char *flags, *ep; local
125 flags = *argv;
126 if (*flags >= '0' && *flags <= '7') {
128 val = strtol(flags, &ep, 8);
132 err(1, "invalid flags: %s", flags);
134 errx(1, "invalid flags: %s", flags);
138 if (strtofflags(&flags,
[all...]
/freebsd-11-stable/bin/dd/
H A Dposition.c73 if ((io->flags & ISCHR) == 0 && (n < 0 || n > OFF_MAX / (ssize_t)sz))
76 else if ((io->flags & ISCHR) != 0 && (uint64_t)n > UINT64_MAX / sz)
98 if (in.flags & ISSEEK) {
117 if (in.flags & ISPIPE) {
168 if (out.flags & (ISSEEK | ISPIPE)) {
181 if (out.flags & NOREAD) {
/freebsd-11-stable/bin/df/
H A Ddf.c431 int flags; local
433 flags = HN_B | HN_NOSPACE | HN_DECIMAL;
435 flags |= HN_DIVISOR_1000;
438 bytes, "", HN_AUTOSCALE, flags);
451 int flags; local
453 flags = HN_NOSPACE | HN_DECIMAL | HN_DIVISOR_1000;
456 bytes, "", HN_AUTOSCALE, flags);
/freebsd-11-stable/bin/getfacl/
H A Dgetfacl.c184 int error, flags = 0, ret; local
240 flags |= ACL_TEXT_APPEND_ID;
243 flags |= ACL_TEXT_NUMERIC_IDS;
246 flags |= ACL_TEXT_VERBOSE;
248 acl_text = acl_to_text_np(acl, 0, flags);
/freebsd-11-stable/bin/ls/
H A Dls.c106 /* flags */
109 int f_flags; /* show flags associated with a file */
259 /* Other flags. Please keep alphabetic. */
617 char *flags, *labelstr = NULL; local
704 flags = NULL;
767 flags = fflagstostr(sp->st_flags);
768 if (flags != NULL && *flags == '\0') {
769 free(flags);
770 flags
[all...]
H A Dls.h46 extern int f_flags; /* show flags associated with a file */
87 char *flags; member in struct:__anon5
H A Dprint.c289 xo_emit("{:flags/%-*s} ", dp->s_flags, np->flags);
/freebsd-11-stable/bin/rm/
H A Drm.c184 int flags; local
195 * visit. The fts_number field flags skipped directories.
199 flags = FTS_PHYSICAL;
201 flags |= FTS_NOSTAT;
203 flags |= FTS_WHITEOUT;
205 flags |= FTS_XDEV;
206 if (!(fts = fts_open(argv, flags, NULL))) {
/freebsd-11-stable/bin/sh/
H A Deval.c81 static int builtin_flags; /* evalcommand flags for builtins */
152 evalstring(const char *s, int flags) argument
159 flags_exit = flags & EV_EXIT;
160 flags &= ~EV_EXIT;
167 evaltree(n, flags | EV_EXIT);
169 evaltree(n, flags);
192 evaltree(union node *n, int flags) argument
213 evaltree(n->nbinary.ch1, flags & ~EV_EXIT);
232 evalredir(n, flags);
235 evalsubshell(n, flags);
314 evalloop(union node *n, int flags) argument
351 evalfor(union node *n, int flags) argument
428 evalsubshell(union node *n, int flags) argument
455 evalredir(union node *n, int flags) argument
824 evalcommand(union node *cmd, int flags, struct backcmd *backcmd) argument
[all...]
H A Dparser.c1615 int flags; local
1639 flags = 0;
1665 flags |= VSLINENO;
1710 flags |= VSNUL;
1718 if (flags == VSNUL)
1748 flags |= VSQUOTE;
1749 *(stackblock() + typeloc) = subtype | flags;
H A Dredir.c109 redirect(union node *redir, int flags) argument
120 memory[1] = flags & REDIR_BACKQ;
121 if (flags & REDIR_PUSH) {
142 if ((flags & REDIR_PUSH) && sv->renamed[fd] == EMPTY) {
265 int flags; local
278 flags = fcntl(pip[1], F_GETFL, 0);
279 if (flags != -1 && fcntl(pip[1], F_SETFL, flags | O_NONBLOCK) != -1) {
285 fcntl(pip[1], F_SETFL, flags);
H A Dshow.c380 int flags; local
403 if ((flags = fcntl(fileno(tracefile), F_GETFL, 0)) >= 0)
404 fcntl(fileno(tracefile), F_SETFL, flags | O_APPEND);
H A Dvar.c77 int flags; member in struct:varinit
145 static void setvareq_const(const char *s, int flags);
169 vp->flags = ip->flags | VSTRFIXED | VTEXTFIXED;
179 vps1.flags = VSTRFIXED|VTEXTFIXED;
196 setvarsafe(const char *name, const char *val, int flags) argument
208 setvar(name, val, flags);
216 * Set the value of a variable. The flags argument is stored with the
217 * flags of the variable. If val is NULL, the variable is unset.
221 setvar(const char *name, const char *val, int flags) argument
319 setvareq(char *s, int flags) argument
395 setvareq_const(const char *s, int flags) argument
406 listsetvar(struct arglist *list, int flags) argument
[all...]
H A Dvar.h40 /* flags */
54 int flags; /* flags are defined above */ member in struct:var
66 int flags; /* saved flags */ member in struct:localvar
98 #define ifsset() ((vifs.flags & VUNSET) == 0)
111 #define mpathset() ((vmpath.flags & VUNSET) == 0)
112 #define disvforkset() ((vdisvfork.flags & VUNSET) == 0)
/freebsd-11-stable/bin/stty/
H A Dkey.c74 int flags; member in struct:key
122 if (!(kp->flags & F_OFFOK) && ip->off) {
126 if (kp->flags & F_NEEDARG && !(ip->arg = *++*argvp)) {
265 /* preserve user-preference flags in lflag */
/freebsd-11-stable/cddl/compat/opensolaris/lib/libumem/
H A Dumem.c44 void *umem_alloc(size_t size, int flags) argument
46 assert(flags == UMEM_DEFAULT || flags == UMEM_NOFAIL);
53 if(!(flags & UMEM_NOFAIL))
67 void *umem_zalloc(size_t size, int flags) argument
69 assert(flags == UMEM_DEFAULT || flags == UMEM_NOFAIL);
76 if(!(flags & UMEM_NOFAIL))
125 void *umem_cache_alloc(umem_cache_t *cache, int flags) argument
129 if(!(flags
[all...]
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dmnttab.c98 long flags; local
102 flags = sfs->f_flags;
104 if (flags & MNT_RDONLY)
108 if (flags & MNT_NOSUID)
112 if (flags & MNT_UPDATE)
114 if (flags & MNT_NOATIME)
119 if (flags & MNT_NOEXEC)
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.c964 uint32_t flags = bufdata->dtbda_flags; local
1001 if (!(flags & flagnames[i].value))
1007 flags &= ~flagnames[i].value;
1337 * affect our behavior mode (g_mode) and flags used for dtrace_open().
1527 * to perform any dtrace_setopt() calls and change any compiler flags.
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c147 "\t\t<poolname> <vdev>:<offset>:<size>[:<flags>]\n"
1487 arc_flags_t flags = ARC_FLAG_WAIT; local
1495 ZIO_PRIORITY_ASYNC_READ, ZIO_FLAG_CANFAIL, &flags, zb);
2163 (void) printf("\tdnode flags: %s%s%s\n",
2897 int flags = ZIO_FLAG_CANFAIL | ZIO_FLAG_SCRUB | ZIO_FLAG_RAW; local
2901 flags |= ZIO_FLAG_SPECULATIVE;
2911 zdb_blkptr_done, zcb, ZIO_PRIORITY_ASYNC_READ, flags, zb));
3591 int flags = TRAVERSE_PRE | TRAVERSE_PREFETCH_METADATA | TRAVERSE_HARD; local
3632 flags |= TRAVERSE_PREFETCH_DATA;
3636 zcb.zcb_haderrors |= traverse_pool(spa, 0, flags, zdb_blkptr_c
4581 zdb_print_blkptr(blkptr_t *bp, int flags) argument
4593 zdb_dump_indirect(blkptr_t *bp, int nbps, int flags) argument
4602 zdb_dump_gbh(void *buf, int flags) argument
4608 zdb_dump_block_raw(void *buf, uint64_t size, int flags) argument
4616 zdb_dump_block(char *label, void *buf, uint64_t size, int flags) argument
4737 int flags = 0; local
5071 int flags = ZFS_IMPORT_MISSING_LOG; local
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zinject/
H A Dzinject.c119 * The '-a', '-u', and '-m' flags toggle internal flush behavior. If '-a' is
121 * specified, then the underlying SPA is unloaded. Either of these flags can be
554 register_handler(const char *pool, int flags, zinject_record_t *record, argument
561 zc.zc_guid = flags;
569 if (flags & ZINJECT_NULL)
681 int flags = 0; local
715 flags |= ZINJECT_FLUSH_ARC;
859 flags |= ZINJECT_UNLOAD_SPA;
1030 if (flags == 0) {
1038 if (argc == 1 && (flags
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_vdev.c1461 splitflags_t flags, int argc, char **argv)
1482 if (!flags.dryrun &&
1508 if (zpool_vdev_split(zhp, newname, &newroot, props, flags) != 0) {
1460 split_mirror_vdev(zpool_handle_t *zhp, char *newname, nvlist_t *props, splitflags_t flags, int argc, char **argv) argument
/freebsd-11-stable/cddl/contrib/opensolaris/head/
H A Dthread.h77 void *arg, long flags, thread_t *new_thread_ID)
84 assert((flags & ~THR_BOUND & ~THR_DETACHED) == 0);
89 if (flags & THR_DETACHED)
76 thr_create(void *stack_base, size_t stack_size, void *(*start_func) (void*), void *arg, long flags, thread_t *new_thread_ID) argument
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libcmdutils/common/
H A Dnicenum.c41 uint32_t flags)
58 if (flags & NN_DIVISOR_1000)
40 nicenum_scale(uint64_t n, size_t units, char *buf, size_t buflen, uint32_t flags) argument
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_aggregate.c452 int flags = agp->dtat_flags; local
629 if (flags & DTRACE_A_PERCPU) {

Completed in 339 milliseconds

1234567891011>>