Home
last modified time | relevance | path

Searched refs:optd (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/uts/common/inet/
H A Doptcom.c196 opdes_t *optd; in svr4_optcom_req() local
258 for (optd = opt_arr; optd < &opt_arr[opt_arr_cnt]; optd++) { in svr4_optcom_req()
264 if (!OA_READ_PERMISSION(optd, cr)) in svr4_optcom_req()
266 opt->level = optd->opdes_level; in svr4_optcom_req()
267 opt->name = optd->opdes_name; in svr4_optcom_req()
268 if (!(optd->opdes_props & OP_DEF_FN) || in svr4_optcom_req()
279 switch (optd->opdes_size) { in svr4_optcom_req()
288 (int32_t)optd->opdes_default; in svr4_optcom_req()
292 (int16_t)optd->opdes_default; in svr4_optcom_req()
296 (int8_t)optd->opdes_default; in svr4_optcom_req()
[all …]
H A Dproto_set.c337 opdes_t *optd; in proto_opt_lookup() local
339 for (optd = opt_arr; optd < &opt_arr[opt_arr_cnt]; in proto_opt_lookup()
340 optd++) { in proto_opt_lookup()
341 if (level == (uint_t)optd->opdes_level && in proto_opt_lookup()
342 name == (uint_t)optd->opdes_name) in proto_opt_lookup()
343 return (optd); in proto_opt_lookup()
360 opdes_t *optd; in proto_opt_check() local
363 optd = proto_opt_lookup(level, name, opt_arr, opt_arr_cnt); in proto_opt_check()
364 if (optd == NULL) in proto_opt_check()
372 if (!OA_WRITE_OR_EXECUTE(optd, cr)) { in proto_opt_check()
[all …]
/titanic_44/usr/src/cmd/pgrep/
H A Dpgrep.c598 optdesc_t *optd; in main() local
648 optd = &g_optdtab[c - 'A']; in main()
650 if (optd->o_opts & OPT_SETB) in main()
651 *((ushort_t *)optd->o_ptr) |= optd->o_bits; in main()
653 if (optd->o_opts & OPT_CLRB) in main()
654 *((ushort_t *)optd->o_ptr) &= ~optd->o_bits; in main()
656 if (optd->o_opts & OPT_STR) in main()
657 *((char **)optd->o_ptr) = optarg; in main()
659 if (optd->o_opts & OPT_CRIT) in main()
662 if (optd->o_opts & OPT_FUNC) { in main()
[all …]