Home
last modified time | relevance | path

Searched refs:fg (Results 1 – 25 of 50) sorted by relevance

12

/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_fb.c376 *fg = fb_info.bg_color; in boot_get_color()
385 *fg = fb_info.fg_color; in boot_get_color()
471 uint32_t fg, bg, toffset; in boot_fb_init() local
524 uint32_t fg, bg; in bit_to_pix() local
526 boot_get_color(&fg, &bg); in bit_to_pix()
527 fg = boot_color_map(fg); in bit_to_pix()
552 uint32_t fg, bg; in boot_fb_eraseline_impl() local
556 boot_get_color(&fg, &bg); in boot_fb_eraseline_impl()
679 uint32_t fg, bg; in boot_fb_cursor() local
687 boot_get_color(&fg, &bg); in boot_fb_cursor()
[all …]
H A Dboot_vga.c86 uint32_t fg, bg; in get_vga_color() local
88 boot_get_color(&fg, &bg); in get_vga_color()
90 color |= solaris_color_to_pc_color[fg]; in get_vga_color()
/illumos-gate/usr/src/uts/common/io/mlxcx/
H A Dmlxcx_ring.c561 if (fg != NULL) { in mlxcx_teardown_rx_group()
570 if (fg != NULL) { in mlxcx_teardown_rx_group()
932 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
954 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
976 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
998 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
1020 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
1041 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
1062 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
1140 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
[all …]
H A Dmlxcx.c938 mlxcx_flow_group_t *fg; in mlxcx_teardown_flow_table() local
1942 fg->mlfg_table = ft; in mlxcx_setup_ports()
1943 fg->mlfg_size = 1; in mlxcx_setup_ports()
1950 p->mlp_bcast = fg; in mlxcx_setup_ports()
1958 fg->mlfg_table = ft; in mlxcx_setup_ports()
1966 p->mlp_umcast = fg; in mlxcx_setup_ports()
1970 fg->mlfg_table = ft; in mlxcx_setup_ports()
1971 fg->mlfg_size = 1; in mlxcx_setup_ports()
1977 p->mlp_promisc = fg; in mlxcx_setup_ports()
2379 fe->mlfe_group = fg; in mlxcx_setup_flow_group()
[all …]
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_mech_tabs.c422 if (fg & CRYPTO_FG_DIGEST || fg & CRYPTO_FG_DIGEST_ATOMIC) in kcf_add_mech_provider()
424 else if (fg & CRYPTO_FG_ENCRYPT || fg & CRYPTO_FG_DECRYPT || in kcf_add_mech_provider()
426 fg & CRYPTO_FG_DECRYPT_ATOMIC) in kcf_add_mech_provider()
428 else if (fg & CRYPTO_FG_MAC || fg & CRYPTO_FG_MAC_ATOMIC) in kcf_add_mech_provider()
430 else if (fg & CRYPTO_FG_SIGN || fg & CRYPTO_FG_VERIFY || in kcf_add_mech_provider()
431 fg & CRYPTO_FG_SIGN_ATOMIC || in kcf_add_mech_provider()
432 fg & CRYPTO_FG_VERIFY_ATOMIC || in kcf_add_mech_provider()
433 fg & CRYPTO_FG_SIGN_RECOVER || in kcf_add_mech_provider()
434 fg & CRYPTO_FG_VERIFY_RECOVER) in kcf_add_mech_provider()
438 fg & CRYPTO_FG_WRAP || fg & CRYPTO_FG_UNWRAP || in kcf_add_mech_provider()
[all …]
H A Dkcf_sched.c389 *fg = (optype == KCF_OP_INIT) ? CRYPTO_FG_MAC : in can_resubmit()
401 *fg = CRYPTO_FG_SIGN; in can_resubmit()
404 *fg = CRYPTO_FG_SIGN_ATOMIC; in can_resubmit()
408 *fg = CRYPTO_FG_SIGN_RECOVER_ATOMIC; in can_resubmit()
420 *fg = CRYPTO_FG_VERIFY; in can_resubmit()
423 *fg = CRYPTO_FG_VERIFY_ATOMIC; in can_resubmit()
427 *fg = CRYPTO_FG_VERIFY_RECOVER_ATOMIC; in can_resubmit()
503 crypto_func_group_t fg; in kcf_resubmit_request() local
505 if (!can_resubmit(areq, &mech1, &mech2, &fg)) in kcf_resubmit_request()
519 &error, areq->an_tried_plist, fg, 0); in kcf_resubmit_request()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/lib/netcfgd/
H A Dnetcfgd.c53 static boolean_t fg = B_FALSE; variable
64 if (fg) { in log_out()
89 if (!fg) in start_logging()
153 fg = B_TRUE; in main()
163 if (!fg) in main()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipftest.c687 frgroup_t *fg; local
693 for (fg = ifs->ifs_ipfgroups[i][0]; fg != NULL;
694 fg = fg->fg_next) {
696 i, fg->fg_name, fg->fg_ref, fg->fg_flags);
697 for (fr = fg->fg_start; fr != NULL; fr = fr->fr_next) {
709 for (fg = ifs->ifs_ipfgroups[i][1]; fg != NULL;
710 fg = fg->fg_next) {
712 i, fg->fg_name, fg->fg_ref, fg->fg_flags);
713 for (fr = fg->fg_start; fr != NULL; fr = fr->fr_next) {
/illumos-gate/usr/src/cmd/sh/
H A Djobs.c244 if (fg) { in statjob()
279 if (fg) { in statjob()
423 if (fg) { in restartjob()
438 if (fg) { in restartjob()
689 if (fg) in makejob()
693 } else if (!fg) { in makejob()
711 postjob(pid, fg) in postjob() argument
713 int fg;
736 if (fg) {
850 int fg; in sysfgbg() local
[all …]
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_bitmap.c370 return (fg); in alpha_blend()
520 uint32_t fg, bg, offset, size; in bitmap_display_cursor() local
538 fg = ca->fg_color.eight; in bitmap_display_cursor()
553 fg = ca->fg_color.sixteen[0] << 8; in bitmap_display_cursor()
554 fg |= ca->fg_color.sixteen[1]; in bitmap_display_cursor()
563 sfb16[j] = (sfb16[j] ^ (fg & 0xffff)) ^ in bitmap_display_cursor()
572 fg = ca->fg_color.twentyfour[0] << 16; in bitmap_display_cursor()
573 fg |= ca->fg_color.twentyfour[1] << 8; in bitmap_display_cursor()
574 fg |= ca->fg_color.twentyfour[2]; in bitmap_display_cursor()
597 fg = *(uint32_t *)&ca->fg_color; in bitmap_display_cursor()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dtem_safe.c553 if (fg == B_TRUE) { in tem_select_color()
565 if (fg == B_TRUE) in tem_select_color()
576 if (fg == B_TRUE) { in tem_select_color()
1284 text_color_t fg; in tem_safe_outch() local
1793 text_color_t bg, fg; in tem_safe_text_display() local
1995 text_color_t fg, bg; in tem_safe_pix_bit2pix() local
2439 text_color_t fg, bg; in tem_safe_pix_cursor() local
2587 fg->n = tems.ts_color_map(fg->n); in tem_safe_get_color()
2598 fg->rgb.a, fg->rgb.r, fg->rgb.g, fg->rgb.b); in tem_safe_get_color()
2602 fg->n = PIX4TO32(fg->n); in tem_safe_get_color()
[all …]
H A Dtem.c214 text_color_t fg; in tem_internal_init() local
252 tem_safe_get_attr(ptem, &fg, &bg, &attr, TEM_ATTR_SCREEN_REVERSE); in tem_internal_init()
257 ptem->tvs_screen_rows[i][j].tc_fg_color = fg; in tem_internal_init()
970 uint8_t fg, bg; in tems_get_initial_color() local
972 fg = DEFAULT_ANSI_FOREGROUND; in tems_get_initial_color()
980 plat_tem_get_colors(&fg, &bg); in tems_get_initial_color()
982 pcolor->fg_color.n = fg; in tems_get_initial_color()
/illumos-gate/usr/src/boot/common/
H A Dtem.c889 uint8_t fg, bg; in tems_get_initial_color() local
1200 if (fg == true) { in tem_select_color()
1212 if (fg == true) in tem_select_color()
1223 if (fg == true) { in tem_select_color()
1837 text_color_t fg; in tem_outch() local
2307 text_color_t bg, fg; in tem_text_display() local
2470 text_color_t fg, bg; in tem_pix_bit2pix() local
2790 text_color_t fg, bg; in tem_pix_cursor() local
2863 *fg = c->tc_fg_color; in tem_get_color()
2899 fg->rgb.a, fg->rgb.r, fg->rgb.g, fg->rgb.b); in tem_get_color()
[all …]
H A Dgfx_fb.c161 *fg = gfx_fg; in plat_tem_get_colors()
1076 return (fg); in alpha_blend()
1240 } fg, bg; in gfx_fb_display_cursor() local
1242 bcopy(&ca->fg_color, &fg.p32, sizeof (fg.p32)); in gfx_fb_display_cursor()
1250 fg.p32, bg.p32, ca); in gfx_fb_display_cursor()
1266 fg.p32, bg.p32, ca); in gfx_fb_display_cursor()
1304 text_color_t fg, bg; in gfx_fb_setpixel() local
1325 text_color_t fg, bg; in gfx_fb_drawrect() local
1333 gfxfb_blt(&fg.n, GfxFbBltVideoFill, in gfx_fb_drawrect()
1336 gfxfb_blt(&fg.n, GfxFbBltVideoFill, in gfx_fb_drawrect()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dvid_puts.c141 short fg, bg; in vid_puts() local
151 } else if (pair_content(pair, &fg, &bg) == OK) { in vid_puts()
154 tparm(set_foreground, (long) fg, in vid_puts()
162 set_a_foreground, (long) fg, in vid_puts()
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dfil.c3344 return fg;
3388 fg->fg_ref++;
3389 return fg;
3399 *fgp = fg;
3401 return fg;
3428 fg->fg_ref--;
3431 KFREE(fg);
3454 frgroup_t *fg; local
4394 fg = NULL;
5085 fg = rval;
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dvid_puts.c145 short fg, bg; in vid_puts() local
151 } else if (pair_content(pair, &fg, &bg) == OK) { in vid_puts()
153 (void) TPUTS(tparm(set_a_foreground, (long) fg, in vid_puts()
157 (void) TPUTS(tparm(set_foreground, (long) fg, in vid_puts()
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_main.c476 boolean_t fg = B_FALSE; in main() local
488 fg = B_TRUE; in main()
496 if (!fg && getenv("SMF_FMRI") == NULL) { in main()
503 if (!fg && !ipmgmt_daemonize()) in main()
/illumos-gate/usr/src/uts/common/os/
H A Dflock.c232 struct flock_globals *fg; in flk_get_lockmgr_status() local
242 fg = flk_get_globals(); in flk_get_lockmgr_status()
963 struct flock_globals *fg; in flk_zone_init() local
966 fg = kmem_alloc(sizeof (*fg), KM_SLEEP); in flk_zone_init()
970 return (fg); in flk_zone_init()
979 kmem_free(fg, sizeof (*fg)); in flk_zone_fini()
1366 fg = NULL; in flk_wait_execute_request()
1369 fg = flk_get_globals(); in flk_wait_execute_request()
2484 fg->lockmgr_status[index] = fg->flk_lockmgr_status; in flk_get_lock_graph()
3603 fg = flk_get_globals(); in flk_set_lockmgr_status()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dmain.c55 boolean_t fg = B_FALSE; variable
349 fg = B_TRUE; in main()
360 if (!fg) in main()
/illumos-gate/usr/src/uts/common/disp/
H A Dts.c2089 proc_t *leader, *fg, *bg; in ia_set_process_group() local
2148 for (fg = (proc_t *)pgfind(fg_pgid); fg != NULL; fg = fg->p_pglink) { in ia_set_process_group()
2152 if (fg->p_stat == SIDL) { in ia_set_process_group()
2160 if (fg->p_pid == fg->p_sessp->s_sid) { in ia_set_process_group()
2165 "group on:proc %p", fg); in ia_set_process_group()
2168 if (mutex_tryenter(&fg->p_lock) == 0) in ia_set_process_group()
2171 mutex_enter(&fg->p_lock); in ia_set_process_group()
2174 if ((tx = proctot(fg)) == NULL) { in ia_set_process_group()
2175 mutex_exit(&fg->p_lock); in ia_set_process_group()
2194 } while ((tx = tx->t_forw) != fg->p_tlist); in ia_set_process_group()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Duusched.c53 char f[256], g[256], fg[256], subf[256]; local
127 (void) sprintf(fg, "%s/%s", f, g);
128 gradedir = opendir(fg);
/illumos-gate/usr/src/test/crypto-tests/tests/common/
H A Dcryptotest_kcf.c44 crypto_func_group_t fg; member
80 cryptotest_init(cryptotest_t *arg, crypto_func_group_t fg) in cryptotest_init() argument
112 op->fg = fg; in cryptotest_init()
167 mech.mech_fg = op->fg; in get_hsession_by_mech()
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_sign.c259 crypto_call_req_t *crq, crypto_func_group_t fg) in sign_sr_atomic_common() argument
272 list, fg, data->cd_length)) == NULL) { in sign_sr_atomic_common()
303 if (fg == CRYPTO_FG_SIGN_ATOMIC) in sign_sr_atomic_common()
313 kcf_op_type_t op = ((fg == CRYPTO_FG_SIGN_ATOMIC) ? in sign_sr_atomic_common()
H A Dkcf_verify.c261 crypto_call_req_t *crq, crypto_func_group_t fg) in verify_vr_atomic_common() argument
274 list, fg, data->cd_length)) == NULL) { in verify_vr_atomic_common()
305 if (fg == CRYPTO_FG_VERIFY_ATOMIC) in verify_vr_atomic_common()
316 kcf_op_type_t op = ((fg == CRYPTO_FG_VERIFY_ATOMIC) ? in verify_vr_atomic_common()

12