Searched defs:op (Results 1 - 25 of 730) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/sys/
H A D_autofssys.c36 _autofssys(enum autofssys_op op, void *arg) argument
38 return (syscall(SYS_autofssys, op, arg, NULL, NULL, NULL, NULL));
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dremove_hash.c22 iplookupop_t op; local
30 op.iplo_type = IPLT_HASH;
31 op.iplo_unit = iphp->iph_unit;
32 strncpy(op.iplo_name, iphp->iph_name, sizeof(op.iplo_name));
33 if (*op.iplo_name == '\0')
34 op.iplo_arg = IPHASH_ANON;
35 op.iplo_size = sizeof(iph);
36 op.iplo_struct = &iph;
44 if ((*iocfunc)(hashfd, SIOCLOOKUPDELTABLE, &op))
[all...]
H A Dremove_hashnode.c24 iplookupop_t op; local
32 op.iplo_type = IPLT_HASH;
33 op.iplo_unit = unit;
34 op.iplo_size = sizeof(ipe);
35 op.iplo_struct = &ipe;
36 op.iplo_arg = 0;
37 strncpy(op.iplo_name, name, sizeof(op.iplo_name));
50 if ((*iocfunc)(hashfd, SIOCLOOKUPDELNODE, &op))
H A Dremove_pool.c22 iplookupop_t op; local
30 op.iplo_type = IPLT_POOL;
31 op.iplo_unit = poolp->ipo_unit;
32 strncpy(op.iplo_name, poolp->ipo_name, sizeof(op.iplo_name));
33 op.iplo_size = sizeof(pool);
34 op.iplo_struct = &pool;
41 if ((*iocfunc)(poolfd, SIOCLOOKUPDELTABLE, &op))
H A Dremove_poolnode.c25 iplookupop_t op; local
32 op.iplo_unit = unit;
33 op.iplo_type = IPLT_POOL;
34 op.iplo_arg = 0;
35 strncpy(op.iplo_name, name, sizeof(op.iplo_name));
36 op.iplo_struct = &pn;
37 op.iplo_size = sizeof(pn);
47 if ((*iocfunc)(poolfd, SIOCLOOKUPDELNODE, &op)) {
H A Dload_hashnode.c30 iplookupop_t op; local
43 op.iplo_type = IPLT_HASH;
44 op.iplo_unit = unit;
45 op.iplo_arg = 0;
46 op.iplo_size = sizeof(ipe);
47 op.iplo_struct = &ipe;
48 strncpy(op.iplo_name, name, sizeof(op.iplo_name));
60 err = (*iocfunc)(hashfd, SIOCLOOKUPADDNODE, &op);
62 err = (*iocfunc)(hashfd, SIOCLOOKUPDELNODE, &op);
[all...]
H A Dload_pool.c28 iplookupop_t op; local
41 op.iplo_unit = plp->ipo_unit;
42 op.iplo_type = IPLT_POOL;
43 op.iplo_arg = 0;
44 strncpy(op.iplo_name, plp->ipo_name, sizeof(op.iplo_name));
45 op.iplo_size = sizeof(pool);
46 op.iplo_struct = &pool;
50 op.iplo_arg |= IPOOL_ANON;
53 if ((*iocfunc)(poolfd, SIOCLOOKUPADDTABLE, &op))
[all...]
H A Dload_poolnode.c28 iplookupop_t op; local
40 op.iplo_unit = role;
41 op.iplo_type = IPLT_POOL;
42 op.iplo_arg = 0;
43 op.iplo_struct = &pn;
44 op.iplo_size = sizeof(pn);
45 strncpy(op.iplo_name, name, sizeof(op.iplo_name));
56 err = (*iocfunc)(poolfd, SIOCLOOKUPADDNODE, &op);
58 err = (*iocfunc)(poolfd, SIOCLOOKUPDELNODE, &op);
[all...]
H A Dload_hash.c29 iplookupop_t op; local
47 op.iplo_arg = 0;
48 op.iplo_type = IPLT_HASH;
49 op.iplo_unit = iphp->iph_unit;
50 strncpy(op.iplo_name, iphp->iph_name, sizeof(op.iplo_name));
51 if (*op.iplo_name == '\0')
52 op.iplo_arg = IPHASH_ANON;
53 op.iplo_size = sizeof(iph);
54 op
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppcontext.c27 * args op return
40 struct ppcontext* op; local
44 if (!(op = pp.context)) op = pp.context = newof(0, struct ppcontext, 1, 0);
45 memcpy(op, _PP_CONTEXT_BASE_, sizeof(struct ppcontext));
49 if (!(op = np)) op = (struct ppcontext*)_PP_CONTEXT_BASE_;
50 if (op->filtab) hashfree(op->filtab);
51 if (op
[all...]
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_hp.h40 int op; /* operation - PCICFG_OP_ONLINE/PCICFG_OP_OFFLINE */ member in struct:cardbus_config_ctrl
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dfseek.c31 fseek(Sfio_t* f, long off, int op) argument
33 STDIO_INT(f, "fseek", int, (Sfio_t*, long, int), (f, off, op))
35 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
41 fseek64(Sfio_t* f, int64_t off, int op) argument
43 STDIO_INT(f, "fseek64", int, (Sfio_t*, int64_t, int), (f, off, op))
45 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
H A Dfseeko.c31 fseeko(Sfio_t* f, off_t off, int op) argument
33 STDIO_INT(f, "fseeko", int, (Sfio_t*, off_t, int), (f, off, op))
35 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
41 fseeko64(Sfio_t* f, int64_t off, int op) argument
43 STDIO_INT(f, "fseeko64", int, (Sfio_t*, int64_t, int), (f, off, op))
45 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
/illumos-gate/usr/src/lib/libast/common/string/
H A Dswapop.c35 * if size<0 then (-size) used and (-size==4)&&(op==3) => op=7
42 register int op; local
51 for (op = 0; op < z; op++)
52 if (!memcmp(internal, swapmem(op, external, tmp, z), z))
54 if (size < 0 && z == 4 && op == 3)
55 op = 7;
56 return op;
[all...]
H A Dswapput.c34 * put v of n chars into b according to op
38 swapput(int op, void* b, int n, intmax_t v) argument
47 if (op)
48 swapmem(op, p, p, n);
H A Dswapget.c34 * get int_n from b according to op
38 swapget(int op, const void* b, int n) argument
47 if (op) swapmem(op, b, d = tmp, n);
H A Dswapmem.c34 * swap n bytes according to op
39 swapmem(int op, const void* from, void* to, register size_t n) argument
45 switch (op & (n - 1))
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dflock.c29 int op; local
51 op = (operation & LOCK_NB) ? F_FLOCK : F_FLOCKW;
52 rv = fcntl(fildes, op, &l);
H A Dplock.c56 plock(int op) /* desired operation */ argument
75 * upon "op" being bit encoded.
77 switch (op) {
H A Dlmath.c59 lshiftl(dl_t op, int cnt) argument
64 r.xword = (long)(*(ulong_t *)&op >> (-cnt));
67 r.xword = *(long *)&op << cnt;
72 lsign(dl_t op) argument
75 return ((*(long *)&op) >> 63);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_oplock.c42 smb_arg_open_t *op = &sr->arg.open; local
48 op->op_oplock_level = SMB_OPLOCK_NONE;
53 op->op_oplock_level = SMB_OPLOCK_NONE;
65 switch (op->op_oplock_level) {
67 op->op_oplock_state = OPLOCK_LEVEL_BATCH;
70 op->op_oplock_state = OPLOCK_LEVEL_ONE;
73 op->op_oplock_state = OPLOCK_LEVEL_TWO;
77 op->op_oplock_level = SMB_OPLOCK_NONE;
85 op->op_oplock_state = OPLOCK_LEVEL_TWO;
91 if ((op
[all...]
/illumos-gate/usr/src/lib/libtsol/common/
H A Dprivlib.c34 * set_effective_priv(op, num_priv, priv_id1, priv_id2, ... )
43 set_effective_priv(priv_op_t op, int num_priv, ...) argument
73 * Depend on system call to do sanity checking on "op"
75 status = setppriv(op, PRIV_EFFECTIVE, priv_set);
85 * set_inheritable_priv(op, num_priv, priv_id1, priv_id2, ... )
94 set_inheritable_priv(priv_op_t op, int num_priv, ...) argument
123 * Depend on system call to do sanity checking on "op"
125 status = setppriv(op, PRIV_INHERITABLE, priv_set);
135 * set_permitted_priv(op, num_priv, priv_id1, priv_id2, ... )
144 set_permitted_priv(priv_op_t op, in argument
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_err.c54 * op :
67 int translate_ldap_error(int err, int op) { argument
103 if (op == OP_ADD || op == OP_MOD)
141 if (op == OP_BIND) /* the LDAP server accepts only strong authentication. */
162 if (op == OP_MOD)
/illumos-gate/usr/src/lib/libast/common/port/
H A Dastquery.c49 Sfio_t* op; local
74 op = wfp;
79 op = sfstderr;
82 sfvprintf(op, format, ap);
83 sfsync(op);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dplock.c69 * op: desired operation
73 apply_lock(int op, int (*f)(caddr_t, u_int)) argument
84 switch (op) {
130 switch (op) {
153 * op: desired operation
156 plock(int op) argument
181 * upon "op" being bit encoded.
183 switch (op) {
219 if (e = apply_lock(op, mlock))
220 (void) apply_lock(op, munloc
[all...]

Completed in 250 milliseconds

1234567891011>>