Home
last modified time | relevance | path

Searched defs:sp (Results 1 – 25 of 928) sorted by relevance

12345678910>>...38

/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/
H A Dstdio_c99.c31 clearerr_unlocked(Sfio_t* sp) in clearerr_unlocked()
37 feof_unlocked(Sfio_t* sp) in feof_unlocked()
43 ferror_unlocked(Sfio_t* sp) in ferror_unlocked()
49 fflush_unlocked(Sfio_t* sp) in fflush_unlocked()
55 fgetc_unlocked(Sfio_t* sp) in fgetc_unlocked()
61 fgets_unlocked(char* buf, int size, Sfio_t* sp) in fgets_unlocked()
67 fileno_unlocked(Sfio_t* sp) in fileno_unlocked()
73 fputc_unlocked(int c, Sfio_t* sp) in fputc_unlocked()
79 fputs_unlocked(char* buf, Sfio_t* sp) in fputs_unlocked()
97 getc_unlocked(Sfio_t* sp) in getc_unlocked()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge.c67 sfxge_cfg_build(sfxge_t *sp) in sfxge_cfg_build()
80 sfxge_t *sp; in sfxge_create() local
401 sfxge_stop_locked(sfxge_t *sp) in sfxge_stop_locked()
430 sfxge_stop(sfxge_t *sp) in sfxge_stop()
440 sfxge_t *sp = arg; in _sfxge_restart() local
541 sfxge_destroy(sfxge_t *sp) in sfxge_destroy()
739 sfxge_register(sfxge_t *sp) in sfxge_register()
759 sfxge_unregister(sfxge_t *sp) in sfxge_unregister()
958 sfxge_resume(sfxge_t *sp) in sfxge_resume()
977 sfxge_t *sp; in sfxge_attach() local
[all …]
H A Dsfxge_gld_v3.c117 sfxge_t *sp = arg; in sfxge_gld_getstat() local
340 sfxge_t *sp = arg; in sfxge_gld_start() local
357 sfxge_t *sp = arg; in sfxge_gld_stop() local
365 sfxge_t *sp = arg; in sfxge_gld_setpromisc() local
374 sfxge_t *sp = arg; in sfxge_gld_multicst() local
397 sfxge_t *sp = arg; in sfxge_gld_unicst() local
414 sfxge_t *sp = arg; in sfxge_gld_ioctl() local
423 sfxge_t *sp = arg; in sfxge_gld_tx() local
755 sfxge_t *sp = arg; in sfxge_gld_getprop() local
959 sfxge_t *sp = arg; in sfxge_gld_setprop() local
[all …]
H A Dsfxge_mac.c77 sfxge_t *sp = smp->sm_sp; in _sfxge_mac_stat_update() local
186 sfxge_mac_kstat_init(sfxge_t *sp) in sfxge_mac_kstat_init()
240 sfxge_mac_kstat_fini(sfxge_t *sp) in sfxge_mac_kstat_fini()
272 sfxge_t *sp = arg; in sfxge_mac_poll() local
320 sfxge_mac_poll_start(sfxge_t *sp) in sfxge_mac_poll_start()
332 sfxge_mac_poll_stop(sfxge_t *sp) in sfxge_mac_poll_stop()
351 sfxge_mac_init(sfxge_t *sp) in sfxge_mac_init()
475 sfxge_mac_filter_apply(sfxge_t *sp) in sfxge_mac_filter_apply()
514 sfxge_mac_start(sfxge_t *sp, boolean_t restart) in sfxge_mac_start()
982 sfxge_mac_stop(sfxge_t *sp) in sfxge_mac_stop()
[all …]
H A Dsfxge_ev.c136 sfxge_t *sp = arg; in sfxge_ev_q0ctor() local
144 sfxge_t *sp = arg; in sfxge_ev_qXctor() local
171 sfxge_t *sp = arg; in sfxge_ev_q0dtor() local
179 sfxge_t *sp = arg; in sfxge_ev_qXdtor() local
206 sfxge_t *sp = sep->se_sp; in sfxge_ev_qcomplete() local
241 sfxge_t *sp = sep->se_sp; in sfxge_ev_rx() local
328 sfxge_t *sp = sep->se_sp; in sfxge_ev_exception() local
352 sfxge_t *sp = sep->se_sp; in sfxge_ev_rxq_flush_done() local
392 sfxge_t *sp = sep->se_sp; in sfxge_ev_rxq_flush_failed() local
476 sfxge_t *sp = sep->se_sp; in sfxge_ev_txq_flush_done() local
[all …]
H A Dsfxge_sram.c38 sfxge_sram_init(sfxge_t *sp) in sfxge_sram_init()
56 sfxge_sram_buf_tbl_alloc(sfxge_t *sp, size_t n, uint32_t *idp) in sfxge_sram_buf_tbl_alloc()
84 sfxge_sram_start(sfxge_t *sp) in sfxge_sram_start()
101 sfxge_sram_buf_tbl_set(sfxge_t *sp, uint32_t id, efsys_mem_t *esmp, in sfxge_sram_buf_tbl_set()
129 sfxge_sram_buf_tbl_clear(sfxge_t *sp, uint32_t id, size_t n) in sfxge_sram_buf_tbl_clear()
146 sfxge_sram_stop(sfxge_t *sp) in sfxge_sram_stop()
161 sfxge_sram_buf_tbl_free(sfxge_t *sp, uint32_t id, size_t n) in sfxge_sram_buf_tbl_free()
175 sfxge_sram_fini(sfxge_t *sp) in sfxge_sram_fini()
H A Dsfxge_rx.c119 sfxge_t *sp = arg; in sfxge_rx_packet_ctor() local
166 sfxge_t *sp = arg; in sfxge_rx_qctor() local
301 sfxge_t *sp = srp->sr_sp; in sfxge_rx_qdtor() local
381 sfxge_t *sp = srp->sr_sp; in sfxge_rx_qfpp_swizzle() local
453 sfxge_t *sp = srp->sr_sp; in sfxge_rx_qfpp_empty() local
517 sfxge_t *sp = srp->sr_sp; in sfxge_rx_qpacket_destroy() local
598 sfxge_t *sp = srp->sr_sp; in sfxge_rx_qpacket_create() local
756 sfxge_t *sp = srp->sr_sp; in sfxge_rx_qrefill() local
880 sfxge_t *sp = srp->sr_sp; in sfxge_rx_qfill() local
954 sfxge_t *sp = srp->sr_sp; in sfxge_rx_qfpp_trim() local
[all …]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_client.c103 auclnt_get_rate(audio_stream_t *sp) in auclnt_get_rate()
142 auclnt_get_head(audio_stream_t *sp) in auclnt_get_head()
148 auclnt_get_tail(audio_stream_t *sp) in auclnt_get_tail()
154 auclnt_get_hidx(audio_stream_t *sp) in auclnt_get_hidx()
490 audio_stream_t *sp; in auclnt_chpoll() local
801 auclnt_start(audio_stream_t *sp) in auclnt_start()
809 auclnt_stop(audio_stream_t *sp) in auclnt_stop()
868 auclnt_flush(audio_stream_t *sp) in auclnt_flush()
990 audio_stream_t *sp; in auclnt_start_drain() local
1010 audio_stream_t *sp; in auclnt_drain() local
[all …]
H A Daudio_format.c88 cnv_srconly(audio_stream_t *sp, int len) in cnv_srconly()
105 cnv_s24oe(audio_stream_t *sp, int len) in cnv_s24oe()
122 cnv_from_s8(audio_stream_t *sp, int len) in cnv_from_s8()
138 cnv_from_u8(audio_stream_t *sp, int len) in cnv_from_u8()
302 cnv_to_u8(audio_stream_t *sp, int len) in cnv_to_u8()
314 cnv_to_s8(audio_stream_t *sp, int len) in cnv_to_s8()
326 cnv_to_ulaw(audio_stream_t *sp, int len) in cnv_to_ulaw()
343 cnv_to_alaw(audio_stream_t *sp, int len) in cnv_to_alaw()
408 cnv_to_s24p(audio_stream_t *sp, int len) in cnv_to_s24p()
448 cnv_default(audio_stream_t *sp, int len) in cnv_default()
[all …]
/illumos-gate/usr/src/lib/libproc/common/
H A DPisadep.h63 #define PSTACK_ALIGN32(sp) ((sp) & ~(2 * sizeof (int64_t) - 1)) argument
64 #define PSTACK_ALIGN64(sp) (sp) argument
67 #define PSTACK_ALIGN32(sp) (sp) argument
68 #define PSTACK_ALIGN64(sp) ALIGN32(sp) argument
71 #define PSTACK_ALIGN32(sp) ((sp) & ~(2 * sizeof (int32_t) - 1)) argument
72 #define PSTACK_ALIGN64(sp) ((sp) & ~(2 * sizeof (int64_t) - 1)) argument
/illumos-gate/usr/src/uts/common/os/
H A Dsession.c75 sess_rele(sess_t *sp, boolean_t pidlock_held) in sess_rele()
131 sess_t *sp; in tty_hold() local
187 tty_rele(sess_t *sp) in tty_rele()
204 sess_t *sp, *old_sp; in sess_create() local
249 sess_ctty_clear(sess_t *sp, stdata_t *stp) in sess_ctty_clear()
272 sess_ctty_set(proc_t *p, sess_t *sp, stdata_t *stp) in sess_ctty_set()
301 sess_t *sp; in strctty() local
386 sess_t *sp; in freectty_lock() local
489 freectty_signal(proc_t *p, sess_t *sp, stdata_t *stp, boolean_t at_exit) in freectty_signal()
539 sess_t *sp; in freectty() local
[all …]
H A Dsemaphore.c102 sema_init(ksema_t *sp, unsigned count, char *name, ksema_type_t type, void *arg) in sema_init()
109 sema_destroy(ksema_t *sp) in sema_destroy()
118 sema_queue(ksema_t *sp, kthread_t *t) in sema_queue()
143 sema_dequeue(ksema_t *sp, kthread_t *t) in sema_dequeue()
164 sema_owner(ksema_t *sp) in sema_owner()
211 ksema_t *sp; in sema_change_pri() local
227 sema_p(ksema_t *sp) in sema_p()
256 sema_p_sig(ksema_t *sp) in sema_p_sig()
332 sema_v(ksema_t *sp) in sema_v()
371 sema_tryp(ksema_t *sp) in sema_tryp()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c264 scsa1394_state_t *sp; in scsa1394_attach() local
341 scsa1394_state_t *sp; in scsa1394_detach() local
377 scsa1394_state_t *sp; in scsa1394_cpr_suspend() local
420 scsa1394_state_t *sp; in scsa1394_cpr_resume() local
882 scsa1394_state_t *sp = arg; in scsa1394_bus_reset() local
904 scsa1394_state_t *sp = arg; in scsa1394_disconnect() local
935 scsa1394_state_t *sp = arg; in scsa1394_reconnect() local
1141 scsa1394_state_t *sp = ADDR2STATE(ap); in scsa1394_scsi_reset() local
1166 scsa1394_state_t *sp = ADDR2STATE(ap); in scsa1394_scsi_getcap() local
2066 scsa1394_state_t *sp = lp->l_sp; in scsa1394_cmd_fill_cdb_rbc() local
[all …]
H A Dsbp2_bus.c139 scsa1394_state_t *sp = hdl; in scsa1394_bus_get_iblock_cookie() local
147 scsa1394_state_t *sp = hdl; in scsa1394_bus_get_node_id() local
157 scsa1394_state_t *sp = hdl; in scsa1394_bus_alloc_cmd() local
175 scsa1394_state_t *sp = hdl; in scsa1394_bus_free_cmd() local
186 scsa1394_state_t *sp = hdl; in scsa1394_bus_rq() local
213 scsa1394_state_t *sp = hdl; in scsa1394_bus_rb() local
244 scsa1394_state_t *sp = hdl; in scsa1394_bus_wq() local
267 scsa1394_state_t *sp = hdl; in scsa1394_bus_wb() local
317 scsa1394_state_t *sp = hdl; in scsa1394_bus_alloc_buf_phys() local
388 scsa1394_state_t *sp = hdl; in scsa1394_bus_free_buf_phys() local
[all …]
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c119 struct snode *sp; in specvp() local
226 struct snode *sp; in makespecvp() local
452 struct snode *sp; in devi_stillreferenced() local
520 struct snode *sp; in common_specvp() local
543 struct snode *sp; in get_cvp() local
891 struct snode *sp; in makectty() local
909 struct snode *sp; in spec_snode_walk() local
928 struct snode *sp; in spec_is_clone() local
941 struct snode *sp; in spec_is_selfclone() local
958 struct snode *sp; in spec_fence_snode() local
[all …]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dsnapshot.c55 rc_snapshot_t *sp; in snapshot_alloc() local
66 snapshot_free(rc_snapshot_t *sp) in snapshot_free()
92 rc_snapshot_hold(rc_snapshot_t *sp) in rc_snapshot_hold()
101 rc_snapshot_rele(rc_snapshot_t *sp) in rc_snapshot_rele()
118 rc_snapshot_t *sp = lvl->rsl_parent; in rc_snaplevel_hold() local
129 rc_snapshot_t *sp = lvl->rsl_parent; in rc_snaplevel_rele() local
159 rc_snapshot_t *sp; in snapshot_lookup_unlocked() local
174 snapshot_insert_unlocked(snapshot_bucket_t *bp, rc_snapshot_t *sp) in snapshot_insert_unlocked()
186 snapshot_remove_unlocked(snapshot_bucket_t *bp, rc_snapshot_t *sp) in snapshot_remove_unlocked()
215 rc_snapshot_t *sp; in rc_snapshot_get() local
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_ep.c311 rds_session_t *sp; in rds_session_lkup() local
449 rds_session_fini(rds_session_t *sp) in rds_session_fini()
464 rds_session_init(rds_session_t *sp) in rds_session_init()
602 rds_session_connect(rds_session_t *sp) in rds_session_connect()
758 rds_destroy_session(rds_session_t *sp) in rds_destroy_session()
989 rds_session_t *sp = arg; in rds_cleanup_passive_session() local
1109 rds_session_t *sp, *spnextp; in rds_close_sessions() local
1153 rds_session_open(rds_session_t *sp) in rds_session_open()
1526 rds_session_t *sp; in rds_resume_port() local
1899 rds_session_active(rds_session_t *sp) in rds_session_active()
[all …]
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_snap.c94 free_all_snap_pages(ses_snap_t *sp) in free_all_snap_pages()
320 pages_skel_create(ses_snap_t *sp) in pages_skel_create()
394 ses_snap_free(ses_snap_t *sp) in ses_snap_free()
403 ses_snap_rele_unlocked(ses_snap_t *sp) in ses_snap_rele_unlocked()
424 ses_snap_t *sp; in ses_snap_hold() local
435 ses_snap_rele(ses_snap_t *sp) in ses_snap_rele()
447 ses_snap_t *sp; in ses_snap_new() local
611 ses_snap_do_ctl(ses_snap_t *sp) in ses_snap_do_ctl()
647 ses_snap_generation(ses_snap_t *sp) in ses_snap_generation()
673 ses_walk(ses_snap_t *sp, ses_walk_f func, void *arg) in ses_walk()
[all …]
H A Dses_plugin.c36 ses_plugin_ctlpage_lookup(ses_plugin_t *sp, ses_snap_t *snap, int pagenum, in ses_plugin_ctlpage_lookup()
61 ses_plugin_t *sp; in ses_fill_node() local
78 ses_plugin_t *sp; in ses_node_ctl() local
128 ses_plugin_page_lookup(ses_plugin_t *sp, ses_snap_t *snap, int pagenum, in ses_plugin_page_lookup()
153 ses_plugin_t *sp; in ses_get_pagedesc() local
176 ses_plugin_register(ses_plugin_t *sp, int version, ses_plugin_config_t *scp) in ses_plugin_register()
189 ses_plugin_setspecific(ses_plugin_t *sp, void *data) in ses_plugin_setspecific()
195 ses_plugin_getspecific(ses_plugin_t *sp) in ses_plugin_getspecific()
211 ses_plugin_destroy(ses_plugin_t *sp) in ses_plugin_destroy()
225 ses_plugin_t *sp, **loc; in ses_plugin_loadone() local
[all …]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockparams.c113 struct sockparams *sp = ksp->ks_private; in sockparams_kstat_update() local
190 struct sockparams *sp = NULL; in sockparams_create() local
309 sockparams_destroy(struct sockparams *sp) in sockparams_destroy()
364 struct sockparams *sp; in sockparams_find() local
404 struct sockparams *sp = NULL; in sockparams_hold_ephemeral() local
557 sockparams_add(struct sockparams *sp) in sockparams_add()
609 struct sockparams *sp; in sockparams_delete() local
665 struct sockparams *sp = NULL; in solookup() local
768 struct sockparams *sp; in sockparams_filter_cleanup_impl() local
802 struct sockparams *sp; in sockparams_new_filter_impl() local
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dstats.c107 stats_delete(struct stats *sp) in stats_delete()
126 stats_counter_bump(struct stats *sp) in stats_counter_bump()
137 stats_counter_add(struct stats *sp, int n) in stats_counter_add()
148 stats_counter_reset(struct stats *sp) in stats_counter_reset()
159 stats_counter_value(struct stats *sp) in stats_counter_value()
179 stats_elapse_start(struct stats *sp) in stats_elapse_start()
190 stats_elapse_stop(struct stats *sp) in stats_elapse_stop()
214 stats_string_set(struct stats *sp, const char *s) in stats_string_set()
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dtypesign.c1 static unsigned int * s_to_u_return(signed int *sp) in s_to_u_return()
11 static unsigned int * s_to_u_init(signed int *sp) in s_to_u_init()
19 signed int *sp = up; in u_to_s_init() local
23 static unsigned int * s_to_u_assign(signed int *sp) in s_to_u_assign()
32 signed int *sp; in u_to_s_assign() local
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelEmulate.h41 #define SLOT_THRESHOLD(sp) (slot_table[sp->ses_slotid]->sl_threshold) argument
42 #define SLOT_HASH_MAX_INDATA_LEN(sp) \ argument
44 #define SLOT_HMAC_MAX_INDATA_LEN(sp) \ argument
46 #define SLOT_HAS_LIMITED_HASH(sp) (slot_table[sp->ses_slotid]->sl_flags & \ argument
48 #define SLOT_HAS_LIMITED_HMAC(sp) (slot_table[sp->ses_slotid]->sl_flags & \ argument
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_strtab.c39 dt_strtab_grow(dt_strtab_t *sp) in dt_strtab_grow()
64 dt_strtab_t *sp = malloc(sizeof (dt_strtab_t)); in dt_strtab_create() local
99 dt_strtab_destroy(dt_strtab_t *sp) in dt_strtab_destroy()
145 dt_strtab_compare(dt_strtab_t *sp, dt_strhash_t *hp, in dt_strtab_compare()
172 dt_strtab_copyin(dt_strtab_t *sp, const char *str, size_t len) in dt_strtab_copyin()
207 dt_strtab_index(dt_strtab_t *sp, const char *str) in dt_strtab_index()
227 dt_strtab_insert(dt_strtab_t *sp, const char *str) in dt_strtab_insert()
267 dt_strtab_size(const dt_strtab_t *sp) in dt_strtab_size()
273 dt_strtab_write(const dt_strtab_t *sp, dt_strtab_write_f *func, void *private) in dt_strtab_write()
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dcpu_acpi.h42 #define CPU_ACPI_PPC(sp) sp->cs_ppc argument
43 #define CPU_ACPI_PSD(sp) sp->cs_psd argument
44 #define CPU_ACPI_PCT(sp) sp->cs_pct argument
45 #define CPU_ACPI_PCT_CTRL(sp) &sp->cs_pct[0] argument
46 #define CPU_ACPI_PCT_STATUS(sp) &sp->cs_pct[1] argument
57 #define CPU_ACPI_TPC(sp) sp->cs_tpc argument
58 #define CPU_ACPI_TSD(sp) sp->cs_tsd argument
59 #define CPU_ACPI_PTC(sp) sp->cs_ptc argument
60 #define CPU_ACPI_PTC_CTRL(sp) &sp->cs_ptc[0] argument
61 #define CPU_ACPI_PTC_STATUS(sp) &sp->cs_ptc[1] argument
[all …]

12345678910>>...38