/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_alloc.c | 80 topo_mod_alloc(topo_mod_t *mod, size_t size) in topo_mod_alloc() argument 82 return (topo_hdl_alloc(mod->tm_hdl, size)); in topo_mod_alloc() 86 topo_mod_zalloc(topo_mod_t *mod, size_t size) in topo_mod_zalloc() argument 88 return (topo_hdl_zalloc(mod->tm_hdl, size)); in topo_mod_zalloc() 92 topo_mod_free(topo_mod_t *mod, void *data, size_t size) in topo_mod_free() argument 94 topo_hdl_free(mod->tm_hdl, data, size); in topo_mod_free()
|
H A D | topo_builtin.c | 107 topo_mod_t *mod; in topo_builtin_create() local 120 if ((mod = topo_modhash_load(thp, bp->bltin_name, NULL, in topo_builtin_create() 130 if ((tp = topo_tree_create(thp, mod, bp->bltin_name)) in topo_builtin_create() 142 if ((tdg = topo_digraph_new(thp, mod, bp->bltin_name)) in topo_builtin_create() 158 if (topo_mod_enumerate(mod, rnode, mod->tm_name, in topo_builtin_create()
|
H A D | topo_nvl.c | 45 topo_mod_nvalloc(topo_mod_t *mod, nvlist_t **nvlp, uint_t nvflag) in topo_mod_nvalloc() argument 47 if (nvlist_xalloc(nvlp, nvflag, &mod->tm_alloc->ta_nva) != 0) in topo_mod_nvalloc() 54 topo_mod_nvdup(topo_mod_t *mod, nvlist_t *nvl, nvlist_t **nvlp) in topo_mod_nvdup() argument 56 if (nvlist_xdup(nvl, nvlp, &mod->tm_alloc->ta_nva) != 0) in topo_mod_nvdup()
|
H A D | topo_digraph_xml.c | 897 if (deserialize_edges(thp, mod, tdg, fmri, cn) != 0) in add_edges() 1032 if (deserialize_nvpair(thp, mod, cnvl, gcn) != in deserialize_nvpair() 1046 if (xmlattr_to_int(mod, xn, TDG_XML_VALUE, &val) != 0 || in deserialize_nvpair() 1052 if (xmlattr_to_int(mod, xn, TDG_XML_VALUE, &val) != 0 || in deserialize_nvpair() 1058 if (xmlattr_to_int(mod, xn, TDG_XML_VALUE, &val) != 0 || in deserialize_nvpair() 1134 if (deserialize_nvpair(thp, mod, nvlarr[i], in deserialize_nvpair() 1355 if (deserialize_nvpair(thp, mod, props, cn) != 0 || in deserialize_vertex() 1394 topo_mod_t *mod; in topo_digraph_deserialize() local 1447 tdg = topo_digraph_get(mod->tm_hdl, mod->tm_info->tmi_scheme); in topo_digraph_deserialize() 1475 if (deserialize_vertex(thp, mod, tdg, xn) != 0) in topo_digraph_deserialize() [all …]
|
H A D | topo_subr.c | 177 topo_vdprintf(topo_hdl_t *thp, const char *mod, const char *format, va_list ap) in topo_vdprintf() argument 191 if (mod == NULL) { in topo_vdprintf() 195 mod, msg); in topo_vdprintf() 198 if (mod == NULL) { in topo_vdprintf() 201 (void) fprintf(stderr, "libtopo DEBUG: %s: %s", mod, in topo_vdprintf() 276 topo_search_path(topo_mod_t *mod, const char *rootdir, const char *file) in topo_search_path() argument 279 topo_hdl_t *thp = mod->tm_hdl; in topo_search_path() 299 pp = topo_mod_strdup(mod, sp); in topo_search_path()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | ndd.c | 246 char *mod; in do_ipadm_getset() local 252 mod = modpath; in do_ipadm_getset() 254 ++mod; in do_ipadm_getset() 384 char *cp, *value, *mod; in main() local 409 if (mod != NULL) in main() 410 mod++; in main() 412 mod = cp; in main() 598 char *mod; in open_device() local 608 if (mod != NULL) in open_device() 609 mod++; in open_device() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_callb.c | 67 mdb_module_t *mod = cb->cb_mod; in mdb_callb_remove() local 69 if (mod->mod_cb == cb) { in mdb_callb_remove() 70 if (next == NULL || next->cb_mod != mod) in mdb_callb_remove() 71 mod->mod_cb = NULL; in mdb_callb_remove() 73 mod->mod_cb = next; in mdb_callb_remove()
|
H A D | mdb_help.c | 83 mdb_module_t *mod = mdb_nv_get_cookie(v); in print_dmod_long() local 85 mdb_printf("\n%<u>%-70s%</u>\n", mod->mod_name); in print_dmod_long() 87 if (mod->mod_tgt_ctor != NULL) { in print_dmod_long() 89 (ulong_t)mod->mod_tgt_ctor); in print_dmod_long() 92 if (mod->mod_dis_ctor != NULL) { in print_dmod_long() 94 (ulong_t)mod->mod_dis_ctor); in print_dmod_long() 97 mdb_nv_sort_iter(&mod->mod_dcmds, print_dcmd, NULL, UM_SLEEP | UM_GC); in print_dmod_long() 98 mdb_nv_sort_iter(&mod->mod_walkers, print_walk, NULL, UM_SLEEP | UM_GC); in print_dmod_long()
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockfilter.c | 924 if (mod != NULL) in sof_entry_rele() 940 if (mod == NULL) in sof_entry_load_module() 1218 if (mod != NULL) in sof_module_hold_by_name() 1228 if (mod == NULL) { in sof_module_hold_by_name() 1236 return (mod); in sof_module_hold_by_name() 1243 mod->sofm_refcnt--; in sof_module_rele() 1454 sof_module_t *mod; in sof_register() local 1469 kmem_free(mod->sofm_name, strlen(mod->sofm_name) + 1); in sof_register() 1489 sof_module_t *mod; in sof_unregister() local 1493 if (mod != NULL) { in sof_unregister() [all …]
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | make.rules.file | 26 .h .h~ .f .f~ .for .for~ .F .F~ .f90 .f90~ .ftn .ftn~ .mod .mod~ \ 366 .mod: 368 .mod~: 370 $(COMPILE.mod) -o $@ -e $@ $*.mod 371 .mod.o: 372 $(COMPILE.mod) -o $@ $< 373 .mod~.o: 375 $(COMPILE.mod) -o $@ $*.mod 376 .mod.a: 380 .mod~.a: [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 686 for (mod = fctl_ulp_modules, prev = NULL; mod; mod = mod->mod_next) { in fc_ulp_add() 702 mod = kmem_zalloc(sizeof (*mod), KM_SLEEP); in fc_ulp_add() 775 mod = mod->mod_next) { in fc_ulp_remove() 801 kmem_free(mod, sizeof (*mod)); in fc_ulp_remove() 2441 for (mod = fctl_ulp_modules; mod; mod = mod->mod_next) { in fctl_remove_port() 2538 for (mod = fctl_ulp_modules; mod; mod = mod->mod_next) { in fctl_attach_ulps() 2561 for (mod = fctl_ulp_modules; mod; mod = mod->mod_next) { in fctl_attach_ulps() 2713 for (mod = fctl_ulp_modules; mod; mod = mod->mod_next) { in fctl_detach_ulps() 3111 for (mod = fctl_ulp_modules; mod; mod = mod->mod_next) { in fctl_ulp_statec_cb() 4946 for (mod = fctl_ulp_modules; mod; mod = mod->mod_next) { in fctl_ulp_unsol_cb() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/docs/ |
H A D | kernel.c | 89 module_t *mod; in cmain() local 94 for (i = 0, mod = (module_t *) mbi->mods_addr; in cmain() 96 i++, mod++) in cmain() 98 (unsigned) mod->mod_start, in cmain() 99 (unsigned) mod->mod_end, in cmain() 100 (char *) mod->string); in cmain()
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rdma_subr.c | 86 rdma_register_mod(rdma_mod_t *mod) in rdma_register_mod() argument 90 if (mod->rdma_version != RDMATF_VERS) { in rdma_register_mod() 100 if (strncmp((*mp)->r_mod->rdma_api, mod->rdma_api, in rdma_register_mod() 104 (*mp)->r_mod->rdma_ops = mod->rdma_ops; in rdma_register_mod() 105 (*mp)->r_mod->rdma_count = mod->rdma_count; in rdma_register_mod() 119 *m->r_mod = *mod; in rdma_register_mod() 122 (void) strncpy(m->r_mod->rdma_api, mod->rdma_api, KNC_STRSIZE); in rdma_register_mod() 148 rdma_unregister_mod(rdma_mod_t *mod) in rdma_unregister_mod() argument 156 if (strncmp((*m)->r_mod->rdma_api, mod->rdma_api, in rdma_unregister_mod() 164 if (mod->rdma_count != 0) { in rdma_unregister_mod()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_subr.c | 515 module_t *mod; in rsrc_client_alloc() local 1519 module_t *mod; in rsrc_mod_info() local 1524 while (mod) { in rsrc_mod_info() 1528 mod = mod->next; in rsrc_mod_info() 1611 module_t *mod; in rcmd_db_sync() local 1620 while (mod) { in rcmd_db_sync() 1629 mod->modops->rcmop_register(mod->rcmhandle); in rcmd_db_sync() 1633 mod = mod->next; in rcmd_db_sync() 1784 module_t *mod; in rcmd_db_print() local 1789 while (mod) { in rcmd_db_print() [all …]
|
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | elfedit.c | 1730 elfeditGC_module_t *mod; in elfedit_load_module() local 1875 old_moddef->ml_mod = mod; in elfedit_load_module() 1908 moddef->ml_mod = mod; in elfedit_load_module() 2039 mod->mod_name, *cmd_name, in find_cmd() 2077 elfeditGC_module_t *mod; in elfedit_find_command() local 2107 if (mod == NULL) in elfedit_find_command() 2111 cmd = find_cmd(mod, cmd_str); in elfedit_find_command() 2129 *mod_ret = mod; in elfedit_find_command() 2497 elfeditGC_module_t *mod; in parse_user_cmd() local 2532 ucmd->ucmd_mod = mod; in parse_user_cmd() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | ssa.c | 177 unsigned long mod = var->ctype.modifiers; in ssa_convert_one_var() local 189 if (mod & MOD_VOLATILE) in ssa_convert_one_var() 193 mod &= (MOD_NONLOCAL | MOD_STATIC | MOD_ADDRESSABLE); in ssa_convert_one_var() 194 if (mod) in ssa_convert_one_var() 223 mod |= MOD_ADDRESSABLE; in ssa_convert_one_var() 252 if (mod & (MOD_NONLOCAL | MOD_STATIC)) in ssa_convert_one_var() 254 kill_dead_stores(ep, addr, !mod); in ssa_convert_one_var()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did_props.c | 275 if ((ptp = topo_mod_prominfo(mod)) == DI_PROM_HANDLE_NIL) in promprop2uint() 320 if (promprop2uint(mod, n, pnm, pv) < 0) in di_uintprop_get() 587 topo_mod_strfree(mod, plabel); in use_predecessor_label() 825 nvlist_t *mod; in MODULEprop_set() local 839 nvlist_free(mod); in MODULEprop_set() 842 nvlist_free(mod); in MODULEprop_set() 980 topo_mod_t *mod = did_mod(pd); in maybe_pcidb_set() local 997 if ((pcih = topo_mod_pcidb(mod)) == NULL || in maybe_pcidb_set() 1007 return (topo_mod_seterrno(mod, err)); in maybe_pcidb_set() 1017 return (topo_mod_seterrno(mod, err)); in maybe_pcidb_set() [all …]
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | cpr_sparc.c | 127 props->mod, props->name, props->value); in cpr_update_nvram() 129 if (props->mod == PROP_NOMOD) in cpr_update_nvram() 175 prop->mod = PROP_MOD; in cpr_prop_update() 178 prop->mod = PROP_MOD; in cpr_prop_update() 294 new->mod = orig->mod = PROP_NOMOD; in cpr_default_setup()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_self.c | 85 nvlist_t *flt, *mod; in self_recv() local 98 nvlist_lookup_nvlist(nvl, FM_EREPORT_DETECTOR, &mod) == 0 && in self_recv() 99 nvlist_lookup_string(mod, FM_FMRI_FMD_NAME, &name) == 0) { in self_recv() 117 flt = fmd_protocol_fault(class, 100, mod, NULL, NULL, NULL); in self_recv()
|
/illumos-gate/usr/src/compat/bhyve/sys/ |
H A D | sdt.h | 21 #define SDT_PROVIDER_DECLARE(mod) argument 22 #define SDT_PROVIDER_DEFINE(mod) argument
|
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_rate.c | 237 int32_t mod = 0, nrate, enough; in ath_rate_ctl() local 248 mod = -1; in ath_rate_ctl() 252 mod = -1; in ath_rate_ctl() 256 mod = 1; in ath_rate_ctl() 259 switch (mod) { in ath_rate_ctl()
|
/illumos-gate/usr/src/common/bignum/ |
H A D | mont_mulf.c | 45 double mod(double, double, double); 63 mod(double x, double oneoverm, double m) in mod() function 259 digit = mod(lower32(a, Zero) * dn0, TwoToMinus16, TwoTo16); in mont_mulf_noconv() 277 digit = mod(lower32(b, Zero) * dn0, in mont_mulf_noconv() 300 digit = mod(lower32(a, Zero) * dn0, TwoToMinus16, TwoTo16); in mont_mulf_noconv() 326 digit = mod(lower32(b, Zero) * dn0, in mont_mulf_noconv()
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_kvm.c | 280 mdb_module_t *mod; in kmt_vtop() local 705 struct module *mod; in kmt_mod_create() local 715 mod = &km->km_module; in kmt_mod_create() 717 if (mod->symhdr != NULL && mod->strhdr != NULL && mod->symtbl != NULL && in kmt_mod_create() 718 mod->strings != NULL) { in kmt_mod_create() 722 mod->symhdr, mod->symtbl, mod->strhdr, mod->strings, in kmt_mod_create() 725 km->km_symtab_va = mod->symtbl; in kmt_mod_create() 744 km->km_bss_size = mod->bss_size; in kmt_mod_create() 745 km->km_ctf_va = mod->ctfdata; in kmt_mod_create() 746 km->km_ctf_size = mod->ctfsize; in kmt_mod_create() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.signature.d | 38 @moddy[mod(0)] = count(); 49 @moddy[mod(0)] = count();
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_raidz_math_scalar.c | 103 iv_t mod; member 108 .mod = 0x1d1d1d1d1d1d1d1dULL, 112 .mod = 0x1d1d1d1dULL, 127 (a).e = (a).e ^ (_mask & scalar_mul2_consts.mod); \
|