/illumos-gate/usr/src/lib/passwdutil/ |
H A D | __failed_count.c | 37 repops_t *ops; local 45 ops = rops[repnum]; 46 if ((ops->lock != NULL) && 47 (ret = ops->lock()) != PWU_SUCCESS) { 53 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) { 58 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) { 69 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) 72 if (((ret = ops->putpwnam(username, NULL, NULL, buf)) == 78 if (ops->unlock != NULL) { 79 ops 96 repops_t *ops; local [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | plugin.c | 135 "Error in plugin ops for protocol %s: %s\n"), 244 * ops vector. NULL if protocol is not defined. 251 struct sa_plugin_ops *ops = NULL; local 258 ops = sa_proto_handle.sa_ops[i]; 264 return (ops); 276 struct sa_plugin_ops *ops = find_protocol(proto); local 279 if (ops != NULL && ops->sa_share != NULL) 280 ret = ops->sa_share(share); 293 struct sa_plugin_ops *ops local 313 struct sa_plugin_ops *ops = find_protocol(proto); local 335 struct sa_plugin_ops *ops = find_protocol(proto); local 357 struct sa_plugin_ops *ops = find_protocol(proto); local 374 struct sa_plugin_ops *ops = find_protocol(proto); local 391 struct sa_plugin_ops *ops = find_protocol(proto); local 409 struct sa_plugin_ops *ops = find_protocol(proto); local 427 struct sa_plugin_ops *ops = find_protocol(proto); local 445 struct sa_plugin_ops *ops = find_protocol(proto); local 474 struct sa_plugin_ops *ops = find_protocol(proto); local 491 struct sa_plugin_ops *ops = find_protocol(proto); local 509 struct sa_plugin_ops *ops = find_protocol(proto); local 520 struct sa_plugin_ops *ops = find_protocol(proto); local 537 struct sa_plugin_ops *ops = find_protocol(proto); local 556 struct sa_plugin_ops *ops = find_protocol(proto); local 581 struct sa_plugin_ops *ops = find_protocol(proto); local 605 struct sa_plugin_ops *ops = find_protocol(proto); local 627 struct sa_plugin_ops *ops = find_protocol(proto); local 651 struct sa_plugin_ops *ops = find_protocol(proto); local 678 struct sa_plugin_ops *ops = find_protocol(proto); local 700 struct sa_plugin_ops *ops = find_protocol(proto); local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | ktadd.c | 35 if (id->ops->add) 36 return (*id->ops->add)(context, id, entry);
|
H A D | ktremove.c | 35 if (id->ops->remove) 36 return (*id->ops->remove)(context, id, entry);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | tnf_writer.h | 128 #define tnf_char(ops, item, ref) (item) 131 #define tnf_int8(ops, item, ref) (item) 134 #define tnf_uint8(ops, item, ref) (item) 137 #define tnf_int16(ops, item, ref) (item) 140 #define tnf_uint16(ops, item, ref) (item) 143 #define tnf_int32(ops, item, ref) (item) 146 #define tnf_uint32(ops, item, ref) (item) 149 #define tnf_int64(ops, item, ref) (item) 152 #define tnf_uint64(ops, item, ref) (item) 155 #define tnf_float32(ops, ite [all...] |
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | bootvfs.h | 82 #define BRD_MOUNTROOT(ops, str) ((ops)->fsw_mountroot)(str) 83 #define BRD_UNMOUNTROOT(ops) ((ops)->fsw_unmountroot)() 84 #define BRD_OPEN(ops, file, flag) ((ops)->fsw_open)(file, flag) 85 #define BRD_CLOSE(ops, fd) ((ops)->fsw_close)(fd) 86 #define BRD_READ(ops, fd, buf, s) ((ops) [all...] |
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | bootrd.c | 39 extern struct bootops *ops; 52 BRD_MOUNTROOT(struct boot_fs_ops *ops, char *str) argument 54 return (ops->fsw_mountroot(str)); 58 BRD_UNMOUNTROOT(struct boot_fs_ops *ops) argument 63 return (ops->fsw_unmountroot()); 67 BRD_OPEN(struct boot_fs_ops *ops, char *file, int flags) argument 86 return (ops->fsw_open(file, flags)); 90 BRD_CLOSE(struct boot_fs_ops *ops, int fd) argument 95 return (ops->fsw_close(fd)); 99 BRD_READ(struct boot_fs_ops *ops, in argument 110 BRD_SEEK(struct boot_fs_ops *ops, int fd, off_t addr, int whence) argument 121 BRD_FSTAT(struct boot_fs_ops *ops, int fd, struct bootstat *bsp) argument [all...] |
H A D | kobj_bootflags.c | 45 bootflags(struct bootops *ops) argument 53 if (BOP_GETPROP(ops, "bootargs", kern_bootargs) == -1) { 58 (void) BOP_GETPROP(ops, "boot-file", kern_bootfile); 125 _kobj_printf(ops, "krtld: initname too long. " 139 _kobj_printf(ops, 163 _kobj_printf(ops, "krtld: too many kmdb " 177 _kobj_printf(ops, "unix: init options too " 186 _kobj_printf(ops, "unix: init options too " 195 _kobj_printf(ops, "unix: init options too " 217 _kobj_printf(ops, "krtl [all...] |
/illumos-gate/usr/src/uts/common/tnf/ |
H A D | trace_init.c | 86 tnf_ops_t *ops; local 110 if ((ops = (tnf_ops_t *)curthread->t_tnf_tpdp) != NULL) { 114 ASSERT(!LOCK_HELD(&ops->busy)); 115 LOCK_INIT_HELD(&ops->busy); /* XXX save a call */ 118 (void) tag->tag_desc(ops, tag); 120 (void) tag->tag_desc(ops, tag); 122 (void) tag->tag_desc(ops, tag); 124 pos = &ops->wcb.tnfw_w_tag_pos; 126 pos = &ops->wcb.tnfw_w_pos; 129 LOCK_INIT_CLEAR(&ops [all...] |
H A D | tnf_types.h | 75 #define BUF_ALLOC(ops) tnfw_b_alloc 80 #define BUF_ALLOC(ops) ops->alloc 85 buf->slot = tnf_##slot(ops, val, (tnf_record_p) &buf->slot) 88 buf->slot = tnf_##func(ops, val, (tnf_record_p)&buf->slot) 90 #define ALLOC(ops, size, mem, index_p, saved_mode) \ 91 mem = BUF_ALLOC(ops)(&(ops->wcb), size, ops->mode); \ 93 ops [all...] |
H A D | trace_funcs.c | 94 tnf_trace_alloc(tnf_ops_t *ops, tnf_probe_control_t *probe_p, argument 115 if (!lock_try(&ops->busy)) /* atomic op flushes WB */ 125 if ((probe_index = tnf_probe_tag(ops, probe_p)) == 0) 146 wcb = &ops->wcb; 178 sched = &ops->schedule; 228 set_p->tpd_p = ops; 234 buffer->time_delta = tnf_time_delta(ops, (unsigned long)time_diff, 237 buffer->time_delta = tnf_time_delta(ops, (unsigned long)time_diff, 249 if ((sched_record_p = tnf_kernel_schedule(ops, sched)) != NULL) { 276 LOCK_INIT_CLEAR(&ops 286 tnf_ops_t *ops; local 311 tnf_ops_t *ops; local 339 tnf_allocate(tnf_ops_t *ops, size_t size) argument [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_api.c | 48 if (hw->mac.ops.init_params) { 49 ret_val = hw->mac.ops.init_params(hw); 74 if (hw->nvm.ops.init_params) { 75 ret_val = hw->nvm.ops.init_params(hw); 100 if (hw->phy.ops.init_params) { 101 ret_val = hw->phy.ops.init_params(hw); 126 if (hw->mbx.ops.init_params) { 127 ret_val = hw->mbx.ops.init_params(hw); 525 if (hw->mac.ops.get_bus_info) 526 return hw->mac.ops [all...] |
H A D | e1000_82541.c | 98 phy->ops.check_polarity = e1000_check_polarity_igp; 99 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_igp; 100 phy->ops.get_cable_length = e1000_get_cable_length_igp_82541; 101 phy->ops.get_cfg_done = e1000_get_cfg_done_generic; 102 phy->ops.get_info = e1000_get_phy_info_igp; 103 phy->ops.read_reg = e1000_read_phy_reg_igp; 104 phy->ops.reset = e1000_phy_hw_reset_82541; 105 phy->ops.set_d3_lplu_state = e1000_set_d3_lplu_state_82541; 106 phy->ops.write_reg = e1000_write_phy_reg_igp; 107 phy->ops [all...] |
H A D | e1000_82540.c | 77 phy->ops.check_polarity = e1000_check_polarity_m88; 78 phy->ops.commit = e1000_phy_sw_reset_generic; 79 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_m88; 80 phy->ops.get_cable_length = e1000_get_cable_length_m88; 81 phy->ops.get_cfg_done = e1000_get_cfg_done_generic; 82 phy->ops.read_reg = e1000_read_phy_reg_m88; 83 phy->ops.reset = e1000_phy_hw_reset_generic; 84 phy->ops.write_reg = e1000_write_phy_reg_m88; 85 phy->ops.get_info = e1000_get_phy_info_m88; 86 phy->ops [all...] |
H A D | e1000_phy.c | 76 phy->ops.init_params = e1000_null_ops_generic; 77 phy->ops.acquire = e1000_null_ops_generic; 78 phy->ops.check_polarity = e1000_null_ops_generic; 79 phy->ops.check_reset_block = e1000_null_ops_generic; 80 phy->ops.commit = e1000_null_ops_generic; 81 phy->ops.force_speed_duplex = e1000_null_ops_generic; 82 phy->ops.get_cfg_done = e1000_null_ops_generic; 83 phy->ops.get_cable_length = e1000_null_ops_generic; 84 phy->ops.get_info = e1000_null_ops_generic; 85 phy->ops [all...] |
/illumos-gate/usr/src/lib/libtnfprobe/ |
H A D | probe_cntl.c | 226 tnf_ops_t *ops; local 236 ops = tnf_get_ops(); 237 if (!ops) 240 ops->schedule.record_p = 0; 401 tnf_ops_t *ops; local 409 ops = tnf_get_ops(); 410 if (ops) { 416 if (ops->schedule.lwpid != _lwp_self()) 417 ops->schedule.record_p = 0; 542 tnf_ops_t ops; /* allocate local 617 tnf_ops_t *ops; local 655 tnf_ops_t *ops; local 680 tnf_ops_t *ops; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rcfns.c | 39 return krb5_x(id->ops->init,(context, id, span)); 46 return krb5_x(id->ops->recover_or_init,(context, id, span)); 52 return krb5_x((id)->ops->recover,(context, id)); 58 return krb5_x((id)->ops->destroy,(context, id)); 64 return krb5_x((id)->ops->close,(context, id)); 71 return krb5_x((id)->ops->store,(context, id, dontreplay)); 77 return krb5_x((id)->ops->expunge,(context, id)); 84 return krb5_x((id)->ops->get_span,(context, id, spanp)); 90 return krb5_xc((id)->ops->get_name,(context, id)); 96 return krb5_x((id)->ops [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_api.c | 65 if (hw->mac.ops.get_rtrup2tc) 66 hw->mac.ops.get_rtrup2tc(hw, map); 236 return ixgbe_call_func(hw, hw->mac.ops.init_hw, (hw), 249 return ixgbe_call_func(hw, hw->mac.ops.reset_hw, (hw), 265 return ixgbe_call_func(hw, hw->mac.ops.start_hw, (hw), 279 if (hw->mac.ops.enable_relaxed_ordering) 280 hw->mac.ops.enable_relaxed_ordering(hw); 292 return ixgbe_call_func(hw, hw->mac.ops.clear_hw_cntrs, (hw), 304 return ixgbe_call_func(hw, hw->mac.ops.get_media_type, (hw), 320 return ixgbe_call_func(hw, hw->mac.ops [all...] |
H A D | ixgbe_x540.c | 73 eeprom->ops.init_params = ixgbe_init_eeprom_params_X540; 74 eeprom->ops.read = ixgbe_read_eerd_X540; 75 eeprom->ops.read_buffer = ixgbe_read_eerd_buffer_X540; 76 eeprom->ops.write = ixgbe_write_eewr_X540; 77 eeprom->ops.write_buffer = ixgbe_write_eewr_buffer_X540; 78 eeprom->ops.update_checksum = ixgbe_update_eeprom_checksum_X540; 79 eeprom->ops.validate_checksum = ixgbe_validate_eeprom_checksum_X540; 80 eeprom->ops.calc_checksum = ixgbe_calc_eeprom_checksum_X540; 83 phy->ops.init = ixgbe_init_phy_ops_generic; 84 phy->ops [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr_sizeof.c | 128 struct xdr_ops ops; local 135 ops.x_putlong = x_putlong; 136 ops.x_getlong = (dummyfunc1) harmless; 137 ops.x_putbytes = x_putbytes; 138 ops.x_inline = x_inline; 139 ops.x_getpostn = x_getpostn; 140 ops.x_setpostn = x_setpostn; 141 ops.x_destroy = x_destroy; 143 ops.x_getint32 = (dummyfunc3) harmless; 144 ops [all...] |
H A D | xdr_stdio.c | 194 static struct xdr_ops ops; local 197 /* VARIABLES PROTECTED BY ops_lock: ops */ 200 if (ops.x_getlong == NULL) { 201 ops.x_getlong = xdrstdio_getlong; 202 ops.x_putlong = xdrstdio_putlong; 203 ops.x_getbytes = xdrstdio_getbytes; 204 ops.x_putbytes = xdrstdio_putbytes; 205 ops.x_getpostn = xdrstdio_getpos; 206 ops.x_setpostn = xdrstdio_setpos; 207 ops [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | ccfns.c | 36 return cache->ops->get_name(context, cache); 42 return (*cache)->ops->gen_new(context, cache); 49 return cache->ops->init(context, cache, principal); 55 return cache->ops->destroy(context, cache); 61 return cache->ops->close(context, cache); 72 ret = cache->ops->store(context, cache, creds); 86 ret = cache->ops->store(context, cache, creds); 101 ret = cache->ops->retrieve(context, cache, flags, mcreds, creds); 112 ret = cache->ops->retrieve(context, cache, flags, mcreds, creds); 121 return cache->ops [all...] |
H A D | ccbase.c | 43 const krb5_cc_ops *ops; member in struct:krb5_cc_typelist 138 krb5_cc_register(krb5_context context, krb5_cc_ops *ops, krb5_boolean override) argument 146 for (t = cc_typehead;t && strcmp(t->ops->prefix,ops->prefix);t = t->next) 150 t->ops = ops; 163 t->ops = ops; 187 const krb5_cc_ops *ops; local 224 err = krb5int_cc_getops(context, pfx, &ops); 240 krb5int_cc_getops( krb5_context context, const char *pfx, const krb5_cc_ops **ops) argument 280 const krb5_cc_ops *ops; local 326 krb5int_cc_typecursor_next( krb5_context context, krb5_cc_typecursor t, const krb5_cc_ops **ops) argument [all...] |
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdr_sizeof.c | 113 struct xdr_ops ops; local 121 ops.x_putbytes = x_putbytes; 122 ops.x_inline = x_inline; 123 ops.x_getpostn = x_getpostn; 124 ops.x_setpostn = x_setpostn; 125 ops.x_destroy = x_destroy; 128 ops.x_getint32 = (dummyfunc3)harmless; 129 ops.x_putint32 = x_putint32_t; 133 ops.x_getbytes = (dummyfunc2)harmless; 134 ops [all...] |
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | auth_none.c | 121 static struct auth_ops ops; local 123 if (ops.ah_nextverf == NULL) { 124 ops.ah_nextverf = authnone_verf; 125 ops.ah_marshal = authnone_marshal; 126 ops.ah_validate = authnone_validate; 127 ops.ah_refresh = authnone_refresh; 128 ops.ah_destroy = authnone_destroy; 130 return (&ops);
|