Searched refs:ent (Results 1 - 25 of 174) sorted by relevance

1234567

/freebsd-9.3-release/tools/regression/lib/libc/nss/
H A Dtestutil.h31 #define DECLARE_TEST_DATA(ent) \
32 struct ent##_entry { \
33 struct ent data; \
34 STAILQ_ENTRY(ent##_entry) entries; \
37 struct ent##_test_data { \
38 void (*clone_func)(struct ent *, struct ent const *); \
39 void (*free_func)(struct ent *); \
41 STAILQ_HEAD(ent_head, ent##_entry) snapshot_data; \
44 void __##ent##_test_data_ini
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/kadm5/
H A Dset_modifier.c40 hdb_entry *ent)
43 if(ent->modified_by == NULL){
44 ent->modified_by = malloc(sizeof(*ent->modified_by));
45 if(ent->modified_by == NULL)
48 free_Event(ent->modified_by);
49 ent->modified_by->time = time(NULL);
51 &ent->modified_by->principal);
39 _kadm5_set_modifier(kadm5_server_context *context, hdb_entry *ent) argument
H A Dbump_pw_expire.c44 hdb_entry *ent)
46 if (ent->pw_end != NULL) {
56 *(ent->pw_end) = time(NULL) + life;
43 _kadm5_bump_pw_expire(kadm5_server_context *context, hdb_entry *ent) argument
H A Dchpass_s.c45 hdb_entry_ex ent; local
51 memset(&ent, 0, sizeof(ent));
56 HDB_F_DECRYPT|HDB_F_GET_ANY, &ent);
60 num_keys = ent.entry.keys.len;
61 keys = ent.entry.keys.val;
63 ent.entry.keys.len = 0;
64 ent.entry.keys.val = NULL;
66 ret = _kadm5_set_keys(context, &ent.entry, password);
71 ent
150 hdb_entry_ex ent; local
[all...]
H A Drename_s.c45 hdb_entry_ex ent; local
48 memset(&ent, 0, sizeof(ent));
55 source, HDB_F_GET_ANY, &ent);
60 ret = _kadm5_set_modifier(context, &ent.entry);
71 for(i = 0; i < ent.entry.keys.len; i++){
72 if(ent.entry.keys.val[i].salt == NULL){
73 ent.entry.keys.val[i].salt =
74 malloc(sizeof(*ent.entry.keys.val[i].salt));
75 if(ent
[all...]
H A Dget_s.c39 add_tl_data(kadm5_principal_ent_t ent, int16_t type, argument
57 tl->tl_data_next = ent->tl_data;
58 ent->tl_data = tl;
59 ent->n_tl_data++;
75 hdb_entry_ex ent; local
77 memset(&ent, 0, sizeof(ent));
82 HDB_F_DECRYPT|HDB_F_GET_ANY, &ent);
89 ret = krb5_copy_principal(context->context, ent.entry.principal,
93 if(mask & KADM5_PRINC_EXPIRE_TIME && ent
[all...]
H A Drandkey_s.c50 hdb_entry_ex ent; local
53 memset(&ent, 0, sizeof(ent));
58 HDB_F_GET_ANY, &ent);
63 &ent.entry,
68 ent.entry.kvno++;
70 ret = _kadm5_set_modifier(context, &ent.entry);
73 ret = _kadm5_bump_pw_expire(context, &ent.entry);
77 ret = hdb_seal_keys(context->context, context->db, &ent.entry);
82 HDB_F_REPLACE, &ent);
[all...]
H A Dmodify_s.c45 hdb_entry_ex ent; local
52 memset(&ent, 0, sizeof(ent));
57 princ->principal, HDB_F_GET_ANY, &ent);
60 ret = _kadm5_setup_entry(context, &ent, mask, princ, mask, NULL, 0);
63 ret = _kadm5_set_modifier(context, &ent.entry);
67 ret = hdb_seal_keys(context->context, context->db, &ent.entry);
72 HDB_F_REPLACE, &ent);
77 &ent.entry,
81 hdb_free_entry(context->context, &ent);
[all...]
H A Dset_keys.c39 * Set the keys of `ent' to the string-to-key of `password'
44 hdb_entry *ent,
52 ent->principal,
57 _kadm5_free_keys (context->context, ent->keys.len, ent->keys.val);
58 ent->keys.val = keys;
59 ent->keys.len = num_keys;
61 hdb_entry_set_pw_change_time(context->context, ent, 0);
67 ent, password);
76 * Set the keys of `ent' t
43 _kadm5_set_keys(kadm5_server_context *context, hdb_entry *ent, const char *password) argument
80 _kadm5_set_keys2(kadm5_server_context *context, hdb_entry *ent, int16_t n_key_data, krb5_key_data *key_data) argument
139 _kadm5_set_keys3(kadm5_server_context *context, hdb_entry *ent, int n_keys, krb5_keyblock *keyblocks) argument
197 _kadm5_set_keys_randomly(kadm5_server_context *context, hdb_entry *ent, krb5_keyblock **new_keys, int *n_keys) argument
[all...]
H A Dent_setup.c63 * Modify the `ent' according to `tl_data'.
69 hdb_entry_ex *ent,
80 ret = hdb_entry_set_password(context, db, &ent->entry, pw);
93 ret = hdb_entry_set_pw_change_time(context, &ent->entry, t);
105 ret = hdb_replace_extension(context, &ent->entry, &ext);
115 * Create the hdb entry `ent' based on data from `princ' with
122 hdb_entry_ex *ent,
132 set_value(ent->entry.valid_end, princ->princ_expire_time);
134 set_null(ent->entry.valid_end);
139 set_value(ent
67 perform_tl_data(krb5_context context, HDB *db, hdb_entry_ex *ent, const krb5_tl_data *tl_data) argument
121 _kadm5_setup_entry(kadm5_server_context *context, hdb_entry_ex *ent, uint32_t mask, kadm5_principal_ent_t princ, uint32_t princ_mask, kadm5_principal_ent_t def, uint32_t def_mask) argument
[all...]
/freebsd-9.3-release/crypto/openssh/
H A Dauth-sia.c56 SIAENTITY *ent = NULL; local
64 if (sia_ses_init(&ent, saved_argc, saved_argv, host, authctxt->user,
68 if ((ret = sia_ses_authent(NULL, pass, ent)) != SIASUCCESS) {
72 sia_ses_release(&ent);
77 sia_ses_release(&ent);
85 SIAENTITY *ent = NULL; local
90 if (sia_ses_init(&ent, saved_argc, saved_argv, host, pw->pw_name,
94 if (sia_make_entity_pwd(pw, ent) != SIASUCCESS) {
95 sia_ses_release(&ent);
99 ent
[all...]
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dentropy.c143 isc_entropy_t *ent; member in struct:isc_entropysource
194 samplequeue_release(isc_entropy_t *ent, sample_queue_t *sq) { argument
198 isc_mem_put(ent->mctx, sq->samples, RND_EVENTQSIZE * 4);
199 isc_mem_put(ent->mctx, sq->extra, RND_EVENTQSIZE * 4);
205 samplesource_allocate(isc_entropy_t *ent, sample_queue_t *sq) { argument
206 sq->samples = isc_mem_get(ent->mctx, RND_EVENTQSIZE * 4);
210 sq->extra = isc_mem_get(ent->mctx, RND_EVENTQSIZE * 4);
212 isc_mem_put(ent->mctx, sq->samples, RND_EVENTQSIZE * 4);
227 add_entropy(isc_entropy_t *ent, isc_uint32_t entropy) { argument
231 entropy += ent
240 subtract_entropy(isc_entropy_t *ent, isc_uint32_t entropy) argument
250 add_pseudo(isc_entropy_t *ent, isc_uint32_t pseudo) argument
263 subtract_pseudo(isc_entropy_t *ent, isc_uint32_t pseudo) argument
312 entropypool_adddata(isc_entropy_t *ent, void *p, unsigned int len, isc_uint32_t entropy) argument
365 reseed(isc_entropy_t *ent) argument
438 crunchsamples(isc_entropy_t *ent, sample_queue_t *sq) argument
481 isc_entropy_t *ent = source->ent; local
530 isc_entropy_getdata(isc_entropy_t *ent, void *data, unsigned int length, unsigned int *returned, unsigned int flags) argument
676 isc_entropy_t *ent; local
722 isc_entropy_t *ent; local
762 destroy_check(isc_entropy_t *ent) argument
785 isc_entropy_t *ent; local
832 isc_entropy_t *ent; local
857 isc_entropy_createcallbacksource(isc_entropy_t *ent, isc_entropystart_t start, isc_entropyget_t get, isc_entropystop_t stop, void *arg, isc_entropysource_t **sourcep) argument
924 isc_entropy_stopcallbacksources(isc_entropy_t *ent) argument
949 isc_entropy_createsamplesource(isc_entropy_t *ent, isc_entropysource_t **sourcep) argument
1026 isc_entropy_t *ent; local
1066 isc_entropy_putdata(isc_entropy_t *ent, void *data, unsigned int length, isc_uint32_t entropy) argument
1082 dumpstats(isc_entropy_t *ent, FILE *out) argument
1100 isc_entropy_stats(isc_entropy_t *ent, FILE *out) argument
1109 isc_entropy_status(isc_entropy_t *ent) argument
1120 isc_entropy_attach(isc_entropy_t *ent, isc_entropy_t **entp) argument
1134 isc_entropy_t *ent; local
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dentropy.c143 isc_entropy_t *ent; member in struct:isc_entropysource
194 samplequeue_release(isc_entropy_t *ent, sample_queue_t *sq) { argument
198 isc_mem_put(ent->mctx, sq->samples, RND_EVENTQSIZE * 4);
199 isc_mem_put(ent->mctx, sq->extra, RND_EVENTQSIZE * 4);
205 samplesource_allocate(isc_entropy_t *ent, sample_queue_t *sq) { argument
206 sq->samples = isc_mem_get(ent->mctx, RND_EVENTQSIZE * 4);
210 sq->extra = isc_mem_get(ent->mctx, RND_EVENTQSIZE * 4);
212 isc_mem_put(ent->mctx, sq->samples, RND_EVENTQSIZE * 4);
227 add_entropy(isc_entropy_t *ent, isc_uint32_t entropy) { argument
231 entropy += ent
240 subtract_entropy(isc_entropy_t *ent, isc_uint32_t entropy) argument
250 add_pseudo(isc_entropy_t *ent, isc_uint32_t pseudo) argument
263 subtract_pseudo(isc_entropy_t *ent, isc_uint32_t pseudo) argument
312 entropypool_adddata(isc_entropy_t *ent, void *p, unsigned int len, isc_uint32_t entropy) argument
365 reseed(isc_entropy_t *ent) argument
438 crunchsamples(isc_entropy_t *ent, sample_queue_t *sq) argument
481 isc_entropy_t *ent = source->ent; local
530 isc_entropy_getdata(isc_entropy_t *ent, void *data, unsigned int length, unsigned int *returned, unsigned int flags) argument
676 isc_entropy_t *ent; local
722 isc_entropy_t *ent; local
762 destroy_check(isc_entropy_t *ent) argument
785 isc_entropy_t *ent; local
832 isc_entropy_t *ent; local
857 isc_entropy_createcallbacksource(isc_entropy_t *ent, isc_entropystart_t start, isc_entropyget_t get, isc_entropystop_t stop, void *arg, isc_entropysource_t **sourcep) argument
924 isc_entropy_stopcallbacksources(isc_entropy_t *ent) argument
949 isc_entropy_createsamplesource(isc_entropy_t *ent, isc_entropysource_t **sourcep) argument
1026 isc_entropy_t *ent; local
1066 isc_entropy_putdata(isc_entropy_t *ent, void *data, unsigned int length, isc_uint32_t entropy) argument
1082 dumpstats(isc_entropy_t *ent, FILE *out) argument
1100 isc_entropy_stats(isc_entropy_t *ent, FILE *out) argument
1109 isc_entropy_status(isc_entropy_t *ent) argument
1120 isc_entropy_attach(isc_entropy_t *ent, isc_entropy_t **entp) argument
1134 isc_entropy_t *ent; local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dorder.c87 dns_order_ent_t *ent; local
94 ent = isc_mem_get(order->mctx, sizeof(*ent));
95 if (ent == NULL)
98 dns_fixedname_init(&ent->name);
99 RUNTIME_CHECK(dns_name_copy(name, dns_fixedname_name(&ent->name), NULL)
101 ent->rdtype = rdtype;
102 ent->rdclass = rdclass;
103 ent->mode = mode;
104 ISC_LINK_INIT(ent, lin
121 dns_order_ent_t *ent; local
149 dns_order_ent_t *ent; local
[all...]
/freebsd-9.3-release/share/examples/autofs/driver/
H A Dautodriver.c74 int mount_indirect(struct autofs_userreq *req, struct autoentry *ent);
75 int mount_direct(struct autofs_userreq *req, struct autoentry *ent);
76 int mount_browse(struct autofs_userreq *req, struct autoentry *ent);
116 struct autoentry *ent; local
155 ent = xcalloc(1, sizeof(*ent));
158 ent->ae_mnt = p;
161 ent->ae_path = p;
164 ent->ae_type = p;
167 ent
230 struct autoentry *ent; local
291 struct autoentry *ent; local
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/hdb/
H A Dprint.c128 entry2string_int (krb5_context context, krb5_storage *sp, hdb_entry *ent) argument
135 ret = krb5_unparse_name(context, ent->principal, &p);
141 append_string(context, sp, "%d", ent->kvno);
143 for(i = 0; i < ent->keys.len; i++){
145 if(ent->keys.val[i].mkvno)
147 *ent->keys.val[i].mkvno,
148 ent->keys.val[i].key.keytype);
151 ent->keys.val[i].key.keytype);
153 append_hex(context, sp, &ent->keys.val[i].key.keyvalue);
156 if(ent
243 hdb_entry2string(krb5_context context, hdb_entry *ent, char **str) argument
[all...]
/freebsd-9.3-release/sys/kern/
H A Dkern_fail.c123 fail_point_sleep(struct fail_point *fp, struct fail_point_entry *ent, argument
220 struct fail_point_entry *ent, *next; local
225 TAILQ_FOREACH_SAFE(ent, &fp->fp_entries, fe_entries, next) {
228 if (ent->fe_prob < PROB_MAX &&
229 ent->fe_prob < random() % PROB_MAX)
231 if (ent->fe_pid != NO_PID && ent->fe_pid != curproc->p_pid)
234 switch (ent->fe_type) {
241 *return_value = ent->fe_arg;
253 cont = ent
297 struct fail_point_entry *ent; local
340 struct fail_point_entry *ent, *ent_next; local
455 struct fail_point_entry *ent; local
571 parse_type(struct fail_point_entry *ent, char *beg) argument
590 free_entry(struct fail_point_entries *ents, struct fail_point_entry *ent) argument
603 struct fail_point_entry *ent, *ent_next; local
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/
H A Dentropy.c50 isc_entropy_t *ent = source->ent; local
70 entropypool_adddata(ent, buf, ndesired, ndesired * 8);
84 fillpool(isc_entropy_t *ent, unsigned int desired, isc_boolean_t blocking) { argument
92 REQUIRE(VALID_ENTROPY(ent));
119 if ((ent->pool.entropy >= RND_POOLBITS / 4)
120 && (ent->pool.pseudo <= RND_POOLBITS / 4))
132 needed = ISC_MIN(needed, RND_POOLBITS - ent->pool.entropy);
139 if (ent->initialized < THRESHOLD_BITS)
140 needed = ISC_MAX(needed, THRESHOLD_BITS - ent
241 isc_entropy_createfilesource(isc_entropy_t *ent, const char *fname) argument
[all...]
/freebsd-9.3-release/crypto/heimdal/kdc/
H A Dmit_dump.c154 fix_salt(krb5_context context, hdb_entry *ent, int key_num) argument
157 Salt *salt = ent->keys.val[key_num].salt;
174 for (i = 0; i < ent->principal->name.name_string.len; ++i)
175 len += strlen(ent->principal->name.name_string.val[i]);
180 for (i = 0; i < ent->principal->name.name_string.len; ++i) {
182 ent->principal->name.name_string.val[i],
183 strlen(ent->principal->name.name_string.val[i]));
184 p += strlen(ent->principal->name.name_string.val[i]);
193 ent->principal->realm,
194 strlen(ent
224 struct hdb_entry_ex ent; local
[all...]
H A Dmisc.c48 hdb_entry_ex *ent; local
52 ent = calloc (1, sizeof (*ent));
53 if (ent == NULL) {
69 ent);
74 *h = ent;
78 free(ent);
84 _kdc_free_ent(krb5_context context, hdb_entry_ex *ent) argument
86 hdb_free_entry (context, ent);
87 free (ent);
[all...]
/freebsd-9.3-release/release/doc/share/xml/
H A DMakefile8 dev-auto.ent: ${MAN4PAGES} ${ARCHLIST} ${MAN2HWNOTES_CMD}
11 all: dev-auto.ent
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dcoff-solib.c80 struct libent *ent; local
85 ent = (struct libent *) lib;
87 len = bfd_get_32 (exec_bfd, ent->len);
89 nameoffset = bfd_get_32 (exec_bfd, ent->nameoffset);
94 filename = (char *) ent + nameoffset * 4;
/freebsd-9.3-release/sys/dev/sound/pcm/
H A Dsndstat.c210 struct sndstat_entry *ent; local
212 SLIST_FOREACH(ent, &sndstat_devlist, link) {
213 if (ent->type == type && ent->unit == unit)
214 return ent;
255 struct sndstat_entry *ent; local
275 ent = malloc(sizeof *ent, M_DEVBUF, M_WAITOK | M_ZERO);
276 ent->dev = dev;
277 ent
301 struct sndstat_entry *ent; local
321 struct sndstat_entry *ent; local
344 struct sndstat_entry *ent; local
[all...]
/freebsd-9.3-release/sys/dev/uart/
H A Duart_cpu_ia64.c61 struct dig64_hcdp_entry *ent; local
78 ent = tbl->entry + i;
81 ent->type != DIG64_HCDP_CONSOLE)
85 ent->type != DIG64_HCDP_DBGPORT)
88 addr = ent->address.addr_high;
89 addr = (addr << 32) + ent->address.addr_low;
92 di->bas.bst = (ent->address.addr_space == 0)
98 di->bas.rclk = ent->pclock << 4;
100 di->baudrate = ent->baud_low;
101 di->databits = ent
[all...]
/freebsd-9.3-release/sys/geom/part/
H A Dg_part_pc98.c65 struct pc98_partition ent; member in struct:g_part_pc98_entry
211 bzero(&entry->ent, sizeof(entry->ent));
213 entry->ent.dp_mid = entry->ent.dp_sid = 0;
219 pc98_set_chs(basetable, baseentry->gpe_start, &entry->ent.dp_scyl,
220 &entry->ent.dp_shd, &entry->ent.dp_ssect);
221 pc98_set_chs(basetable, baseentry->gpe_end, &entry->ent.dp_ecyl,
222 &entry->ent
442 struct pc98_partition ent; local
[all...]

Completed in 229 milliseconds

1234567