Home
last modified time | relevance | path

Searched refs:nobj (Results 1 – 22 of 22) sorted by relevance

/freebsd-12-stable/share/examples/ses/srcs/
Dgetobjmap.c51 int nobj, fd, i; in main() local
59 if (ioctl(fd, SESIOC_GETNOBJ, (caddr_t) &nobj) < 0) { in main()
64 fprintf(stdout, "%s: %d objects\n", *v, nobj); in main()
65 if (nobj == 0) { in main()
69 objp = calloc(nobj, sizeof (ses_object)); in main()
80 for (i = 0; i < nobj; i++) { in main()
Dgetnobj.c49 unsigned int nobj; in main() local
59 if (ioctl(fd, SESIOC_GETNOBJ, (caddr_t) &nobj) < 0) { in main()
62 fprintf(stdout, "%s: %d objects\n", name, nobj); in main()
Dgetencstat.c56 int fd, nobj, f, i, verbose, quiet, errors; in main() local
93 if (ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj) < 0) { in main()
133 objp = calloc(nobj, sizeof (encioc_element_t)); in main()
144 for (i = 0; i < nobj; i++) { in main()
/freebsd-12-stable/contrib/libucl/src/
Ducl_parser.c98 ucl_object_t *nobj; in ucl_save_comment() local
101 nobj = ucl_object_fromstring_common (begin, len, 0); in ucl_save_comment()
105 DL_APPEND (parser->last_comment, nobj); in ucl_save_comment()
108 parser->last_comment = nobj; in ucl_save_comment()
641 ucl_object_t *nobj; in ucl_parser_add_container() local
644 nobj = ucl_object_new_full (is_array ? UCL_ARRAY : UCL_OBJECT, parser->chunks->priority); in ucl_parser_add_container()
645 if (nobj == NULL) { in ucl_parser_add_container()
657 nobj = obj; in ucl_parser_add_container()
658 nobj->type = is_array ? UCL_ARRAY : UCL_OBJECT; in ucl_parser_add_container()
662 if (nobj->value.ov == NULL) { in ucl_parser_add_container()
[all …]
Ducl_internal.h650 ucl_object_t *nobj);
/freebsd-12-stable/usr.sbin/sesutil/
Dsesutil.c185 unsigned int nobj, j, sesid; in sesled() local
248 if (ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj) < 0) { in sesled()
253 objp = calloc(nobj, sizeof(encioc_element_t)); in sesled()
266 if (sesid >= nobj) { in sesled()
278 for (j = 0; j < nobj; j++) { in sesled()
411 unsigned int j, nobj; in objmap() local
445 if (ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj) < 0) { in objmap()
450 e_ptr = calloc(nobj, sizeof(encioc_element_t)); in objmap()
473 for (j = 0; j < nobj; j++) { in objmap()
715 unsigned int j, nobj; in show() local
[all …]
/freebsd-12-stable/contrib/one-true-awk/
Dparse.c55 x->nobj = a; in node1()
65 x->nobj = a; in node2()
76 x->nobj = a; in node3()
88 x->nobj = a; in node4()
101 x->nobj = a; in node5()
Dawk.h168 int nobj; member
230 #define isargument(n) ((n)->nobj == ARG)
Dawkgram.y490 switch (n->nobj) {
Drun.c162 if (notlegal(a->nobj)) /* probably a Cell* but too risky to print */ in execute()
164 proc = proctab[a->nobj-FIRSTTOKEN]; in execute()
165 x = (*proc)(a->narg, a->nobj); in execute()
Db.c39 #define type(v) (v)->nobj /* badly overloaded here */
/freebsd-12-stable/usr.bin/ar/
Dwrite.c340 struct ar_obj *nobj, *obj, *obj_temp, *pos; in ar_write_archive() local
348 nobj = NULL; in ar_write_archive()
451 nobj = create_obj_from_file(bsdar, *av, in ar_write_archive()
453 if (nobj == NULL) { in ar_write_archive()
470 insert_obj(bsdar, nobj, pos); in ar_write_archive()
489 nobj = create_obj_from_file(bsdar, *av, 0); in ar_write_archive()
490 if (nobj == NULL) { in ar_write_archive()
495 insert_obj(bsdar, nobj, pos); in ar_write_archive()
496 if (bsdar->options & AR_V && nobj != NULL) in ar_write_archive()
/freebsd-12-stable/contrib/elftoolchain/ar/
Dwrite.c361 struct ar_obj *nobj, *obj, *obj_temp, *pos; in ar_write_archive() local
369 nobj = NULL; in ar_write_archive()
478 nobj = create_obj_from_file(bsdar, *av, in ar_write_archive()
480 if (nobj == NULL) { in ar_write_archive()
497 insert_obj(bsdar, nobj, pos); in ar_write_archive()
517 nobj = create_obj_from_file(bsdar, *av, 0); in ar_write_archive()
518 if (nobj == NULL) { in ar_write_archive()
523 insert_obj(bsdar, nobj, pos); in ar_write_archive()
/freebsd-12-stable/sys/dev/mlx4/mlx4_core/
Dmlx4_icm.c388 u64 virt, int obj_size, u32 nobj, int reserved, in mlx4_init_icm_table() argument
398 num_icm = (nobj + obj_per_chunk - 1) / obj_per_chunk; in mlx4_init_icm_table()
405 table->num_obj = nobj; in mlx4_init_icm_table()
411 size = (u64) nobj * obj_size; in mlx4_init_icm_table()
Dicm.h83 u64 virt, int obj_size, u32 nobj, int reserved,
/freebsd-12-stable/sys/cam/scsi/
Dscsi_enc_ses.c2494 uint8_t *buf, int bufsiz, int eip, int nobj) in ses_get_elm_addlstatus_sas_type0() argument
2504 obj = &(enc_cache->elm_map[nobj]); in ses_get_elm_addlstatus_sas_type0()
2526 nobj); in ses_get_elm_addlstatus_sas_type0()
2553 uint8_t *buf, int bufsiz, int eip, int nobj) in ses_get_elm_addlstatus_sas_type1() argument
2563 obj = &(enc_cache->elm_map[nobj]); in ses_get_elm_addlstatus_sas_type1()
2581 "End Of Buffer\n", nobj); in ses_get_elm_addlstatus_sas_type1()
2593 "Of Buffer\n", nobj); in ses_get_elm_addlstatus_sas_type1()
2621 int nobj) in ses_get_elm_addlstatus_sas() argument
2645 "invalid for SES element type 0x%x\n", nobj, in ses_get_elm_addlstatus_sas()
2652 nobj); in ses_get_elm_addlstatus_sas()
[all …]
/freebsd-12-stable/stand/ficl/softwords/
Doo.fr415 locals| meta parent nobj |
416 create nobj
417 here parent --> .do-instance \ ( nobj inst class )
419 nobj * allot \ allocate payload space
444 locals| meta class nobj |
446 nobj * allocate ( -- addr fail-flag )
448 nobj over class --> array-init
460 : allot-array { nobj 2:this -- 2:instance }
462 this my=> get-size nobj * allot
464 nobj -rot --> array-init
[all …]
/freebsd-12-stable/sys/dev/mthca/
Dmthca_memfree.c357 int nobj, int reserved, in mthca_alloc_icm_table() argument
367 num_icm = DIV_ROUND_UP(nobj, obj_per_chunk); in mthca_alloc_icm_table()
375 table->num_obj = nobj; in mthca_alloc_icm_table()
386 if ((i + 1) * MTHCA_TABLE_CHUNK_SIZE > nobj * obj_size) in mthca_alloc_icm_table()
387 chunk_size = nobj * obj_size - i * MTHCA_TABLE_CHUNK_SIZE; in mthca_alloc_icm_table()
Dmthca_memfree.h88 int nobj, int reserved,
/freebsd-12-stable/usr.sbin/rpc.lockd/
Dlockd_lock.c188 void dump_netobj(const struct netobj *nobj);
295 dump_netobj(const struct netobj *nobj) in dump_netobj() argument
304 if (nobj == NULL) { in dump_netobj()
307 else if (nobj->n_len == 0) { in dump_netobj()
310 dump_static_object(nobj->n_bytes, nobj->n_len, in dump_netobj()
313 nobj->n_len, hbuff, cbuff); in dump_netobj()
/freebsd-12-stable/sys/dev/netmap/
Dnetmap_mem2.c752 nm_alloc_lut(u_int nobj) in nm_alloc_lut() argument
754 size_t n = sizeof(struct lut_entry) * nobj; in nm_alloc_lut()
777 nm_alloc_plut(u_int nobj) in nm_alloc_plut() argument
779 size_t n = sizeof(struct plut_entry) * nobj; in nm_alloc_plut()
/freebsd-12-stable/libexec/rtld-elf/
Drtld.c2323 Obj_Entry *nobj; in initlist_add_objects() local
2330 nobj = globallist_next(obj); in initlist_add_objects()
2331 if (nobj != NULL && obj != tail) in initlist_add_objects()
2332 initlist_add_objects(nobj, tail, list); in initlist_add_objects()