/illumos-gate/usr/src/lib/libast/common/cdt/ |
H A D | dtlist.c | 30 static Void_t* dtlist(reg Dt_t* dt, reg Void_t* obj, reg int type) argument 32 static Void_t* dtlist(dt, obj, type) 35 reg int type; 46 dt->type &= ~DT_FOUND; 49 { if(type&(DT_LAST|DT_FIRST) ) 51 { if(type&DT_LAST) 57 else if(type&(DT_DELETE|DT_DETACH)) 58 { if((dt->data->type&DT_LIST) || !(r = dt->data->head)) 62 else if(type&DT_CLEAR) 79 if(type [all...] |
H A D | dtview.c | 31 static Void_t* dtvsearch(Dt_t* dt, reg Void_t* obj, reg int type) argument 33 static Void_t* dtvsearch(dt,obj,type) 36 reg int type; 45 if(type&(DT_INSERT|DT_DELETE|DT_CLEAR|DT_RENEW)) 46 return (*(dt->meth->searchf))(dt,obj,type); 48 if((type&(DT_MATCH|DT_SEARCH)) || /* order sets first/last done below */ 49 ((type&(DT_FIRST|DT_LAST)) && !(dt->meth->type&(DT_OBAG|DT_OSET)) ) ) 51 if((o = (*(d->meth->searchf))(d,obj,type)) ) 57 if(dt->meth->type [all...] |
/illumos-gate/usr/src/lib/libast/common/path/ |
H A D | pathfind.c | 80 * if type!=0 and name has no '.' then file.type also attempted 85 pathfind(const char* name, const char* lib, const char* type, char* buf, size_t size) argument 93 type = 0; 105 if (type) 107 sfsprintf(buf, size, "%s.%s", name, type); 124 if (type) 126 sfsprintf(buf, size, "%-.*s%s%.s", s - error_info.file + 1, error_info.file, name, type); 141 if (type) 143 sfsprintf(tmp, sizeof(tmp), "%s/%s.%s", dp->dir, name, type); [all...] |
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfpool.c | 220 static int _sfpmove(reg Sfio_t* f, reg int type) argument 222 static int _sfpmove(f,type) 224 reg int type; /* <0 : deleting, 0: move-to-front, >0: inserting */ 230 if(type > 0) 241 return type == 0 ? _sfphead(p,f,n) : _sfpdelete(p,f,n);
|
/illumos-gate/usr/src/uts/sun4u/montecarlo/sys/ |
H A D | netract_gen.h | 64 int instance; /* instance of this type */ 65 int type; /* CPU, PS or AMBIENT fan */ member in struct:envctrl_fan
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | mach_mp_startup.c | 38 * Init CPU info - get CPU type info for processor_info system call. 114 char *type; local 119 "device_type", &type)) 122 if (strcmp(type, "cpu") != 0) 138 ddi_prop_free(type);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | dvma.c | 67 dvma_unload(ddi_dma_handle_t h, u_int objindex, u_int type) argument 73 dvma_sync(ddi_dma_handle_t h, u_int objindex, u_int type) argument
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | msgs.c | 94 switch (md->type) { 156 int type = mtype(Message); local 158 if (type != S_GOODBYE) { 160 dispatch (type, Message, md);
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | isterminfo.c | 44 * that a type names a valid entry in the Terminfo database. 55 * submitting print requests with goofball types, or every valid type 62 * database. The "terminfo" type is not likely to be an oft used feature, 106 char * type 109 isterminfo (type) 110 char *type; 118 if (!type || !*type) 122 if (tfind(type, (A2)&hit_cache, (A3)strcmp)) 127 if (tfind(type, (A 168 _isterminfo( char * type, char * parent ) argument [all...] |
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | streamio.c | 106 short type; local 108 if (md->type == MD_USR_FIFO) 132 if ((type = stoh(msgbuf + HEAD_TYPE)) < 0 || LAST_MESSAGE < type) 138 while (type == I_QUEUE_CHK);
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | rwlock.c | 42 rw_init(krwlock_t *rwlp, char *name, krw_type_t type, void *arg) argument
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | memcntl.c | 194 int type; local 197 type = MAPPGSZ_HEAP; 199 type = MAPPGSZ_STK; 201 pgsz = map_pgsz(type, p, 0, 0, 1);
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_port.c | 213 __in efx_loopback_type_t type) 220 EFSYS_ASSERT3U(type, <, EFX_LOOPBACK_NTYPES); 222 return (__efx_loopback_type_name[type]); 211 efx_loopback_type_name( __in efx_nic_t *enp, __in efx_loopback_type_t type) argument
|
H A D | hunt_phy.c | 58 __in efx_bist_type_t type) 62 if ((rc = efx_mcdi_bist_start(enp, type)) != 0) 76 __in efx_bist_type_t type, 91 _NOTE(ARGUNUSED(type)) 180 __in efx_bist_type_t type) 183 _NOTE(ARGUNUSED(enp, type)) 56 hunt_bist_start( __in efx_nic_t *enp, __in efx_bist_type_t type) argument 74 hunt_bist_poll( __in efx_nic_t *enp, __in efx_bist_type_t type, __out efx_bist_result_t *resultp, __out_opt __drv_when(count > 0, __notnull) uint32_t *value_maskp, __out_ecount_opt(count) __drv_when(count > 0, __notnull) unsigned long *valuesp, __in size_t count) argument 178 hunt_bist_stop( __in efx_nic_t *enp, __in efx_bist_type_t type) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | CryptoAlg.h | 31 AlgType type; member in struct:__anon16 54 extern AlgContext *AlgCreate(AlgType type, mDNSu8 alg);
|
/illumos-gate/usr/src/cmd/devprop/ |
H A D | devprop.c | 47 int type = DI_PROP_TYPE_UNKNOWN; local 66 if (type != DI_PROP_TYPE_UNKNOWN) { \ 70 type = (typ); \ 103 if (type == DI_PROP_TYPE_UNKNOWN) 104 type = DI_PROP_TYPE_STRING; 144 switch (type) {
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | pthr_barrier.c | 92 int type; local 95 type = PTHREAD_PROCESS_PRIVATE; 97 type = ap->pshared; 99 type = -1; 102 (type != PTHREAD_PROCESS_PRIVATE && type != PTHREAD_PROCESS_SHARED)) 109 (void) mutex_init(mp, type, NULL); 110 (void) cond_init(cvp, type, NULL);
|
H A D | pthr_cond.c | 132 * pshared attr into type argument and calls cond_init(). 139 int type; local 144 type = PTHREAD_PROCESS_PRIVATE; 147 type = ap->pshared; 155 else if ((error = cond_init((cond_t *)cond, type, NULL)) == 0)
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4500/common/ |
H A D | loki.c | 86 uint64_t type, index; local 95 &type) == 0); 97 if (type == SES_ET_ARRAY_DEVICE) 100 if (type != SES_ET_COOLING && 101 type != SES_ET_POWER_SUPPLY) 168 type != SES_ET_COOLING) { 194 type != SES_ET_POWER_SUPPLY) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sn2princ.c | 85 krb5_sname_to_principal(krb5_context context, const char *hostname, const char *sname, krb5_int32 type, krb5_principal *ret_princ) argument 94 printf("krb5_sname_to_principal(host=%s, sname=%s, type=%d)\n",hostname,sname,type); 97 if ((type == KRB5_NT_UNKNOWN) || 98 (type == KRB5_NT_SRV_HST)) { 117 if (type == KRB5_NT_SRV_HST) { 210 } else /* type == KRB5_NT_UNKNOWN */ { 219 if (type == KRB5_NT_SRV_HST) 263 krb5_princ_type(context, *ret_princ) = type;
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_rdata.c | 88 ns_type type, const u_char *rdata, size_t rdlen, 94 switch (type) { 179 ns_rdata_equal(ns_type type, argument 183 switch (type) { 252 ns_rdata_refers(ns_type type, argument 256 switch (type) { 87 ns_rdata_unpack(const u_char *msg, const u_char *eom, ns_type type, const u_char *rdata, size_t rdlen, u_char *nrdata, size_t nrdsiz) argument
|
/illumos-gate/usr/src/lib/librsc/sparc/mpxu/common/ |
H A D | librsc.h | 45 rsci8 type; member in struct:rscp_msg
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | aclsort.c | 33 * Sort an ACL by entry type according to the following order: 49 * entry type with this map. 94 * We change entry type to sort order in the ACL, do the sorting. 95 * We then change sort order back to entry type. 109 /* typecast to remove incompatible type warning */ 156 * sortid() sorts the ids with the same entry type in increasing order 159 sortid(aclent_t *ap, int cnt, int type) argument 162 aclent_t *startp; /* start of the desired entry type */ 166 if (tp->a_type != type) 170 for (tp++, cnt--; cnt > 0 && tp->a_type == type; t [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_trace.c | 56 int type; member in struct:option 81 switch (opt->type) {
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPParseSrvURL.c | 43 /* service type struct */ 60 slp_type_t type[1]; local 81 /* parse type */ 88 if (parseType(r, type) != SLP_OK) 91 /* no need to free type since it is on the stack */ 146 * typeString contains only the service type part of an URL. It should 149 static SLPError parseType(char *typeString, slp_type_t *type) { argument 152 /* Initialize type structure */ 153 type->isServiceURL = SLP_FALSE; 154 type [all...] |