Searched defs:private (Results 1 - 25 of 72) sorted by relevance

123

/freebsd-head/sys/ofed/drivers/infiniband/core/
H A Dib_cq.c83 ib_cq_completion_workqueue(struct ib_cq *cq, void *private) argument
89 ib_alloc_cq(struct ib_device *dev, void *private, argument
118 cq->cq_context = private;
/freebsd-head/crypto/heimdal/lib/hx509/
H A Dtest_soft_pkcs11.c90 CK_OBJECT_HANDLE public, private; local
148 ret = find_object(session, "cert", CKO_PRIVATE_KEY, &private);
150 errx(1, "find private key failed: %d", (int)ret);
159 ret = (*func->C_SignInit)(session, &mechanism, private);
204 ret = (*func->C_DecryptInit)(session, &mechanism, private);
/freebsd-head/crypto/openssh/regress/unittests/kex/
H A Dtest_kex.c84 struct sshkey *private, *public; local
91 ASSERT_INT_EQ(sshkey_generate(keytype, bits, &private), 0);
95 ASSERT_INT_EQ(sshkey_from_private(private, &public), 0);
102 keyname = strdup(sshkey_ssh_name(private));
112 ASSERT_INT_EQ(ssh_add_hostkey(server, private), 0);
141 ASSERT_INT_EQ(ssh_add_hostkey(server2, private), 0);
169 sshkey_free(private);
/freebsd-head/sys/mips/atheros/ar531x/
H A Dar5315_wdog.c56 ar5315_wdog_watchdog_fn(void *private, u_int cmd, int *error) argument
58 struct ar5315_wdog_softc *sc = private;
/freebsd-head/contrib/libarchive/libarchive/test/
H A Dtest_open_failure.c44 struct my_data *private = (struct my_data *)_private; local
47 assertEqualInt(MAGIC, private->magic);
48 ++private->read_called;
49 return (private->read_return);
55 struct my_data *private = (struct my_data *)_private; local
59 assertEqualInt(MAGIC, private->magic);
60 ++private->write_called;
61 return (private->write_return);
67 struct my_data *private = (struct my_data *)_private; local
69 assertEqualInt(MAGIC, private
77 struct my_data *private = (struct my_data *)_private; local
88 struct my_data private; local
[all...]
H A Dtest_tar_large.c84 struct memdata *private = _private; local
99 private->last->filebytes += (int64_t)size;
108 if (private->last == NULL) {
109 private->first = private->last = block;
111 private->last->next = block;
112 private->last = block;
122 struct memdata *private = _private; local
128 free(private->buff);
129 private
169 struct memdata *private = _private; local
[all...]
H A Dtest_write_format_zip_large.c88 struct fileblocks *private = _private; local
96 private->last->gap_size += (int64_t)size;
105 if (private->last == NULL) {
106 private->first = private->last = block;
108 private->last->next = block;
109 private->last = block;
113 private->filesize += size;
120 struct fileblocks *private = _private; local
125 while (private
176 struct fileblocks *private = _private; local
192 struct fileblocks *private = _private; local
242 struct fileblocks *private = _private; local
[all...]
/freebsd-head/crypto/openssl/apps/
H A Dgendsa.c53 int ret = 1, private = 0; local
89 private = 1;
111 out = bio_open_owner(outfile, FORMAT_PEM, private);
127 assert(private);
H A Dgenpkey.c61 int private = 0; local
136 private = do_param ? 0 : 1;
146 out = bio_open_owner(outfile, outformat, private);
170 assert(private);
173 assert(private);
H A Dpkcs8.c40 {"nocrypt", OPT_NOCRYPT, '-', "Use or expect unencrypted private key"},
48 {"traditional", OPT_TRADITIONAL, '-', "use traditional format private key"},
78 int private = 0, traditional = 0; local
187 private = 1;
200 out = bio_open_owner(outfile, outformat, private);
214 assert(private);
265 assert(private);
333 assert(private);
H A Dpkey.c34 "Read public key from input (default is private key)"},
35 {"pubout", OPT_PUBOUT, '-', "Output public key, not private"},
41 "Use traditional format for private keys"},
61 int private = 0, traditional = 0, check = 0, pub_check = 0; local
131 private = !noout && !pubout ? 1 : 0;
133 private = 1;
140 out = bio_open_owner(outfile, outformat, private);
192 assert(private);
209 assert(private);
224 assert(private);
[all...]
/freebsd-head/sys/mips/atheros/
H A Dar71xx_wdog.c58 ar71xx_wdog_watchdog_fn(void *private, u_int cmd, int *error) argument
60 struct ar71xx_wdog_softc *sc = private;
/freebsd-head/cddl/contrib/opensolaris/tools/ctf/common/
H A Dlist.c73 list_defcmp(void *d1, void *d2, void *private __unused)
80 void *private)
89 if (cmp(le->l_data, data, private) == 0) {
101 list_free(list_t *list, void (*datafree)(void *, void *), void *private) argument
109 datafree(le->l_data, private);
119 list_iter(list_t *list, int (*func)(void *, void *), void *private) argument
127 if ((cbrc = func(list->l_data, private)) < 0)
138 list_count_cb(void *data __unused, void *private __unused)
79 list_remove(list_t **list, void *data, int (*cmp)(void *, void *, void *), void *private) argument
/freebsd-head/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dtraverse.c45 tdtrav_cb_f *preops, tdtrav_cb_f *postops, void *private)
51 tdtd->private = private;
107 tdtrav_assert(tdesc_t *node __unused, tdesc_t **nodep __unused, void *private __unused)
157 if ((rc = travcb(this, thisp, tdtd->private)) < 0)
168 if ((rc = travcb(this, thisp, tdtd->private)) < 0)
180 (rc = travcb(this, thisp, tdtd->private)) < 0)
208 tdtrav_cb_f *postops, void *private)
212 tdtrav_init(&tdtd, vgenp, firstops, preops, postops, private);
219 tdtrav_cb_f *preops, tdtrav_cb_f *postops, void *private)
44 tdtrav_init(tdtrav_data_t *tdtd, int *vgenp, tdtrav_cb_f *firstops, tdtrav_cb_f *preops, tdtrav_cb_f *postops, void *private) argument
207 iitraverse(iidesc_t *ii, int *vgenp, tdtrav_cb_f *firstops, tdtrav_cb_f *preops, tdtrav_cb_f *postops, void *private) argument
218 iitraverse_hash(hash_t *iihash, int *vgenp, tdtrav_cb_f *firstops, tdtrav_cb_f *preops, tdtrav_cb_f *postops, void *private) argument
[all...]
H A Diidesc.c157 iidesc_free(void *arg, void *private __unused)
179 iidesc_count_type(void *data, void *private) argument
182 iitype_t match = (iitype_t)(uintptr_t)private;
H A Dalist.c155 alist_iter(alist_t *alist, int (*func)(void *, void *, void *), void *private) argument
160 aid.aid_priv = private;
198 alist_dump_cb(void *node, void *private) argument
200 int (*printer)(void *, void *) = private;
H A Dhash.c115 hash_add_cb(void *node, void *private) argument
117 hash_add((hash_t *)private, node);
145 void *private)
149 return (list_iter(hash->h_buckets[bucket], fun, private) < 0);
170 void *private)
178 hd.hd_private = private;
215 hash_iter(hash_t *hash, int (*fun)(void *, void *), void *private) argument
224 private)) < 0)
245 hash_free(hash_t *hash, void (*datafree)(void *, void *), void *private) argument
253 list_free(hash->h_buckets[i], datafree, private);
144 hash_match(hash_t *hash, void *key, int (*fun)(void *, void *), void *private) argument
169 hash_find_iter(hash_t *hash, void *key, int (*fun)(void *, void *), void *private) argument
[all...]
H A Dinput.c234 read_ctf(char **files, int n, char *label, read_cb_f *func, void *private, argument
242 private, require_ctf)) < 0)
/freebsd-head/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_strtab.c278 dt_strtab_write(const dt_strtab_t *sp, dt_strtab_write_f *func, void *private) argument
290 if ((res = func(sp->str_bufs[i], n, total, private)) <= 0)
/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzio_compress.c112 zio_compress_zeroed_cb(void *data, size_t len, void *private) argument
/freebsd-head/contrib/libarchive/libarchive/
H A Darchive_write_disk_set_standard_lookup.c238 cleanup(void *private) argument
241 struct bucket *cache = (struct bucket *)private;
/freebsd-head/sys/dev/led/
H A Dled.c35 void *private; member in struct:ledsc
75 sc->func(sc->private, *sc->ptr == 'U');
77 sc->func(sc->private, 0);
80 sc->func(sc->private, 1);
110 sc->func(sc->private, state);
292 sc->private = priv;
302 sc->func(sc->private, state != 0);
/freebsd-head/sys/mips/cavium/
H A Docteon_wdog.c129 octeon_wdog_watchdog_fn(void *private, u_int cmd, int *error) argument
131 struct octeon_wdog_softc *sc = private;
/freebsd-head/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_kmem.c138 kmem_std_constructor(void *mem, int size __unused, void *private, int flags) argument
140 struct kmem_cache *cache = private;
146 kmem_std_destructor(void *mem, int size __unused, void *private) argument
148 struct kmem_cache *cache = private;
156 void (*reclaim)(void *) __unused, void *private, vmem_t *vmp, int cflags)
166 cache->kc_private = private;
154 kmem_cache_create(char *name, size_t bufsize, size_t align, int (*constructor)(void *, void *, int), void (*destructor)(void *, void *), void (*reclaim)(void *) __unused, void *private, vmem_t *vmp, int cflags) argument
/freebsd-head/sys/netgraph/
H A Dng_gif.c97 /* Per-node private data */
98 struct private { struct
103 typedef struct private *priv_p;
238 /* Allocate private data */

Completed in 111 milliseconds

123