Home
last modified time | relevance | path

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

/trueos/share/examples/ses/srcs/
HDgetobjmap.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()
HDgetnobj.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()
HDgetencstat.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()
/trueos/contrib/libucl/src/
HDucl_parser.c924 ucl_object_t *nobj, *tobj; in ucl_parse_key() local
1092 nobj = ucl_object_new (); in ucl_parse_key()
1093 keylen = ucl_copy_or_store_ptr (parser, c, &nobj->trash_stack[UCL_TRASH_KEY], in ucl_parse_key()
1096 ucl_object_unref (nobj); in ucl_parse_key()
1101 ucl_object_unref (nobj); in ucl_parse_key()
1106 nobj->key = key; in ucl_parse_key()
1107 nobj->keylen = keylen; in ucl_parse_key()
1108 tobj = __DECONST (ucl_object_t *, ucl_hash_search_obj (container, nobj)); in ucl_parse_key()
1110 container = ucl_hash_insert_object (container, nobj); in ucl_parse_key()
1111 nobj->prev = nobj; in ucl_parse_key()
[all …]
/trueos/usr.bin/ar/
HDwrite.c374 struct ar_obj *nobj, *obj, *obj_temp, *pos; in write_archive() local
381 nobj = NULL; in write_archive()
482 nobj = create_obj_from_file(bsdar, *av, in write_archive()
484 if (nobj == NULL) in write_archive()
499 insert_obj(bsdar, nobj, pos); in write_archive()
518 nobj = create_obj_from_file(bsdar, *av, 0); in write_archive()
519 if (nobj != NULL) in write_archive()
520 insert_obj(bsdar, nobj, pos); in write_archive()
521 if (bsdar->options & AR_V && nobj != NULL) in write_archive()
/trueos/contrib/one-true-awk/
HDparse.c55 x->nobj = a; in node1()
65 x->nobj = a; in node2()
76 x->nobj = a; in node3()
88 x->nobj = a; in node4()
HDawk.h136 int nobj; member
198 #define isargument(n) ((n)->nobj == ARG)
HDrun.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()
HDawkgram.y468 switch (n->nobj) {
HDb.c43 #define type(v) (v)->nobj /* badly overloaded here */
/trueos/sys/ofed/drivers/net/mlx4/
HDicm.c386 u64 virt, int obj_size, u64 nobj, int reserved, in mlx4_init_icm_table() argument
396 num_icm = div_u64((nobj + obj_per_chunk - 1), obj_per_chunk); in mlx4_init_icm_table()
403 table->num_obj = nobj; in mlx4_init_icm_table()
409 size = (u64) nobj * obj_size; in mlx4_init_icm_table()
HDicm.h82 u64 virt, int obj_size, u64 nobj, int reserved,
/trueos/sys/boot/ficl/softwords/
HDoo.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 …]
/trueos/sys/cam/scsi/
HDscsi_enc_ses.c2386 uint8_t *buf, int bufsiz, int eip, int nobj) in ses_get_elm_addlstatus_sas_type0() argument
2396 obj = &(enc_cache->elm_map[nobj]); in ses_get_elm_addlstatus_sas_type0()
2418 nobj); in ses_get_elm_addlstatus_sas_type0()
2445 uint8_t *buf, int bufsiz, int eip, int nobj) in ses_get_elm_addlstatus_sas_type1() argument
2455 obj = &(enc_cache->elm_map[nobj]); in ses_get_elm_addlstatus_sas_type1()
2473 "End Of Buffer\n", nobj); in ses_get_elm_addlstatus_sas_type1()
2485 "Of Buffer\n", nobj); in ses_get_elm_addlstatus_sas_type1()
2513 int nobj) in ses_get_elm_addlstatus_sas() argument
2537 "invalid for SES element type 0x%x\n", nobj, in ses_get_elm_addlstatus_sas()
2544 nobj); in ses_get_elm_addlstatus_sas()
[all …]
/trueos/sys/ofed/drivers/infiniband/hw/mthca/
HDmthca_memfree.c360 int nobj, int reserved, in mthca_alloc_icm_table() argument
371 num_icm = DIV_ROUND_UP(nobj, obj_per_chunk); in mthca_alloc_icm_table()
379 table->num_obj = nobj; in mthca_alloc_icm_table()
390 if ((i + 1) * MTHCA_TABLE_CHUNK_SIZE > nobj * obj_size) in mthca_alloc_icm_table()
391 chunk_size = nobj * obj_size - i * MTHCA_TABLE_CHUNK_SIZE; in mthca_alloc_icm_table()
HDmthca_memfree.h88 int nobj, int reserved,
/trueos/usr.sbin/rpc.lockd/
HDlockd_lock.c186 void dump_netobj(const struct netobj *nobj);
293 dump_netobj(const struct netobj *nobj) in dump_netobj() argument
302 if (nobj == NULL) { in dump_netobj()
305 else if (nobj->n_len == 0) { in dump_netobj()
308 dump_static_object(nobj->n_bytes, nobj->n_len, in dump_netobj()
311 nobj->n_len, hbuff, cbuff); in dump_netobj()