Home
last modified time | relevance | path

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

/freebsd-12.1/share/examples/ses/srcs/
H A 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()
H A 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()
H A 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.1/contrib/libucl/src/
H A Ducl_parser.c95 ucl_object_t *nobj; in ucl_save_comment() local
1048 ucl_object_t *nobj; in ucl_parser_append_elt() local
1064 nobj->key = top->key; in ucl_parser_append_elt()
1087 nobj->prev = nobj; in ucl_parser_process_object_element()
1088 nobj->next = NULL; in ucl_parser_process_object_element()
1140 nobj->key); in ucl_parser_process_object_element()
1151 nobj = tobj; in ucl_parser_process_object_element()
1173 parser->cur_obj = nobj; in ucl_parser_process_object_element()
1196 ucl_object_t *nobj; in ucl_parse_key() local
1384 nobj->key = key; in ucl_parse_key()
[all …]
H A Ducl_internal.h565 ucl_object_t *nobj);
/freebsd-12.1/usr.sbin/sesutil/
H A Dsesutil.c170 unsigned int nobj, j, sesid; in sesled() local
233 if (ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj) < 0) { in sesled()
238 objp = calloc(nobj, sizeof(encioc_element_t)); in sesled()
250 if (sesid > nobj) { in sesled()
260 for (j = 0; j < nobj; j++) { in sesled()
385 unsigned int j, nobj; in objmap() local
419 if (ioctl(fd, ENCIOC_GETNELM, (caddr_t) &nobj) < 0) { in objmap()
424 e_ptr = calloc(nobj, sizeof(encioc_element_t)); in objmap()
447 for (j = 0; j < nobj; j++) { in objmap()
/freebsd-12.1/contrib/one-true-awk/
H A 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()
H A Dawk.h142 int nobj; member
204 #define isargument(n) ((n)->nobj == ARG)
H A Dawkgram.y468 switch (n->nobj) {
H A Drun.c159 if (notlegal(a->nobj)) /* probably a Cell* but too risky to print */ in execute()
161 proc = proctab[a->nobj-FIRSTTOKEN]; in execute()
162 x = (*proc)(a->narg, a->nobj); in execute()
H A Db.c43 #define type(v) (v)->nobj /* badly overloaded here */
/freebsd-12.1/usr.bin/ar/
H A Dwrite.c384 struct ar_obj *nobj, *obj, *obj_temp, *pos; in write_archive() local
391 nobj = NULL; in write_archive()
492 nobj = create_obj_from_file(bsdar, *av, in write_archive()
494 if (nobj == NULL) in write_archive()
509 insert_obj(bsdar, nobj, pos); in write_archive()
528 nobj = create_obj_from_file(bsdar, *av, 0); in write_archive()
529 if (nobj != NULL) in write_archive()
530 insert_obj(bsdar, nobj, pos); in write_archive()
531 if (bsdar->options & AR_V && nobj != NULL) in write_archive()
/freebsd-12.1/contrib/elftoolchain/ar/
H A 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.1/sys/dev/mlx4/mlx4_core/
H A 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()
H A Dicm.h83 u64 virt, int obj_size, u32 nobj, int reserved,
/freebsd-12.1/sys/cam/scsi/
H A Dscsi_enc_ses.c2456 uint8_t *buf, int bufsiz, int eip, int nobj) in ses_get_elm_addlstatus_sas_type0() argument
2466 obj = &(enc_cache->elm_map[nobj]); in ses_get_elm_addlstatus_sas_type0()
2488 nobj); in ses_get_elm_addlstatus_sas_type0()
2525 obj = &(enc_cache->elm_map[nobj]); in ses_get_elm_addlstatus_sas_type1()
2543 "End Of Buffer\n", nobj); in ses_get_elm_addlstatus_sas_type1()
2555 "Of Buffer\n", nobj); in ses_get_elm_addlstatus_sas_type1()
2583 int nobj) in ses_get_elm_addlstatus_sas() argument
2614 nobj); in ses_get_elm_addlstatus_sas()
2631 bufsiz, eip, nobj); in ses_get_elm_addlstatus_sas()
2635 "of unknown type 0x%x\n", nobj, in ses_get_elm_addlstatus_sas()
[all …]
/freebsd-12.1/stand/ficl/softwords/
H A 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.1/sys/dev/mthca/
H A 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()
H A Dmthca_memfree.h88 int nobj, int reserved,
/freebsd-12.1/usr.sbin/rpc.lockd/
H A 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.1/sys/dev/netmap/
H A 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.1/libexec/rtld-elf/
H A Drtld.c2228 Obj_Entry *nobj; in initlist_add_objects() local
2235 nobj = globallist_next(obj); in initlist_add_objects()
2236 if (nobj != NULL && obj != tail) in initlist_add_objects()
2237 initlist_add_objects(nobj, tail, list); in initlist_add_objects()