/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usba_bos.c | 213 ud->usb_bos_nalloc = nalloc; in usba_bos_save() 214 ud->usb_bos_nents = ncaps; in usba_bos_save() 215 ud->usb_bos = bos; in usba_bos_save() 310 ud->usb_bos_mp = mp; in usba_get_binary_object_store() 381 if (ud->usb_bos == NULL) { in usba_add_binary_object_store_props() 411 freemsg(ud->usb_bos_mp); in usba_free_binary_object_store() 412 ud->usb_bos_mp = NULL; in usba_free_binary_object_store() 415 if (ud->usb_bos != NULL) { in usba_free_binary_object_store() 416 kmem_free(ud->usb_bos, sizeof (usb_bos_t) * ud->usb_bos_nalloc); in usba_free_binary_object_store() 417 ud->usb_bos = NULL; in usba_free_binary_object_store() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | svc_clts.c | 218 if (ud->ud_resp) { in svc_clts_kclone_destroy() 228 freeb(ud->ud_resp); in svc_clts_kclone_destroy() 230 if (ud->ud_inmp) in svc_clts_kclone_destroy() 370 if (ud->ud_resp) { in svc_clts_krecv() 383 ud->ud_resp = mp; in svc_clts_krecv() 402 ud->ud_inmp = mp; in svc_clts_krecv() 410 if (ud->ud_resp) { in svc_clts_krecv() 571 ud->ud_resp = mp; in svc_clts_ksend() 597 ud->ud_resp = NULL; in svc_clts_ksend() 652 if (ud->ud_inmp) { in svc_clts_kfreeargs() [all …]
|
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | sa_libpool.c | 109 const char *name, pool_value_t *pval, userdata_cb_t *ud) in populate_userdata_cb() argument 111 pset_statistic_bag_t *bag = (pset_statistic_bag_t *)ud->ud_bag; in populate_userdata_cb() 113 ud->ud_result = 0; in populate_userdata_cb() 115 ud->ud_result = pool_value_get_uint64(pval, &bag->pset_sb_min); in populate_userdata_cb() 117 ud->ud_result = pool_value_get_uint64(pval, &bag->pset_sb_max); in populate_userdata_cb() 121 ud->ud_result = pool_value_get_uint64(pval, &load); in populate_userdata_cb() 124 ud->ud_result = pool_value_get_uint64(pval, &bag->pset_sb_size); in populate_userdata_cb() 126 ud->ud_result = pool_value_get_int64(pval, &bag->pset_sb_sysid); in populate_userdata_cb() 141 userdata_cb_t ud; in update_pset() local 143 ud.ud_bag = (void *) sbag->bag; in update_pset() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | arpadate.c | 56 arpadate(ud) 57 register char *ud; 77 if (ud == NULL) 78 ud = ctime(&t); 86 p = &ud[0]; /* Mon */ 93 p = &ud[8]; /* 16 */ 101 p = &ud[4]; /* Sep */ 107 p = &ud[20]; /* 1979 */ 114 p = &ud[11]; /* 01:03:52 */
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_qpmod.c | 840 ibt_qp_ud_attr_t *ud; in hermon_qp_reset2init() local 926 ud = &info_p->qp_transport.ud; in hermon_qp_reset2init() 1117 ibt_qp_ud_attr_t *ud; in hermon_qp_init2init() local 1135 ud = &info_p->qp_transport.ud; in hermon_qp_init2init() 1323 ibt_qp_ud_attr_t *ud; in hermon_qp_init2rtr() local 1344 ud = &info_p->qp_transport.ud; in hermon_qp_init2rtr() 1716 ud = &info_p->qp_transport.ud; in hermon_qp_rtr2rts() 1987 ud = &info_p->qp_transport.ud; in hermon_qp_rts2rts() 2279 ud = &info_p->qp_transport.ud; in hermon_qp_sqd2rts() 2580 ud = &info_p->qp_transport.ud; in hermon_qp_sqd2sqd() [all …]
|
H A D | hermon_wr.c | 76 hermon_hw_snd_wqe_ud_t *ud; in hermon_post_send_ud() local 168 HERMON_WQE_BUILD_UD(qp, ud, ah, dest); in hermon_post_send_ud() 192 dest = wr->wr.ud.udwr_dest; in hermon_post_send_ud() 211 immed_data = wr->wr.ud.udwr_immed; in hermon_post_send_ud() 222 HERMON_WQE_BUILD_UD(qp, ud, ah, dest); in hermon_post_send_ud() 247 HERMON_WQE_BUILD_UD(qp, ud, ah, dest); in hermon_post_send_ud() 1304 hermon_hw_snd_wqe_ud_t *ud; in hermon_wqe_send_build() local 1370 dest = wr->wr.ud.udwr_dest; in hermon_wqe_send_build() 1386 HERMON_WQE_BUILD_UD(qp, ud, ah, wr->wr.ud.udwr_dest); in hermon_wqe_send_build() 1388 HERMON_WQE_BUILD_UD(qp, ud, ah, in hermon_wqe_send_build() [all …]
|
/illumos-gate/usr/src/uts/sparc/fpu/ |
H A D | fpu_simulator.c | 209 _fp_add(pfpsd, &ust, &us3, &ud); in _fp_fpu_simulator() 221 _fp_sub(pfpsd, &ust, &us3, &ud); in _fp_fpu_simulator() 350 _fp_add(pfpsd, &us1, &us2, &ud); in _fp_fpu_simulator() 358 _fp_sub(pfpsd, &us1, &us2, &ud); in _fp_fpu_simulator() 366 _fp_mul(pfpsd, &us1, &us2, &ud); in _fp_fpu_simulator() 376 _fp_mul(pfpsd, &us1, &us2, &ud); in _fp_fpu_simulator() 377 _fp_pack(pfpsd, &ud, nrd, in _fp_fpu_simulator() 386 _fp_mul(pfpsd, &us1, &us2, &ud); in _fp_fpu_simulator() 387 _fp_pack(pfpsd, &ud, nrd, in _fp_fpu_simulator() 394 _fp_div(pfpsd, &us1, &us2, &ud); in _fp_fpu_simulator() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/ |
H A D | fstyp.c | 458 ml_odunit_t *ud; in dumplog() local 499 ud = (void *)&h->eg; in dumplog() 501 if (ud->od_badlog) in dumplog() 506 ud->od_bol_lof, ud->od_eol_lof); in dumplog() 509 (void) fprintf(fout, "logsize\t\t%" PRIu32 "\n", ud->od_logsize); in dumplog() 512 ud->od_maxtransfer, ud->od_devbsize); in dumplog() 515 ud->od_head_lof, ud->od_head_ident); in dumplog() 518 ud->od_tail_lof, ud->od_tail_ident); in dumplog() 520 if (ud->od_head_ident + ud->od_tail_ident != ud->od_chksum) in dumplog() 522 "Bad chksum\t%#" PRIx32 "\n", ud->od_chksum); in dumplog() [all …]
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs.c | 508 ml_odunit_t *ud, *ud2; in lufs_initialize() local 518 ud = (void *)bp->b_un.b_addr; in lufs_initialize() 523 ud->od_devbsize = DEV_BSIZE; in lufs_initialize() 527 ud->od_logsize = nb - ud->od_statesize; in lufs_initialize() 532 ud->od_tail_ident = ud->od_head_ident; in lufs_initialize() 533 ud->od_chksum = ud->od_head_ident + ud->od_tail_ident; in lufs_initialize() 535 ud->od_bol_lof = dbtob(ud->od_statebno) + ud->od_statesize; in lufs_initialize() 536 ud->od_eol_lof = ud->od_bol_lof + ud->od_logsize; in lufs_initialize() 537 ud->od_head_lof = ud->od_bol_lof; in lufs_initialize() 538 ud->od_tail_lof = ud->od_bol_lof; in lufs_initialize() [all …]
|
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_mount.c | 427 be_unmount_data_t ud = { 0 }; in _be_unmount() local 520 ud.altroot = mountpoint; in _be_unmount() 544 &ud)) != 0) { in _be_unmount() 1274 be_unmount_data_t *ud = data; in be_unmount_callback() local 1339 strlen(ud->altroot)) == 0) && in be_unmount_callback() 1343 strlen(ud->altroot); in be_unmount_callback() 1886 altroot_len = strlen(ud->altroot); in unmount_shared_fs() 2212 be_unmount_data_t ud = { 0 }; in fix_mountpoint() local 2266 ud.altroot = altroot; in fix_mountpoint() 2414 z_set_zone_root(ud->altroot); in be_unmount_zones() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_qpmod.c | 744 ibt_qp_ud_attr_t *ud; in tavor_qp_reset2init() local 791 ud = &info_p->qp_transport.ud; in tavor_qp_reset2init() 901 ibt_qp_ud_attr_t *ud; in tavor_qp_init2init() local 920 ud = &info_p->qp_transport.ud; in tavor_qp_init2init() 1090 ibt_qp_ud_attr_t *ud; in tavor_qp_init2rtr() local 1112 ud = &info_p->qp_transport.ud; in tavor_qp_init2rtr() 1474 ud = &info_p->qp_transport.ud; in tavor_qp_rtr2rts() 1750 ud = &info_p->qp_transport.ud; in tavor_qp_rts2rts() 2023 ud = &info_p->qp_transport.ud; in tavor_qp_sqd2rts() 2245 ud = &info_p->qp_transport.ud; in tavor_qp_sqd2sqd() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/usba/ |
H A D | usb.c | 450 usba_device_t ud; in usba_hubd_walk_step() local 455 if (mdb_vread(&ud, sizeof (ud), wsp->walk_addr) != sizeof (ud)) { in usba_hubd_walk_step() 460 if (ud.usb_root_hubd != NULL) { in usba_hubd_walk_step() 462 (uintptr_t)ud.usb_root_hubd) != sizeof (hubd)) { in usba_hubd_walk_step() 463 mdb_warn("failed to read hubd at %p", ud.usb_root_hubd); in usba_hubd_walk_step() 466 return (wsp->walk_callback((uintptr_t)ud.usb_root_hubd, &hubd, in usba_hubd_walk_step() 470 if (ud.usb_hubdi == NULL) in usba_hubd_walk_step() 478 (uintptr_t)ud.usb_dip) != sizeof (struct dev_info)) { in usba_hubd_walk_step() 480 wsp->walk_addr, ud.usb_dip); in usba_hubd_walk_step()
|
/illumos-gate/usr/src/common/ficl/ |
H A D | fileaccess.c | 173 long ud = ftell(ff->f); in ficlPrimitiveFilePosition() local 174 ficlStackPushInteger(vm->dataStack, ud); in ficlPrimitiveFilePosition() 175 pushIor(vm, ud != -1); in ficlPrimitiveFilePosition() 183 long ud = ficlFileSize(ff); in ficlPrimitiveFileSize() local 184 ficlStackPushInteger(vm->dataStack, ud); in ficlPrimitiveFileSize() 185 pushIor(vm, ud != -1); in ficlPrimitiveFileSize() 318 size_t ud = (size_t)ficlStackPopInteger(vm->dataStack); in ficlPrimitiveRepositionFile() local 320 pushIor(vm, fseek(ff->f, ud, SEEK_SET) == 0); in ficlPrimitiveRepositionFile() 337 size_t ud = (size_t)ficlStackPopInteger(vm->dataStack); in ficlPrimitiveResizeFile() local 339 pushIor(vm, ficlFileTruncate(ff, ud) == 0); in ficlPrimitiveResizeFile()
|
H A D | utility.c | 129 ficl2Unsigned ud; in ficlUltoa() local 139 FICL_UNSIGNED_TO_2UNSIGNED(value, ud); in ficlUltoa() 140 while (FICL_2UNSIGNED_NOT_ZERO(ud)) { in ficlUltoa() 141 result = ficl2UnsignedDivide(ud, (ficlUnsigned)radix); in ficlUltoa() 142 ud = result.quotient; in ficlUltoa()
|
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_chan.c | 431 qp_modify_attr.qp_transport.ud.ud_rss = args->ud_rss; in ibt_alloc_ud_channel() 505 qp_modify_attr.qp_transport.ud.ud_port = in ibt_alloc_ud_channel() 508 qp_modify_attr.qp_transport.ud.ud_pkey_ix = in ibt_alloc_ud_channel() 550 qp_modify_attr.qp_transport.ud.ud_sq_psn = 0; in ibt_alloc_ud_channel() 696 qp_modify_attr.qp_transport.ud.ud_sq_psn = 0; in ibt_alloc_ud_channel_range() 804 qp_attr.qp_info.qp_transport.ud.ud_port; in ibt_query_ud_channel() 878 qp_info.qp_transport.ud.ud_qkey = attrs->ud_qkey; in ibt_modify_ud_channel() 1232 qkey = ud_chan->ch_transport.ud.ud_qkey; in ibt_modify_reply_ud_dest() 1233 port = ud_chan->ch_transport.ud.ud_port_num; in ibt_modify_reply_ud_dest() 1341 qp_info.qp_transport.ud.ud_qkey = ud_dest->ud_qkey; in ibt_update_channel_qkey() [all …]
|
H A D | ibtl_qp.c | 270 ibt_qp->ch_transport.ud.ud_port_num = in ibt_initialize_qp() 271 modify_attrp->qp_transport.ud.ud_port; in ibt_initialize_qp() 272 ibt_qp->ch_transport.ud.ud_qkey = in ibt_initialize_qp() 273 modify_attrp->qp_transport.ud.ud_qkey; in ibt_initialize_qp() 848 ibt_qp->ch_transport.ud.ud_port_num = in ibt_modify_qp() 849 modify_attrp->qp_transport.ud.ud_port; in ibt_modify_qp() 851 ibt_qp->ch_transport.ud.ud_qkey = in ibt_modify_qp() 852 modify_attrp->qp_transport.ud.ud_qkey; in ibt_modify_qp() 1098 qp_attr.qp_info.qp_transport.ud.ud_port = hca_port_num; in ibt_recycle_ud() 1099 qp_attr.qp_info.qp_transport.ud.ud_qkey = qkey; in ibt_recycle_ud() [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci_usba.c | 30 xhci_hcdi_get_xhcip_from_dev(usba_device_t *ud) in xhci_hcdi_get_xhcip_from_dev() argument 32 dev_info_t *dip = ud->usb_root_hub_dip; in xhci_hcdi_get_xhcip_from_dev() 1530 usba_device_t *hub = ud->usb_parent_hub; in xhci_hcdi_device_route() 1531 usba_device_t *port_dev = ud; in xhci_hcdi_device_route() 1563 xhci_hcdi_device_tt(usba_device_t *ud) in xhci_hcdi_device_tt() argument 1571 if (ud->usb_hs_hub_usba_dev == NULL) in xhci_hcdi_device_tt() 1574 ASSERT(ud->usb_hs_hub_usba_dev != NULL); in xhci_hcdi_device_tt() 1602 xd->xd_usbdev = ud; in xhci_hcdi_device_init() 1669 switch (ud->usb_port_status) { in xhci_hcdi_device_init() 1686 tt |= xhci_hcdi_device_tt(ud); in xhci_hcdi_device_init() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lstate.c | 181 static void f_luaopen (lua_State *L, void *ud) { in f_luaopen() argument 183 UNUSED(ud); in f_luaopen() 231 (*g->frealloc)(g->ud, fromstate(L), sizeof(LG), 0); /* free main block */ in close_state() 264 LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { in lua_newstate() argument 268 LG *l = cast(LG *, (*f)(ud, NULL, LUA_TTHREAD, sizeof(LG))); in lua_newstate() 279 g->ud = ud; in lua_newstate()
|
H A D | ldo.h | 27 typedef void (*Pfunc) (lua_State *L, void *ud); 43 LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud);
|
H A D | lua.h | 60 typedef const char * (*lua_Reader) (lua_State *L, void *ud, size_t *sz); 62 typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz, void* ud); 68 typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize); 130 LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud); 307 LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); 308 LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud);
|
H A D | lmem.c | 84 newblock = (*g->frealloc)(g->ud, block, osize, nsize); in luaM_realloc_() 90 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */ in luaM_realloc_()
|
H A D | lauxlib.c | 251 LUALIB_API void *luaL_testudata (lua_State *L, int ud, const char *tname) { in luaL_testudata() argument 252 void *p = lua_touserdata(L, ud); in luaL_testudata() 254 if (lua_getmetatable(L, ud)) { /* does it have a metatable? */ in luaL_testudata() 266 LUALIB_API void *luaL_checkudata (lua_State *L, int ud, const char *tname) { in luaL_checkudata() argument 267 void *p = luaL_testudata(L, ud, tname); in luaL_checkudata() 268 if (p == NULL) typeerror(L, ud, tname); in luaL_checkudata() 529 static const char *getS (lua_State *L, void *ud, size_t *size) { in getS() argument 530 LoadS *ls = (LoadS *)ud; in getS()
|
/illumos-gate/usr/src/grub/grub-0.97/docs/ |
H A D | kernel.c | 178 unsigned long ud = d; in itoa() local 186 ud = -d; in itoa() 194 int remainder = ud % divisor; in itoa() 198 while (ud /= divisor); in itoa()
|
/illumos-gate/usr/src/cmd/mdb/intel/modules/xhci/ |
H A D | xhci.c | 749 usba_device_t ud; in xhci_mdb_print_device() local 762 if (mdb_vread(&ud, sizeof (ud), (uintptr_t)xd.xd_usbdev) != in xhci_mdb_print_device() 763 sizeof (ud)) { in xhci_mdb_print_device() 768 if (ud.usb_mfg_str == NULL || mdb_readstr(mfg, sizeof (mfg), in xhci_mdb_print_device() 769 (uintptr_t)ud.usb_mfg_str) <= 0) { in xhci_mdb_print_device() 773 if (ud.usb_product_str == NULL || mdb_readstr(product, sizeof (product), in xhci_mdb_print_device() 774 (uintptr_t)ud.usb_product_str) <= 0) { in xhci_mdb_print_device()
|
/illumos-gate/usr/src/lib/libilb/common/ |
H A D | ilb_subr.c | 66 uint64_t ud; in signed_diff64() local 80 ud = y - x; in signed_diff64() 81 if (ud > INT64_MAX) in signed_diff64() 84 return ((int64_t)ud * s); in signed_diff64()
|