/freebsd-9.3-release/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb.h | 150 void *handle, u32 id) 160 ret = idr_get_new_above(idr, handle, id, &newid); 162 WARN_ON(!ret && newid != id); 169 static inline void remove_handle(struct iwch_dev *rhp, struct idr *idr, u32 id) argument 172 idr_remove(idr, id); 149 insert_handle(struct iwch_dev *rhp, struct idr *idr, void *handle, u32 id) argument
|
/freebsd-9.3-release/sbin/ipfw/ |
H A D | dummynet.c | 72 { "flow-id", TOK_FLOWID}, 86 oid_fill(struct dn_id *oid, int len, int type, uintptr_t id) argument 91 oid->id = id; 140 print_mask(struct ipfw_flow_id *id) argument 142 if (!IS_IP6_FLOW_ID(id)) { 145 id->extra ? "queue," : "", 146 id->proto, 147 id->src_ip, id 162 print_header(struct ipfw_flow_id *id) argument 181 struct ipfw_flow_id *id = &ni->fid; local 318 struct dn_id id; member in struct:__anon5459 [all...] |
/freebsd-9.3-release/contrib/mtree/ |
H A D | getid.c | 242 unsigned long id; local 256 id = strtoul(cp, &ep, 10); 257 if (id > GID_MAX || *ep != '\0') 259 _gr_group.gr_gid = (gid_t)id; 383 unsigned long id; local 398 id = strtoul(cp, &ep, 10); 399 if (id > UID_MAX || *ep != '\0') 401 _pw_passwd.pw_uid = (uid_t)id; 407 id = strtoul(cp, &ep, 10); 408 if (id > GID_MA [all...] |
/freebsd-9.3-release/crypto/heimdal/appl/afsutil/ |
H A D | afslog.c | 88 krb5_ccache id; variable 197 if(context != NULL && id != NULL && use_krb5) { 198 k5ret = krb5_afslog(context, id, cell, realm); 269 ret = krb5_cc_cache_match(context, client, NULL, &id); 271 id = NULL; 273 if (id == NULL && cache_string) { 274 if(krb5_cc_resolve(context, cache_string, &id) != 0) { 277 id = NULL; 280 if (id == NULL) 281 if(krb5_cc_default(context, &id) ! [all...] |
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | systrace.c | 42 #define SYSTRACE_ENTRY(id) ((1 << SYSTRACE_SHIFT) | (id)) 43 #define SYSTRACE_RETURN(id) (id) 122 systrace_destroy(void *arg, dtrace_id_t id, void *parg) argument 145 systrace_enable(void *arg, dtrace_id_t id, void *parg) argument 152 systrace_sysent[sysnum].stsy_entry = id; 154 systrace_sysent32[sysnum].stsy_entry = id; 157 systrace_sysent[sysnum].stsy_return = id; 159 systrace_sysent32[sysnum].stsy_return = id; 180 systrace_disable(void *arg, dtrace_id_t id, void *parg) argument [all...] |
/freebsd-9.3-release/sys/dev/patm/genrtab/ |
H A D | genrtab.c | 61 u_int s, id; local 64 id = (u_int)rint(32 * d); 68 while (id >= 32 * 32) { 70 id >>= 1; 72 return ((s << 10) | (id)); 79 interval2d(u_int id) argument 81 return ((1 << ((id >> 10) & 0xf)) * ((id & 0x3ff) / 32.0)); 91 u_int s, id; local 102 id [all...] |
/freebsd-9.3-release/sys/dev/sound/pcm/ |
H A D | matrix_map.h | 36 * .id = Matrix identity (see matrix.h). Custom defined should use 67 .id = SND_CHN_MATRIX_1_0, \ 93 .id = SND_CHN_MATRIX_2_0, \ 124 .id = SND_CHN_MATRIX_2_1, \ 161 .id = SND_CHN_MATRIX_3_0, \ 199 .id = SND_CHN_MATRIX_4_0, \ 243 .id = SND_CHN_MATRIX_4_1, \ 293 .id = SND_CHN_MATRIX_5_0, \ 343 .id = SND_CHN_MATRIX_5_1, \ 396 .id [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/kadm5/ |
H A D | init_c.c | 127 krb5_ccache id, 139 ret = krb5_get_credentials(context, 0, id, &in, &out); 158 krb5_ccache id; local 213 ret = krb5_cc_gen_new(context, &krb5_mcc_ops, &id); 216 ret = krb5_cc_initialize (context, id, cred.client); 219 ret = krb5_cc_store_cred (context, id, &cred); 223 *ret_cache = id; 228 * Check the credential cache `id� to figure out what principal to use 237 krb5_ccache *id, 244 ret = krb5_cc_default(context, id); 126 get_kadm_ticket(krb5_context context, krb5_ccache id, krb5_principal client, const char *server_name) argument 236 get_cache_principal(krb5_context context, krb5_ccache *id, krb5_principal *client) argument 320 krb5_ccache id = NULL; local [all...] |
/freebsd-9.3-release/sbin/iscontrol/ |
H A D | auth_subr.c | 56 chapMD5(char id, char *cp, char *chapSecret, unsigned char *digest) argument 66 MD5Update(&ctx, &id, 1); 89 chapSHA1(char id, char *cp, char *chapSecret, unsigned char *digest) argument 99 SHA1_Update(&ctx, &id, 1); 128 chapDigest(char *ap, char id, char *cp, char *chapSecret) argument 137 if(strcmp(ap, "5") == 0 && chapMD5(id, cp, chapSecret, digest) == 0) 140 if(strcmp(ap, "7") == 0 && chapSHA1(id, cp, chapSecret, digest) == 0)
|
/freebsd-9.3-release/sys/cddl/dev/sdt/ |
H A D | sdt.c | 130 &sdt_pops, NULL, (dtrace_provider_id_t *)&newprov->id); 131 prov->id = newprov->id; 179 if (dtrace_probe_lookup(prov->id, mod, func, name) != DTRACE_IDNONE) 182 (void)dtrace_probe_create(prov->id, mod, func, name, 1, probe); 196 sdt_enable(void *arg __unused, dtrace_id_t id, void *parg) argument 200 probe->id = id; 205 sdt_disable(void *arg __unused, dtrace_id_t id, void *parg) argument 211 probe->id 216 sdt_getargdesc(void *arg, dtrace_id_t id, void *parg, dtrace_argdesc_t *desc) argument 244 sdt_destroy(void *arg, dtrace_id_t id, void *parg) argument [all...] |
/freebsd-9.3-release/lib/libc/isc/ |
H A D | ev_timers.c | 190 evTimer *id; local 220 OKNEW(id); 221 id->func = func; 222 id->uap = uap; 223 id->due = due; 224 id->inter = inter; 226 if (heap_insert(ctx->timers, id) < 0) 231 opaqueID->opaque = id; 242 evClearTimer(evContext opaqueCtx, evTimerID id) { argument 244 evTimer *del = id 274 evConfigTimer(evContext opaqueCtx, evTimerID id, const char *param, int value ) argument 299 evResetTimer(evContext opaqueCtx, evTimerID id, evTimerFunc func, void *uap, struct timespec due, struct timespec inter ) argument 388 evClearIdleTimer(evContext opaqueCtx, evTimerID id) argument 418 evTouchIdleTimer(evContext opaqueCtx, evTimerID id) argument [all...] |
/freebsd-9.3-release/sys/kern/ |
H A D | kern_module.c | 54 int id; /* unique id number */ member in struct:module 172 newmod->id = nextid++; 241 if (mod->id == modid) 275 return (mod->id); 324 td->td_retval[0] = mod->id; 335 td->td_retval[0] = TAILQ_NEXT(mod, link)->id; 358 td->td_retval[0] = TAILQ_NEXT(mod, flink)->id; 370 int id; member in struct:module_stat_v1 379 int id, namele local 466 int id; member in struct:module_stat32 476 int id, namelen, refs, version; local [all...] |
H A D | kern_cpuset.c | 101 * rather apply masks to its own threads via CPU_WHICH_TID and a -1 id 166 cpusetid_t id; local 172 id = set->cs_id; 173 if (id != CPUSET_INVALID) 178 if (id != CPUSET_INVALID) 179 free_unr(cpuset_unr, id); 213 * Find a set based on an id. Returns it with a ref. 254 cpusetid_t id) 265 set->cs_id = id; 284 cpusetid_t id; local 253 _cpuset_create(struct cpuset *set, struct cpuset *parent, const cpuset_t *mask, cpusetid_t id) argument 399 cpuset_which(cpuwhich_t which, id_t id, struct proc **pp, struct thread **tdp, struct cpuset **setp) argument 707 cpuset_setthread(lwpid_t id, cpuset_t *mask) argument 877 id_t id; member in struct:cpuset_setid_args 904 id_t id; member in struct:cpuset_getid_args 914 cpusetid_t id; local 959 id_t id; member in struct:cpuset_getid_args::cpuset_getaffinity_args 1049 id_t id; member in struct:cpuset_getid_args::cpuset_setaffinity_args [all...] |
/freebsd-9.3-release/sys/powerpc/powermac/ |
H A D | fcu.c | 73 int id; member in struct:fcu_fan 281 reg = FCU_RPM_SET(fan->id); 313 if ((avail & (1 << fan->id)) == 0) { 315 "RPM Fan not available ID: %d\n", fan->id); 322 if ((fail & (1 << fan->id)) != 0) { 324 "RPM Fan failed ID: %d\n", fan->id); 331 if ((active & (1 << fan->id)) == 0) { 333 fan->id); 336 reg = FCU_RPM_READ(fan->id); 366 reg = FCU_PWM_SGET(fan->id); 452 u_int id[8]; local [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | acache.c | 407 krb5_ccache id) 409 krb5_acc *a = ACACHE(id); 424 acc_alloc(krb5_context context, krb5_ccache *id) argument 434 ret = krb5_data_alloc(&(*id)->data, sizeof(*a)); 440 a = ACACHE(*id); 444 krb5_data_free(&(*id)->data); 454 acc_resolve(krb5_context context, krb5_ccache *id, const char *res) argument 460 ret = acc_alloc(context, id); 464 a = ACACHE(*id); 471 acc_close(context, *id); 406 acc_get_name(krb5_context context, krb5_ccache id) argument 489 acc_gen_new(krb5_context context, krb5_ccache *id) argument 507 acc_initialize(krb5_context context, krb5_ccache id, krb5_principal primary_principal) argument 530 acc_close(krb5_context context, krb5_ccache id) argument 550 acc_destroy(krb5_context context, krb5_ccache id) argument 568 acc_store_cred(krb5_context context, krb5_ccache id, krb5_creds *creds) argument 602 acc_get_principal(krb5_context context, krb5_ccache id, krb5_principal *principal) argument 629 acc_get_first(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor) argument 653 acc_get_next(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor, krb5_creds *creds) argument 680 acc_end_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor) argument 690 acc_remove_cred(krb5_context context, krb5_ccache id, krb5_flags which, krb5_creds *cred) argument 764 acc_set_flags(krb5_context context, krb5_ccache id, krb5_flags flags) argument 772 acc_get_version(krb5_context context, krb5_ccache id) argument 818 acc_get_cache_next(krb5_context context, krb5_cc_cursor cursor, krb5_ccache *id) argument [all...] |
H A D | keytab_keyfile.c | 125 akf_resolve(krb5_context context, const char *name, krb5_keytab id) argument 149 id->data = d; 159 akf_close(krb5_context context, krb5_keytab id) argument 161 struct akf_data *d = id->data; 175 krb5_keytab id, 179 struct akf_data *d = id->data; 191 krb5_keytab id, 195 struct akf_data *d = id->data; 221 krb5_keytab id, 225 struct akf_data *d = id 174 akf_get_name(krb5_context context, krb5_keytab id, char *name, size_t name_sz) argument 190 akf_start_seq_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *c) argument 220 akf_next_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry, krb5_kt_cursor *cursor) argument 272 akf_end_seq_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor) argument 282 akf_add_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry) argument [all...] |
/freebsd-9.3-release/sys/isa/ |
H A D | pnpparse.c | 48 pnp_printf(u_int32_t id, char *fmt, ...) argument 53 printf("%s: ", pnp_eisaformat(id)); 65 u_int32_t id; local 69 id = isa_get_logicalid(dev); 85 pnp_printf(id, "unexpected small tag %d\n", 92 * Got a compatible device id resource. 102 pnp_printf(id, "too many irqs\n"); 112 pnp_printf(id, "adding irq mask %#02x\n", 120 pnp_printf(id, "too many drqs\n"); 130 pnp_printf(id, "addin 415 u_int32_t id; local [all...] |
/freebsd-9.3-release/contrib/ofed/management/libibmad/src/ |
H A D | gs.c | 53 unsigned timeout, unsigned id, const void *srcport) 67 rpc.attr.id = id; 88 pma_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, unsigned id) argument 90 return pma_query_via(rcvbuf, dest, port, timeout, id, NULL); 123 unsigned timeout, unsigned id, const void *srcport) 140 rpc.attr.id = id; 164 unsigned timeout, unsigned id) 167 id, NUL 52 pma_query_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, unsigned id, const void *srcport) argument 122 performance_reset_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout, unsigned id, const void *srcport) argument 163 performance_reset(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout, unsigned id) argument [all...] |
/freebsd-9.3-release/sbin/ifconfig/ |
H A D | regdomain.c | 64 const void *id; member in struct:ident 74 const void *id, *ref, *mode; local 83 id = ref = mode = NULL; 85 if (iseq(attr[i], "id")) { 86 id = attr[i+1]; 98 mt->rd->name = strdup(id); 154 mt->country->isoname = strdup(id); 163 mt->freqband->id = strdup(id); 390 findid(struct regdata *rdp, const void *id, in argument 411 const void *id; local [all...] |
/freebsd-9.3-release/sys/dev/viawd/ |
H A D | viawd.c | 113 struct viawd_device *id; local 117 for (id = viawd_devices; id->desc != NULL; id++) 118 if (pci_get_device(dev) == id->device) 119 return (id); 137 struct viawd_device *id; local 139 id = viawd_find(device_get_parent(dev)); 140 KASSERT(id != NULL, ("parent should be a valid VIA SB")); 141 device_set_desc(dev, id [all...] |
/freebsd-9.3-release/contrib/ntp/scripts/monitoring/ |
H A D | ntp.pl | 61 local($id,$key) = @_; 63 $KEYS{$id} = $key if (defined($key)); 64 if (! defined($KEYS{$id})) 66 warn "Key $id not yet specified - key not changed\n"; 69 return ($keyid,$keyid = $id)[$[]; 415 $id = "$from$seq".&pkt_OP($r_e_m_op); 416 $ID{$id} = 1; 417 *FRAGS = "$id FRAGS"; 418 *lastseen = "$id lastseen"; 469 delete $ID{$id}; [all...] |
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/ |
H A D | cm.c | 214 struct ib_cm_id id; member in struct:cm_id_private 273 m = ib_create_send_mad(mad_agent, cm_id_priv->id.remote_cm_qpn, 394 int ret, id; local 400 next_id, &id); 402 next_id = ((unsigned) id + 1) & MAX_ID_MASK; 406 cm_id_priv->id.local_id = (__force __be32)id ^ cm.random_id_operand; 425 if (cm_id_priv->id.remote_id == remote_id) 510 __be64 service_id = cm_id_priv->id.service_id; 511 __be64 service_mask = cm_id_priv->id [all...] |
/freebsd-9.3-release/sys/dev/sfxge/common/ |
H A D | efx_tx.c | 137 unsigned int id; \ 141 id = (_added)++ & (_etp)->et_mask; \ 142 offset = id * sizeof (efx_qword_t); \ 145 unsigned int, id, efsys_dma_addr_t, (_addr), \ 278 __in uint32_t id, 308 if (id + (1 << size) >= encp->enc_buftbl_limit) { 329 FRF_AZ_TX_DESCQ_BUF_BASE_ID, id, 372 __in unsigned int id) 376 EFSYS_ASSERT3U(id, <, TX_NQSTATS); 378 return (__efx_tx_qstat_name[id]); 272 efx_tx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in uint16_t flags, __in efx_evq_t *eep, __deref_out efx_txq_t **etpp) argument 370 efx_tx_qstat_name( __in efx_nic_t *enp, __in unsigned int id) argument 388 unsigned int id; local [all...] |
/freebsd-9.3-release/sys/dev/siba/ |
H A D | sibareg.h | 50 #define SIBA_CC_ID(id) (id & SIBA_CC_IDMASK) 53 #define SIBA_CC_REV(id) \ 54 ((id & SIBA_CC_REVMASK) >> SIBA_CC_REVSHIFT) 57 #define SIBA_CC_PKG(id) \ 58 ((id & SIBA_CC_PKGMASK) >> SIBA_CC_PKGSHIFT) 61 #define SIBA_CC_NCORES(id) \ 62 ((id & SIBA_CC_NCORESMASK) >> SIBA_CC_NCORESSHIFT) 87 #define SIBA_CC_PMUCTL_XF_VAL(id) ((id [all...] |
/freebsd-9.3-release/usr.sbin/ypserv/ |
H A D | yp_dnslookup.c | 114 unsigned long id; member in struct:circleq_dnsentry 173 unsigned long id; local 185 id = ntohs(hptr->id); 197 return(id); 201 yp_find_dnsqent(unsigned long id, int type) argument 208 if (id == q->xid) 213 if (id == q->id) 277 inet_ntoa(q->client_addr.sin_addr), q->id); [all...] |