/titanic_44/usr/src/cmd/cdrw/ |
H A D | bstream.c | 82 file_stream_size(bstreamhandle h, off_t *size) in file_stream_size() 99 audio_stream_size(bstreamhandle h, off_t *size) in audio_stream_size() 107 file_stream_read(bstreamhandle h, uchar_t *buf, off_t size) in file_stream_read() 114 file_stream_write(bstreamhandle h, uchar_t *buf, off_t size) in file_stream_write() 124 file_stream_read_wrbo(bstreamhandle h, uchar_t *buf, off_t size) in file_stream_read_wrbo() 147 file_stream_write_wrbo(bstreamhandle h, uchar_t *buf, off_t size) in file_stream_write_wrbo() 164 file_stream_close(bstreamhandle h) in file_stream_close() 175 stdin_stream_close(bstreamhandle h) in stdin_stream_close() 183 wav_write_stream_close(bstreamhandle h) in wav_write_stream_close() 207 au_write_stream_close(bstreamhandle h) in au_write_stream_close() [all …]
|
/titanic_44/usr/src/cmd/mandoc/ |
H A D | html.c | 120 struct html *h; in ml_alloc() local 177 struct html *h; in html_free() local 194 print_gen_head(struct html *h) in print_gen_head() 224 print_metaf(struct html *h, enum mandoc_esc deco) in print_metaf() 328 print_encode(struct html *h, const char *p, int norecurse) in print_encode() 434 print_attr(struct html *h, const char *key, const char *val) in print_attr() 443 print_otag(struct html *h, enum htmltag tag, in print_otag() 512 print_ctag(struct html *h, enum htmltag tag) in print_ctag() 523 print_gen_decls(struct html *h) in print_gen_decls() 548 print_text(struct html *h, const char *word) in print_text() [all …]
|
/titanic_44/usr/src/lib/libast/common/include/ |
H A D | hashpart.h | 34 #define HASH_ADD(h) (0x9c39c33dL) argument 38 #define HASH_A(h,n) ((((h) << 2) - (h)) << (n)) argument 39 #define HASH_B(h,n) ((((h) << 4) - (h)) << (n)) argument 40 #define HASH_C(h,n) ((HASH_A(h,7) + HASH_B(h,0)) << (n)) argument 41 #define HASH_MPY(h) (HASH_C(h,22)+HASH_C(h,10)+HASH_A(h,6)+HASH_A(h,3)+(h)) argument 45 #define HASH_MPY(h) ((h)*0x63c63cd9L) argument 49 #define HASHPART(h,c) (h = HASH_MPY(h) + HASH_ADD(h) + (c)) argument
|
H A D | fnv.h | 40 #define FNVINIT(h) (h = FNV_INIT) argument 41 #define FNVPART(h,c) (h = (h) * FNV_MULT ^ (c)) argument 42 #define FNVSUM(h,s,n) do { \ argument 62 #define FNVINIT64(h) (h = FNV_INIT64) argument 63 #define FNVPART64(h,c) (h = (h) * FNV_MULT64 ^ (c)) argument 64 #define FNVSUM64(h,s,n) do { \ argument
|
/titanic_44/usr/src/uts/common/io/sdcard/impl/ |
H A D | sda_host.c | 57 sda_host_t *h; in sda_host_alloc() local 84 sda_host_free(sda_host_t *h) in sda_host_free() 95 sda_host_set_private(sda_host_t *h, int num, void *private) in sda_host_set_private() 101 sda_host_attach(sda_host_t *h) in sda_host_attach() 120 sda_host_detach(sda_host_t *h) in sda_host_detach() 131 sda_host_suspend(sda_host_t *h) in sda_host_suspend() 139 sda_host_resume(sda_host_t *h) in sda_host_resume() 147 sda_host_transfer(sda_host_t *h, int num, sda_err_t errno) in sda_host_transfer() 153 sda_host_detect(sda_host_t *h, int num) in sda_host_detect() 159 sda_host_fault(sda_host_t *h, int num, sda_fault_t fail) in sda_host_fault() [all …]
|
/titanic_44/usr/src/lib/libast/amd64/include/ast/ |
H A D | hashpart.h | 43 #define HASH_ADD(h) (0x9c39c33dL) argument 47 #define HASH_A(h,n) ((((h) << 2) - (h)) << (n)) argument 48 #define HASH_B(h,n) ((((h) << 4) - (h)) << (n)) argument 49 #define HASH_C(h,n) ((HASH_A(h,7) + HASH_B(h,0)) << (n)) argument 50 #define HASH_MPY(h) (HASH_C(h,22)+HASH_C(h,10)+HASH_A(h,6)+HASH_A(h,3)+(h)) argument 54 #define HASH_MPY(h) ((h)*0x63c63cd9L) argument 58 #define HASHPART(h,c) (h = HASH_MPY(h) + HASH_ADD(h) + (c)) argument
|
H A D | fnv.h | 49 #define FNVINIT(h) (h = FNV_INIT) argument 50 #define FNVPART(h,c) (h = (h) * FNV_MULT ^ (c)) argument 51 #define FNVSUM(h,s,n) do { \ argument 71 #define FNVINIT64(h) (h = FNV_INIT64) argument 72 #define FNVPART64(h,c) (h = (h) * FNV_MULT64 ^ (c)) argument 73 #define FNVSUM64(h,s,n) do { \ argument
|
/titanic_44/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | hashpart.h | 43 #define HASH_ADD(h) (0x9c39c33dL) argument 47 #define HASH_A(h,n) ((((h) << 2) - (h)) << (n)) argument 48 #define HASH_B(h,n) ((((h) << 4) - (h)) << (n)) argument 49 #define HASH_C(h,n) ((HASH_A(h,7) + HASH_B(h,0)) << (n)) argument 50 #define HASH_MPY(h) (HASH_C(h,22)+HASH_C(h,10)+HASH_A(h,6)+HASH_A(h,3)+(h)) argument 54 #define HASH_MPY(h) ((h)*0x63c63cd9L) argument 58 #define HASHPART(h,c) (h = HASH_MPY(h) + HASH_ADD(h) + (c)) argument
|
H A D | fnv.h | 49 #define FNVINIT(h) (h = FNV_INIT) argument 50 #define FNVPART(h,c) (h = (h) * FNV_MULT ^ (c)) argument 51 #define FNVSUM(h,s,n) do { \ argument 71 #define FNVINIT64(h) (h = FNV_INIT64) argument 72 #define FNVPART64(h,c) (h = (h) * FNV_MULT64 ^ (c)) argument 73 #define FNVSUM64(h,s,n) do { \ argument
|
/titanic_44/usr/src/lib/libast/i386/include/ast/ |
H A D | hashpart.h | 43 #define HASH_ADD(h) (0x9c39c33dL) argument 47 #define HASH_A(h,n) ((((h) << 2) - (h)) << (n)) argument 48 #define HASH_B(h,n) ((((h) << 4) - (h)) << (n)) argument 49 #define HASH_C(h,n) ((HASH_A(h,7) + HASH_B(h,0)) << (n)) argument 50 #define HASH_MPY(h) (HASH_C(h,22)+HASH_C(h,10)+HASH_A(h,6)+HASH_A(h,3)+(h)) argument 54 #define HASH_MPY(h) ((h)*0x63c63cd9L) argument 58 #define HASHPART(h,c) (h = HASH_MPY(h) + HASH_ADD(h) + (c)) argument
|
H A D | fnv.h | 49 #define FNVINIT(h) (h = FNV_INIT) argument 50 #define FNVPART(h,c) (h = (h) * FNV_MULT ^ (c)) argument 51 #define FNVSUM(h,s,n) do { \ argument 71 #define FNVINIT64(h) (h = FNV_INIT64) argument 72 #define FNVPART64(h,c) (h = (h) * FNV_MULT64 ^ (c)) argument 73 #define FNVSUM64(h,s,n) do { \ argument
|
/titanic_44/usr/src/lib/libast/sparc/include/ast/ |
H A D | hashpart.h | 43 #define HASH_ADD(h) (0x9c39c33dL) argument 47 #define HASH_A(h,n) ((((h) << 2) - (h)) << (n)) argument 48 #define HASH_B(h,n) ((((h) << 4) - (h)) << (n)) argument 49 #define HASH_C(h,n) ((HASH_A(h,7) + HASH_B(h,0)) << (n)) argument 50 #define HASH_MPY(h) (HASH_C(h,22)+HASH_C(h,10)+HASH_A(h,6)+HASH_A(h,3)+(h)) argument 54 #define HASH_MPY(h) ((h)*0x63c63cd9L) argument 58 #define HASHPART(h,c) (h = HASH_MPY(h) + HASH_ADD(h) + (c)) argument
|
H A D | fnv.h | 49 #define FNVINIT(h) (h = FNV_INIT) argument 50 #define FNVPART(h,c) (h = (h) * FNV_MULT ^ (c)) argument 51 #define FNVSUM(h,s,n) do { \ argument 71 #define FNVINIT64(h) (h = FNV_INIT64) argument 72 #define FNVPART64(h,c) (h = (h) * FNV_MULT64 ^ (c)) argument 73 #define FNVSUM64(h,s,n) do { \ argument
|
/titanic_44/usr/src/cmd/fs.d/pcfs/fstyp/ |
H A D | fstyp.c | 109 #define PC_BPSEC(h) ltohs((h)->bs.bps[0]) argument 110 #define PC_RESSEC(h) ltohs((h)->bs.res_sec[0]) argument 111 #define PC_NROOTENT(h) ltohs((h)->bs.rdirents[0]) argument 112 #define PC_NSEC(h) ltohs((h)->bs.numsect[0]) argument 113 #define PC_DRVNUM(h) (FSTYP_IS_32(h) ? (h)->bs32.f_drvnum : \ argument 120 #define FSTYP_IS_32(h) ((h)->fattype == 32) argument 148 struct fstyp_pcfs *h; in fstyp_mod_init() local 163 struct fstyp_pcfs *h = (struct fstyp_pcfs *)handle; in fstyp_mod_fini() local 175 struct fstyp_pcfs *h = (struct fstyp_pcfs *)handle; in fstyp_mod_ident() local 183 struct fstyp_pcfs *h = (struct fstyp_pcfs *)handle; in fstyp_mod_get_attr() local [all …]
|
/titanic_44/usr/src/lib/libilb/common/ |
H A D | ilb_rules.c | 40 i_drop_hc(ilb_handle_t h, ilb_hc_info_t *hc, void *arg) in i_drop_hc() 47 i_drop_rule(ilb_handle_t h, ilb_rule_data_t *rd, void *arg) in i_drop_rule() 54 i_drop_sg_srvs(ilb_handle_t h, ilb_server_data_t *srv, const char *sgname, in i_drop_sg_srvs() 62 i_drop_sg(ilb_handle_t h, ilb_sg_data_t *sg, void *arg) in i_drop_sg() 74 ilb_reset_config(ilb_handle_t h) in ilb_reset_config() 95 ilb_create_rule(ilb_handle_t h, const ilb_rule_data_t *rd) in ilb_create_rule() 151 i_ilb_rule_action(ilb_handle_t h, const char *name, ilbd_cmd_t cmd) in i_ilb_rule_action() 183 ilb_destroy_rule(ilb_handle_t h, const char *name) in ilb_destroy_rule() 189 ilb_enable_rule(ilb_handle_t h, const char *name) in ilb_enable_rule() 195 ilb_disable_rule(ilb_handle_t h, const char *name) in ilb_disable_rule() [all …]
|
H A D | ilb_sg.c | 37 i_ilb_addrem_sg(ilb_handle_t h, const char *sgname, ilbd_cmd_t cmd) in i_ilb_addrem_sg() 66 ilb_destroy_servergroup(ilb_handle_t h, const char *sgname) in ilb_destroy_servergroup() 72 ilb_create_servergroup(ilb_handle_t h, const char *sgname) in ilb_create_servergroup() 78 i_ilb_addrem_server_to_group(ilb_handle_t h, const char *sgname, in i_ilb_addrem_server_to_group() 132 ilb_add_server_to_group(ilb_handle_t h, const char *sgname, in ilb_add_server_to_group() 140 ilb_rem_server_from_group(ilb_handle_t h, const char *sgname, in ilb_rem_server_from_group() 148 i_ilb_retrieve_sg_names(ilb_handle_t h, ilb_comm_t **rbuf, size_t *rbufsz) in i_ilb_retrieve_sg_names() 174 i_ilb_retrieve_sg_hosts(ilb_handle_t h, const char *sgname, ilb_comm_t **rbuf, in i_ilb_retrieve_sg_hosts() 220 i_ilb_walk_one_sg(ilb_handle_t h, void *f, const char *sgname, void *arg, in i_ilb_walk_one_sg() 274 i_walk_sgs(ilb_handle_t h, void *f, const char *sgname, in i_walk_sgs() [all …]
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | pci_cap.h | 74 #define PCI_CAP_LOCATE(h, id, base_p) ((id) & PCI_CAP_XCFG_FLAG ? \ argument 78 #define PCI_CAP_GET8(h, i, b, o) ((uint8_t) \ argument 80 #define PCI_CAP_GET16(h, i, b, o) ((uint16_t) \ argument 82 #define PCI_CAP_GET32(h, i, b, o) ((uint32_t) \ argument 85 #define PCI_CAP_PUT8(h, i, b, o, d) ((uint8_t) \ argument 87 #define PCI_CAP_PUT16(h, i, b, o, d) ((uint16_t) \ argument 89 #define PCI_CAP_PUT32(h, i, b, o, d) ((uint32_t) \ argument 92 #define PCI_XCAP_GET8(h, i, b, o) ((uint8_t) \ argument 94 #define PCI_XCAP_GET16(h, i, b, o) ((uint16_t) \ argument 96 #define PCI_XCAP_GET32(h, i, b, o) ((uint32_t) \ argument [all …]
|
/titanic_44/usr/src/lib/libfstyp/common/ |
H A D | libfstyp.c | 113 struct fstyp_handle *h; in fstyp_init() local 149 fstyp_fini(struct fstyp_handle *h) in fstyp_fini() 165 fstyp_ident(struct fstyp_handle *h, const char *fsname, const char **ident) in fstyp_ident() 178 fstyp_ident_all(struct fstyp_handle *h, const char **ident) in fstyp_ident_all() 208 fstyp_ident_one(struct fstyp_handle *h, const char *fsname, const char **ident) in fstyp_ident_one() 247 fstyp_get_attr(struct fstyp_handle *h, nvlist_t **attr) in fstyp_get_attr() 262 fstyp_dump(struct fstyp_handle *h, FILE *fout, FILE *ferr) in fstyp_dump() 279 fstyp_strerror(struct fstyp_handle *h, int error) in fstyp_strerror() 342 fstyp_find_module_by_name(struct fstyp_handle *h, const char *fsname) in fstyp_find_module_by_name() 359 fstyp_init_module(struct fstyp_handle *h, char *mdir, char *fsname, in fstyp_init_module() [all …]
|
/titanic_44/usr/src/cmd/svc/startd/ |
H A D | transition.c | 60 gt_enter_uninit(scf_handle_t *h, graph_vertex_t *v, in gt_enter_uninit() 105 gt_enter_maint(scf_handle_t *h, graph_vertex_t *v, in gt_enter_maint() 153 gt_enter_offline(scf_handle_t *h, graph_vertex_t *v, in gt_enter_offline() 221 gt_enter_disabled(scf_handle_t *h, graph_vertex_t *v, in gt_enter_disabled() 282 gt_internal_online_or_degraded(scf_handle_t *h, graph_vertex_t *v, in gt_internal_online_or_degraded() 352 gt_enter_online(scf_handle_t *h, graph_vertex_t *v, in gt_enter_online() 366 gt_enter_degraded(scf_handle_t *h, graph_vertex_t *v, in gt_enter_degraded() 389 gt_transition(scf_handle_t *h, graph_vertex_t *v, restarter_error_t rerr, in gt_transition()
|
H A D | libscf.c | 76 libscf_object_create(void *f(scf_handle_t *), scf_handle_t *h) in libscf_object_create() argument 109 scf_handle_t *h; in libscf_get_running_snapshot() local 135 scf_handle_t *h; in libscf_get_or_make_running_snapshot() local 190 libscf_snapshots_poststart(scf_handle_t *h, const char *fmri, boolean_t retake) in libscf_snapshots_poststart() 337 scf_handle_t *h; in libscf_snapshots_refresh() local 399 libscf_read_single_astring(scf_handle_t *h, scf_property_t *prop, char **ret) in libscf_read_single_astring() 428 scf_handle_t *h = scf_instance_handle(inst); in libscf_get_stn_tset() local 479 libscf_get_global_stn_tset(scf_handle_t *h) in libscf_get_global_stn_tset() 510 scf_handle_t *h; in libscf_read_state() local 590 depgroup_empty(scf_handle_t *h, scf_propertygroup_t *pg) in depgroup_empty() [all …]
|
/titanic_44/usr/src/cmd/fs.d/hsfs/fstyp/ |
H A D | fstyp.c | 60 #define GETCDSECTOR(h, buf, secno, nosec) (getdisk(h, buf, \ argument 87 fstyp_hsfs_t *h = (fstyp_hsfs_t *)handle; in fstyp_mod_init() local 105 fstyp_hsfs_t *h = (fstyp_hsfs_t *)handle; in fstyp_mod_fini() local 117 fstyp_hsfs_t *h = (fstyp_hsfs_t *)handle; in fstyp_mod_ident() local 125 fstyp_hsfs_t *h = (fstyp_hsfs_t *)handle; in fstyp_mod_get_attr() local 225 findhsvol(fstyp_hsfs_t *h, char *volp) in findhsvol() 263 findisovol(fstyp_hsfs_t *h, char *volp) in findisovol() 301 findunixvol(fstyp_hsfs_t *h, char *volp) in findunixvol() 333 ckvoldesc(fstyp_hsfs_t *h, int *cd_type) in ckvoldesc() 353 is_hsfs(fstyp_hsfs_t *h) in is_hsfs() [all …]
|
/titanic_44/usr/src/cmd/fs.d/udfs/fstyp/ |
H A D | fstyp.c | 70 fstyp_udfs_t *h = (fstyp_udfs_t *)handle; in fstyp_mod_init() local 93 fstyp_udfs_t *h = (fstyp_udfs_t *)handle; in fstyp_mod_fini() local 106 fstyp_udfs_t *h = (fstyp_udfs_t *)handle; in fstyp_mod_ident() local 114 fstyp_udfs_t *h = (fstyp_udfs_t *)handle; in fstyp_mod_get_attr() local 135 fstyp_udfs_t *h = (fstyp_udfs_t *)handle; in fstyp_mod_dump() local 156 is_udfs(fstyp_udfs_t *h) in is_udfs() 177 get_attr(fstyp_udfs_t *h) in get_attr() 225 print_vds(fstyp_udfs_t *h, struct vds *v, FILE *fout, FILE *ferr) in print_vds()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | pci_cap.c | 47 #define PCI_CAP_BASE(h, id, base_p) (*base_p ? DDI_SUCCESS : \ argument 54 pci_cap_probe(ddi_acc_handle_t h, uint16_t index, in pci_cap_probe() 125 pci_lcap_locate(ddi_acc_handle_t h, uint8_t id, uint16_t *base_p) in pci_lcap_locate() 168 pci_xcap_locate(ddi_acc_handle_t h, uint16_t id, uint16_t *base_p) in pci_xcap_locate() 206 pci_htcap_locate(ddi_acc_handle_t h, uint16_t reg_mask, uint16_t reg_val, in pci_htcap_locate() 252 pci_cap_get(ddi_acc_handle_t h, pci_cap_config_size_t size, in pci_cap_get() 293 pci_cap_put(ddi_acc_handle_t h, pci_cap_config_size_t size, in pci_cap_put() 329 pci_cap_read(ddi_acc_handle_t h, uint32_t id, uint16_t base, in pci_cap_read()
|
/titanic_44/usr/src/cmd/fs.d/ufs/fstyp/ |
H A D | fstyp.c | 107 struct fstyp_ufs *h; in fstyp_mod_init() local 125 struct fstyp_ufs *h = (struct fstyp_ufs *)handle; in fstyp_mod_fini() local 137 struct fstyp_ufs *h = (struct fstyp_ufs *)handle; in fstyp_mod_ident() local 145 struct fstyp_ufs *h = (struct fstyp_ufs *)handle; in fstyp_mod_get_attr() local 166 struct fstyp_ufs *h = (struct fstyp_ufs *)handle; in fstyp_mod_dump() local 172 is_ufs(fstyp_ufs_t *h) in is_ufs() 195 #define ADD_STRING(h, name, value) \ argument 200 #define ADD_INT32(h, name, value) \ argument 205 #define ADD_BOOL(h, name, value) \ argument 211 get_attr(fstyp_ufs_t *h) in get_attr() [all …]
|
/titanic_44/usr/src/lib/libslp/clib/ |
H A D | slp-internal.h | 292 #define slp_get_version(h) (h)[SLP_VER] argument 293 #define slp_set_version(h, v) (h)[SLP_VER] = (v); argument 294 #define slp_get_function(h) (h)[SLP_FUN] argument 295 #define slp_set_function(h, f) (h)[SLP_FUN] = (f) argument 296 #define slp_get_overflow(h) ((h)[SLP_FLAGS] & SLP_OVERFLOW) argument 297 #define slp_set_overflow(h) (h)[SLP_FLAGS] |= SLP_OVERFLOW argument 298 #define slp_set_fresh(h) (h)[SLP_FLAGS] |= SLP_FRESH argument 299 #define slp_set_mcast(h) (h)[SLP_FLAGS] |= SLP_MCAST argument 307 #define slp_get_length(h) slp_header_get_int24((h), SLP_LEN) argument 308 #define slp_set_length(h, x) slp_header_set_int24((h), (int)(x), SLP_LEN) argument [all …]
|