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

/freebsd-current/share/examples/ses/srcs/
H A Dgetnobj.c48 unsigned int nobj; local
58 if (ioctl(fd, SESIOC_GETNOBJ, (caddr_t) &nobj) < 0) {
61 fprintf(stdout, "%s: %d objects\n", name, nobj);
H A Dgetobjmap.c50 int nobj, fd, i; local
58 if (ioctl(fd, SESIOC_GETNOBJ, (caddr_t) &nobj) < 0) {
63 fprintf(stdout, "%s: %d objects\n", *v, nobj);
64 if (nobj == 0) {
68 objp = calloc(nobj, sizeof (ses_object));
79 for (i = 0; i < nobj; i++) {
H A Dgetencstat.c55 int fd, nobj, f, i, verbose, quiet, errors; local
92 if (ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj) < 0) {
132 objp = calloc(nobj, sizeof (encioc_element_t));
143 for (i = 0; i < nobj; i++) {
/freebsd-current/tests/sys/ses/
H A Ddestructive.c72 unsigned nobj; local
76 r = ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj);
79 map = calloc(nobj, sizeof(encioc_element_t));
84 for (elm_idx = 0; elm_idx < nobj; elm_idx++) {
113 for (elm_idx = 0; elm_idx < nobj; elm_idx++) {
158 unsigned nobj; local
162 r = ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj);
165 map = calloc(nobj, sizeof(encioc_element_t));
171 for (elm_idx = 0; elm_idx < nobj; elm_idx++) {
H A Dnondestructive.c51 unsigned nobj; local
60 r = ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj);
106 ATF_CHECK_EQ_MSG(nobj, elm_idx,
132 unsigned nobj; local
138 r = ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj);
143 map = calloc(nobj, sizeof(encioc_element_t));
148 for (elm_idx = 0; elm_idx < nobj; elm_idx++) {
254 unsigned nobj, subenc_id; local
257 r = ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj);
260 map = calloc(nobj, sizeo
332 unsigned nobj; local
551 unsigned nobj, expected = 0; local
[all...]
/freebsd-current/contrib/libucl/src/
H A Ducl_parser.c98 ucl_object_t *nobj; local
101 nobj = ucl_object_fromstring_common (begin, len, 0);
105 DL_APPEND (parser->last_comment, nobj);
108 parser->last_comment = nobj;
641 ucl_object_t *nobj; local
644 nobj = ucl_object_new_full (is_array ? UCL_ARRAY : UCL_OBJECT, parser->chunks->priority);
645 if (nobj == NULL) {
657 nobj = obj;
658 nobj->type = is_array ? UCL_ARRAY : UCL_OBJECT;
662 if (nobj
1142 ucl_object_t *nobj; local
1169 ucl_parser_process_object_element(struct ucl_parser *parser, ucl_object_t *nobj) argument
1299 ucl_object_t *nobj; local
[all...]
H A Ducl_internal.h646 * @param nobj
650 ucl_object_t *nobj);
/freebsd-current/contrib/one-true-awk/
H A Dparse.c55 x->nobj = a;
65 x->nobj = a;
76 x->nobj = a;
88 x->nobj = a;
101 x->nobj = a;
H A Dawk.h172 int nobj; member in struct:Node
234 #define isargument(n) ((n)->nobj == ARG)
H A Dawkgram.y497 switch (n->nobj) {
H A Drun.c163 if (notlegal(a->nobj)) /* probably a Cell* but too risky to print */
165 proc = proctab[a->nobj-FIRSTTOKEN];
166 x = (*proc)(a->narg, a->nobj);
H A Db.c39 #define type(v) (v)->nobj /* badly overloaded here */
/freebsd-current/usr.sbin/sesutil/
H A Dsesutil.c184 unsigned int nobj, j, sesid; local
247 if (ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj) < 0) {
252 objp = calloc(nobj, sizeof(encioc_element_t));
265 if (sesid >= nobj) {
277 for (j = 0; j < nobj; j++) {
420 unsigned int j, nobj; local
465 if (ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj) < 0) {
470 e_ptr = calloc(nobj, sizeof(encioc_element_t));
493 for (j = 0; j < nobj; j++) {
726 unsigned int j, nobj; local
[all...]
/freebsd-current/sys/fs/procfs/
H A Dprocfs_map.c84 vm_object_t lobj, nobj, obj, tobj; local
145 for (tobj = obj; tobj != NULL; tobj = nobj) {
146 nobj = tobj->backing_object;
/freebsd-current/sys/dev/mlx4/mlx4_core/
H A Dicm.h81 u64 virt, int obj_size, u32 nobj, int reserved,
H A Dmlx4_icm.c388 u64 virt, int obj_size, u32 nobj, int reserved,
398 num_icm = (nobj + obj_per_chunk - 1) / obj_per_chunk;
405 table->num_obj = nobj;
411 size = (u64) nobj * obj_size;
387 mlx4_init_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table, u64 virt, int obj_size, u32 nobj, int reserved, int use_lowmem, int use_coherent) argument
/freebsd-current/usr.bin/ar/
H A Dwrite.c338 struct ar_obj *nobj, *obj, *obj_temp, *pos; local
346 nobj = NULL;
449 nobj = create_obj_from_file(bsdar, *av,
451 if (nobj == NULL) {
468 insert_obj(bsdar, nobj, pos);
487 nobj = create_obj_from_file(bsdar, *av, 0);
488 if (nobj == NULL) {
493 insert_obj(bsdar, nobj, pos);
494 if (bsdar->options & AR_V && nobj != NULL)
/freebsd-current/contrib/elftoolchain/ar/
H A Dwrite.c361 struct ar_obj *nobj, *obj, *obj_temp, *pos; local
369 nobj = NULL;
478 nobj = create_obj_from_file(bsdar, *av,
480 if (nobj == NULL) {
497 insert_obj(bsdar, nobj, pos);
517 nobj = create_obj_from_file(bsdar, *av, 0);
518 if (nobj == NULL) {
523 insert_obj(bsdar, nobj, pos);
/freebsd-current/sys/dev/mthca/
H A Dmthca_memfree.h86 int nobj, int reserved,
H A Dmthca_memfree.c357 int nobj, int reserved,
367 num_icm = DIV_ROUND_UP(nobj, obj_per_chunk);
375 table->num_obj = nobj;
386 if ((i + 1) * MTHCA_TABLE_CHUNK_SIZE > nobj * obj_size)
387 chunk_size = nobj * obj_size - i * MTHCA_TABLE_CHUNK_SIZE;
355 mthca_alloc_icm_table(struct mthca_dev *dev, u64 virt, int obj_size, int nobj, int reserved, int use_lowmem, int use_coherent) argument
/freebsd-current/sys/cam/scsi/
H A Dscsi_enc_ses.c2483 * \param nobj Number of objects attached to the SES softc.
2489 uint8_t *buf, int bufsiz, int eip, int nobj)
2499 obj = &(enc_cache->elm_map[nobj]);
2521 nobj);
2542 * \param nobj Number of objects attached to the SES softc.
2548 uint8_t *buf, int bufsiz, int eip, int nobj)
2558 obj = &(enc_cache->elm_map[nobj]);
2576 "End Of Buffer\n", nobj);
2588 "Of Buffer\n", nobj);
2609 * \param nobj Numbe
2488 ses_get_elm_addlstatus_sas_type0(enc_softc_t *enc, enc_cache_t *enc_cache, uint8_t *buf, int bufsiz, int eip, int nobj) argument
2547 ses_get_elm_addlstatus_sas_type1(enc_softc_t *enc, enc_cache_t *enc_cache, uint8_t *buf, int bufsiz, int eip, int nobj) argument
2614 ses_get_elm_addlstatus_sas(enc_softc_t *enc, enc_cache_t *enc_cache, uint8_t *buf, int bufsiz, int eip, int tidx, int nobj) argument
2692 ses_get_elm_addlstatus_ata(enc_softc_t *enc, enc_cache_t *enc_cache, uint8_t *buf, int bufsiz, int eip, int tidx, int nobj) argument
[all...]
/freebsd-current/usr.sbin/rpc.lockd/
H A Dlockd_lock.c186 void dump_netobj(const struct netobj *nobj);
288 dump_netobj(const struct netobj *nobj) argument
297 if (nobj == NULL) {
300 else if (nobj->n_len == 0) {
303 dump_static_object(nobj->n_bytes, nobj->n_len,
306 nobj->n_len, hbuff, cbuff);
/freebsd-current/sys/dev/netmap/
H A Dnetmap_mem2.c758 nm_alloc_lut(u_int nobj) argument
760 size_t n = sizeof(struct lut_entry) * nobj;
783 nm_alloc_plut(u_int nobj) argument
785 size_t n = sizeof(struct plut_entry) * nobj;
/freebsd-current/libexec/rtld-elf/
H A Drtld.c2553 Obj_Entry *nobj; local
2560 nobj = globallist_next(obj);
2561 if (nobj != NULL && obj != tail)
2562 initlist_add_objects(nobj, tail, list);
/freebsd-current/sys/kern/
H A Dkern_proc.c2608 vm_object_t lobj, nobj, obj, tobj; local
2657 for (tobj = obj; tobj != NULL; tobj = nobj) {
2658 nobj = tobj->backing_object;

Completed in 225 milliseconds