/titanic_51/usr/src/cmd/hal/hald-runner/ |
H A D | runner.c | 67 del_run_data(run_data *rd) in del_run_data() argument 69 if (rd == NULL) in del_run_data() 72 del_run_request(rd->r); in del_run_data() 73 if (rd->msg) in del_run_data() 74 dbus_message_unref(rd->msg); in del_run_data() 76 g_spawn_close_pid(rd->pid); in del_run_data() 78 if (rd->stderr_v >= 0) in del_run_data() 79 close(rd->stderr_v); in del_run_data() 81 if (rd->timeout != 0) in del_run_data() 82 g_source_remove(rd in del_run_data() 133 remove_run_data(run_data * rd) remove_run_data() argument 151 run_data *rd = (run_data *)data; run_exited() local 200 run_data *rd = (run_data *)data; run_timedout() local 250 run_data *rd = NULL; run_request_run() local 333 run_data *rd = (run_data *)data; kill_rd() local [all...] |
/titanic_51/usr/src/lib/libilb/common/ |
H A D | ilb_rules.c | 47 i_drop_rule(ilb_handle_t h, ilb_rule_data_t *rd, void *arg) in i_drop_rule() argument 49 return (ilb_destroy_rule(h, rd->r_name)); in i_drop_rule() 95 ilb_create_rule(ilb_handle_t h, const ilb_rule_data_t *rd) in ilb_create_rule() argument 102 if (h == ILB_INVALID_HANDLE || rd == NULL || *rd->r_name == '\0') in ilb_create_rule() 114 (void) strlcpy(rl->rl_name, rd->r_name, sizeof (rl->rl_name)); in ilb_create_rule() 115 (void) strlcpy(rl->rl_sgname, rd->r_sgname, sizeof (rl->rl_sgname)); in ilb_create_rule() 116 (void) strlcpy(rl->rl_hcname, rd->r_hcname, sizeof (rl->rl_hcname)); in ilb_create_rule() 117 rl->rl_flags = rd->r_flags; in ilb_create_rule() 118 rl->rl_proto = rd in ilb_create_rule() 233 ilb_rule_data_t rd; i_ilb_walk_one_rule() local [all...] |
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_rules.c | 123 ilb_rule_data_t *rd; member 129 ilb_rule_data_t *rd; member 305 ilb_rule_data_t *rd = (ilb_rule_data_t *)ra->rd; in of_str() local 309 (void) strlcpy(buf, rd->r_name, bufsize); in of_str() 312 (void) strlcpy(buf, rd->r_sgname, bufsize); in of_str() 315 if (rd->r_hcname != NULL && *(rd->r_hcname) != '\0') in of_str() 316 (void) strlcpy(buf, rd->r_hcname, bufsize); in of_str() 327 ilb_rule_data_t *rd in of_proto() local 342 ilb_rule_data_t *rd = (ilb_rule_data_t *)ra->rd; of_rl_ip() local 377 ilb_rule_data_t *rd = (ilb_rule_data_t *)ra->rd; of_rl_mask() local 390 hcport_print(ilb_rule_data_t * rd,char * buf,uint_t bufsize) hcport_print() argument 403 ilb_rule_data_t *rd = (ilb_rule_data_t *)ra->rd; of_rport() local 421 ilb_rule_data_t *rd = (ilb_rule_data_t *)ra->rd; of_rstatus() local 435 ilb_rule_data_t *rd = (ilb_rule_data_t *)ra->rd; of_algo() local 446 ilb_rule_data_t *rd = (ilb_rule_data_t *)ra->rd; of_topo() local 457 ilb_rule_data_t *rd = (ilb_rule_data_t *)ra->rd; of_time() local 498 ilb_rule_data_t *rd = (ilb_rule_data_t *)ra->rd; of_rl_srvlist() local 566 ilbadm_show_onerule(ilb_handle_t h,ilb_rule_data_t * rd,void * arg) ilbadm_show_onerule() argument 794 ilbadm_show_rl_servers(ilb_handle_t h,ilb_rule_data_t * rd,void * arg) ilbadm_show_rl_servers() argument 922 i_parse_rl_arg(char * arg,ilb_rule_data_t * rd,ilbadm_key_name_t * keylist) i_parse_rl_arg() argument 934 ilb_rule_data_t *rd; i_ilbadm_alloc_rule() local 943 i_ilbadm_free_rule(ilb_rule_data_t * rd) i_ilbadm_free_rule() argument 1073 ilb_rule_data_t *rd; ilbadm_create_rule() local 1209 ilbadm_export_rl(ilb_handle_t h,ilb_rule_data_t * rd,void * arg) ilbadm_export_rl() argument [all...] |
H A D | ilbadm_subr.c | 405 ilb_rule_data_t *rd = (ilb_rule_data_t *)store; in i_match_hostorip() local 407 ip1 = &rd->r_nat_src_start; in i_match_hostorip() 408 ip2 = &rd->r_nat_src_end; in i_match_hostorip() 685 i_check_rule_spec(ilb_rule_data_t *rd) in i_check_rule_spec() argument 687 int32_t vip_af = rd->r_vip.ia_af; in i_check_rule_spec() 693 if (*rd->r_sgname == '\0') in i_check_rule_spec() 696 if (rd->r_algo == 0 || rd->r_topo == 0) { in i_check_rule_spec() 701 if (rd->r_topo == ILB_TOPO_NAT) { in i_check_rule_spec() 702 prxy_src = &rd in i_check_rule_spec() 836 ilb_rule_data_t *rd = NULL; i_store_val() local [all...] |
/titanic_51/usr/src/lib/libbsm/common/ |
H A D | audit_rexd.c | 157 int rd; /* audit record descriptor */ local 199 rd = au_open(); 202 (void) au_write(rd, 206 (void) au_write(rd, au_to_mylabel()); 209 (void) au_write(rd, au_to_text(msg)); 214 (void) au_write(rd, au_to_text(buf)); 221 (void) au_write(rd, au_to_text(buf)); 225 (void) au_write(rd, au_to_text(buf)); 243 (void) au_close(rd, 0, 0); 247 (void) au_write(rd, au_to_tex 275 int rd; /* audit record descriptor */ global() local [all...] |
H A D | audit_ftpd.c | 131 int rd; /* audit record descriptor */ in generate_record() local 174 rd = au_open(); in generate_record() 177 (void) au_write(rd, au_to_subject_ex(uid, uid, gid, in generate_record() 181 (void) au_write(rd, au_to_mylabel()); in generate_record() 192 (void) au_write(rd, au_to_text(buf)); in generate_record() 194 (void) au_write(rd, au_to_return64(-1, (int64_t)err)); in generate_record() 196 (void) au_write(rd, au_to_return32(-1, (int32_t)err)); in generate_record() 200 (void) au_write(rd, au_to_return64(0, (int64_t)0)); in generate_record() 202 (void) au_write(rd, au_to_return32(0, (int32_t)0)); in generate_record() 207 if (au_close(rd, in generate_record() 247 int rd; /* audit record descriptor */ audit_ftpd_logout() local [all...] |
H A D | audit_rexecd.c | 133 int rd; /* audit record descriptor */ local 192 rd = au_open(); 195 (void) au_write(rd, 198 (void) au_write(rd, au_to_mylabel()); 201 (void) au_write(rd, au_to_text(msg)); 206 (void) au_write(rd, au_to_text(buf)); 211 (void) au_write(rd, au_to_text(buf)); 217 (void) au_close(rd, 0, 0); 221 (void) au_write(rd, au_to_text(tbuf)); 226 (void) au_write(rd, au_to_return6 244 int rd; /* audit record descriptor */ global() local [all...] |
H A D | audit_rshd.c | 99 int rd; /* audit record descriptor */ in generate_record() local 132 rd = au_open(); in generate_record() 134 (void) au_write(rd, au_to_subject_ex(uid, uid, gid, uid, gid, pid, pid, in generate_record() 137 (void) au_write(rd, au_to_mylabel()); in generate_record() 142 (void) au_close(rd, 0, 0); in generate_record() 146 (void) au_write(rd, au_to_text(tbuf)); in generate_record() 152 (void) au_write(rd, au_to_text(buf)); in generate_record() 158 (void) au_write(rd, au_to_text(buf)); in generate_record() 159 (void) au_write(rd, au_to_text(msg)); in generate_record() 163 (void) au_write(rd, au_to_return6 in generate_record() [all...] |
/titanic_51/usr/src/cmd/dc/ |
H A D | dc.h | 45 #define rewind(p) ((p)->rd = (p)->beg) 46 #define create(p) ((p)->rd = (p)->wt = (p)->beg) 47 #define fsfile(p) ((p)->rd = (p)->wt) 48 #define truncate(p) ((p)->wt = (p)->rd) 49 #define sfeof(p) (((p)->rd >= (p)->wt) ? 1 : 0) 50 #define sfbeg(p) (((p)->rd == (p)->beg) ? 1 : 0) 51 #define sungetc(p, c) (*(--(p)->rd) = c) 52 #define sgetc(p) (((p)->rd == (p)->wt) ? EOF: ctoint((int)*(p)->rd++)) 53 #define slookc(p) (((p)->rd 77 char *rd; global() member [all...] |
/titanic_51/usr/src/uts/common/io/arn/ |
H A D | arn_regd.c | 74 uint16_t rd = ath9k_regd_get_eepromRD(ah); in ath9k_regd_is_eeprom_valid() local 77 if (rd & COUNTRY_ERD_FLAG) { in ath9k_regd_is_eeprom_valid() 78 uint16_t cc = rd & ~COUNTRY_ERD_FLAG; in ath9k_regd_is_eeprom_valid() 84 if (regDomainPairs[i].regDmnEnum == rd) in ath9k_regd_is_eeprom_valid() 90 __func__, rd)); in ath9k_regd_is_eeprom_valid() 111 uint16_t rd; in ath9k_regd_is_ccode_valid() local 119 rd = ath9k_regd_get_eepromRD(ah); in ath9k_regd_is_ccode_valid() 122 __func__, rd)); in ath9k_regd_is_ccode_valid() 124 if (rd & COUNTRY_ERD_FLAG) { in ath9k_regd_is_ccode_valid() 127 __func__, rd in ath9k_regd_is_ccode_valid() 191 uint16_t rd; ath9k_regd_is_public_safety_sku() local 223 uint16_t rd; ath9k_regd_get_default_country() local 247 ath9k_regd_is_valid_reg_domain(int regDmn,struct regDomain * rd) ath9k_regd_is_valid_reg_domain() argument 279 ath9k_regd_get_wmode_regdomain(struct ath_hal * ah,int regDmn,uint16_t channelFlag,struct regDomain * rd) ath9k_regd_get_wmode_regdomain() argument 438 ath9k_regd_add_channel(struct ath_hal * ah,uint16_t c,uint16_t c_lo,uint16_t c_hi,uint16_t maxChan,uint8_t ctl,int pos,struct regDomain rd5GHz,struct RegDmnFreqBand * fband,struct regDomain * rd,const struct cmode * cm,struct ath9k_channel * ichans,boolean_t enableExtendedChannels) ath9k_regd_add_channel() argument 765 struct regDomain *rd = NULL; ath9k_regd_init_channels() local 1031 uint16_t rd = ath9k_regd_get_eepromRD(ah); ath9k_regd_get_current_country() local [all...] |
/titanic_51/usr/src/uts/sparc/v9/os/ |
H A D | simulator.c | 78 uint_t rd, rs1, rs2; in do_unaligned() local 97 rd = (inst >> 25) & 0x1f; in do_unaligned() 121 if (rd == 0) in do_unaligned() 123 else if (rd == 1) in do_unaligned() 138 if ((rd & 1) == 1) in do_unaligned() 139 rd = (rd & 0x1e) | 0x20; in do_unaligned() 140 rd = rd >> 1; in do_unaligned() 141 if ((sz == 16) && ((rd in do_unaligned() 564 uint_t rd, rs1, rs2; simulate_lddstd() local 720 uint_t rd, rs2, rs1; simulate_popc() local 767 uint_t rd, rs1; simulate_mulscc() local 848 uint_t rs1, rd; simulate_unimp() local 1147 uint_t inst, op, op3, rd, rs1, i; simulate_rdtick() local 1316 uint_t rd, rs1, rs2; calc_memaddr() local 1422 uint_t rd, rs1, rs2; instr_size() local [all...] |
/titanic_51/usr/src/lib/libc/port/gen/ |
H A D | strtod.c | 60 mr.rd = _QgetRD(); in strtod() 62 mr.rd = __xgetRD(); in strtod() 67 __hex_to_double(&dr, mr.rd, &x, &fs); in strtod() 91 mr.rd = _QgetRD(); in strtof() 93 mr.rd = __xgetRD(); in strtof() 98 __hex_to_single(&dr, mr.rd, &x, &fs); in strtof() 122 mr.rd = _QgetRD(); in strtold() 124 __hex_to_quadruple(&dr, mr.rd, &x, &fs); in strtold() 128 mr.rd = __xgetRD(); in strtold() 130 __hex_to_extended(&dr, mr.rd, (extende in strtold() [all...] |
/titanic_51/usr/src/cmd/zlook/ |
H A D | zlook.c | 202 zut_readdir_t rd = {0}; in main() local 227 rd.zr_reqflags |= ZUT_ACCFILTER; in main() 231 rd.zr_reqflags |= ZUT_EXTRDDIR; in main() 318 (void) strlcpy(rd.zr_dir, argv[optind], MAXPATHLEN); in main() 320 (void) strlcpy(rd.zr_file, argv[optind + 1], in main() 322 rd.zr_reqflags |= ZUT_XATTR; in main() 332 rd.zr_buf = (uint64_t)(uintptr_t)buf; in main() 333 rd.zr_buflen = rddir_bufsize; in main() 335 while (!rd.zr_eof) { in main() 338 if ((ierr = ioctl(fd, ZUT_IOC_READDIR, &rd)) ! in main() [all...] |
/titanic_51/usr/src/lib/libc/port/fp/ |
H A D | pack_float.c | 75 overflow_to_infinity(int sign, enum fp_direction_type rd) in overflow_to_infinity() argument 82 switch (rd) { in overflow_to_infinity() 100 round(unpacked *pu, int roundword, enum fp_direction_type rd, int *ex) in round() argument 119 switch (rd) { in round() 146 if ((rd == fp_nearest) && in round() 154 __pack_single(unpacked *pu, single *px, enum fp_direction_type rd, in __pack_single() argument 183 round(pu, 1, rd, &e); in __pack_single() 196 round(pu, 1, rd, &e); in __pack_single() 203 if (overflow_to_infinity(pu->sign, rd)) in __pack_single() 218 __pack_double(unpacked *pu, double *px, enum fp_direction_type rd, in __pack_double() argument 291 __pack_extended(unpacked * pu,extended * px,enum fp_direction_type rd,fp_exception_field_type * ex) __pack_extended() argument 359 __pack_quadruple(unpacked * pu,quadruple * px,enum fp_direction_type rd,fp_exception_field_type * ex) __pack_quadruple() argument [all...] |
H A D | hex_bin.c | 98 * ing mode specified in rd and passing back any exceptions raised via 114 __hex_to_single(decimal_record *pd, enum fp_direction_type rd, single *px, in __hex_to_single() argument 128 __pack_single(&u, px, rd, ps); in __hex_to_single() 135 __hex_to_double(decimal_record *pd, enum fp_direction_type rd, double *px, in __hex_to_double() argument 150 __pack_double(&u, px, rd, ps); in __hex_to_double() 159 __hex_to_quadruple(decimal_record *pd, enum fp_direction_type rd, quadruple *px, in __hex_to_quadruple() argument 176 __pack_quadruple(&u, px, rd, ps); in __hex_to_quadruple() 185 __hex_to_extended(decimal_record *pd, enum fp_direction_type rd, extended *px, in __hex_to_extended() argument 202 __pack_extended(&u, px, rd, ps); in __hex_to_extended()
|
/titanic_51/usr/src/lib/libdisasm/common/ |
H A D | dis_sparc_fmt.c | 99 uint32_t rd:5; member 107 uint32_t rd:5; member 187 uint32_t rd:5; member 201 uint32_t rd:5; member 211 uint32_t rd:5; member 223 uint32_t rd:5; member 233 uint32_t rd:5; member 249 uint32_t rd:5; member 259 uint32_t rd:5; member 275 uint32_t rd member 285 uint32_t rd:5; global() member 299 uint32_t rd:5; global() member 309 uint32_t rd:5; global() member 321 uint32_t rd:5; global() member 387 uint32_t rd:5; global() member 403 uint32_t rd:5; global() member 437 uint32_t rd:5; global() member 453 uint32_t rd:5; global() member 463 uint32_t rd:5; global() member 477 uint32_t rd:5; global() member 1285 int rd = (idx < 0x30); dis_fmt_rdwr() local [all...] |
/titanic_51/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_xml.c | 1167 pad_process(topo_mod_t *mp, tf_rdata_t *rd, xmlNodePtr pxn, tnode_t *ptn, in pad_process() argument 1266 tmp_rd.rd_name = rd->rd_name; in pad_process() 1267 tmp_rd.rd_min = rd->rd_min; in pad_process() 1268 tmp_rd.rd_max = rd->rd_max; in pad_process() 1316 for (ct = topo_child_first(rd->rd_pn); in pad_process() 1318 ct = topo_child_next(rd->rd_pn, ct)) { in pad_process() 1321 rd->rd_name) != 0) in pad_process() 1325 if (inst < rd->rd_min || inst > rd->rd_max) in pad_process() 1331 if (fac_process(mp, target, rd, c in pad_process() 1402 fac_process(topo_mod_t * mp,xmlNodePtr pn,tf_rdata_t * rd,tnode_t * ptn) fac_process() argument 1499 node_process(topo_mod_t * mp,xmlNodePtr nn,tf_rdata_t * rd) node_process() argument 1606 enum_run(topo_mod_t * mp,tf_rdata_t * rd) enum_run() argument 1689 decorate_nodes(topo_mod_t * mp,tf_rdata_t * rd,xmlNodePtr pxn,tnode_t * ptn,tf_pad_t ** rpad) decorate_nodes() argument 1711 topo_xml_range_process(topo_mod_t * mp,xmlNodePtr rn,tf_rdata_t * rd) topo_xml_range_process() argument [all...] |
/titanic_51/usr/src/cmd/cmd-inet/usr.bin/dns-sd/ |
H A D | dns-sd.c | 867 // Output the wire-format domainname pointed to by rd 868 static int snprintd(char *p, int max, const unsigned char **rd) in snprintd() argument 872 while (**rd) in snprintd() 874 p += snprintf(p, end-p, "%.*s.", **rd, *rd+1); in snprintd() 875 *rd += 1 + **rd; in snprintd() 877 *rd += 1; // Advance over the final zero byte in snprintd() 881 static void ParseDNSSECRecords(uint16_t rrtype, char *rdb, char *p, unsigned const char *rd, uint16_t rdlen) in ParseDNSSECRecords() argument 890 rdataDS *rrds = (rdataDS *)rd; in ParseDNSSECRecords() 995 const unsigned char *rd = rdata; qr_reply() local [all...] |
/titanic_51/usr/src/uts/sun4u/sunfire/io/ |
H A D | jtag.c | 1293 jtag_ring_desc *rd; in jtag_get_board_info() local 1310 rd = get_ring_descriptor_bytype(ring, sc->type); in jtag_get_board_info() 1312 if (rd == NULL) { in jtag_get_board_info() 1319 rc = find_chip(rd, &chip_ac, 0); in jtag_get_board_info() 1325 rc = find_chip(rd, &chip_fhc, 0); in jtag_get_board_info() 1352 rd = &cpu_mod_ring; in jtag_get_board_info() 1357 rd = &cpu_mod_1m_ring; in jtag_get_board_info() 1363 rd = NULL; in jtag_get_board_info() 1370 if (rd != NULL) { in jtag_get_board_info() 1371 rc = find_chip(rd, in jtag_get_board_info() 1638 find_chip(jtag_ring_desc * rd,jtag_log_comp * chip,int instance) find_chip() argument [all...] |
/titanic_51/usr/src/lib/libm/common/LD/ |
H A D | log1pl.c | 47 enum fp_direction_type rd; in log1pl() local 53 rd = __swapRD(fp_nearest); in log1pl() 61 if (rd != fp_nearest) in log1pl() 62 (void) __swapRD(rd); in log1pl()
|
/titanic_51/usr/src/common/fs/ |
H A D | pcfs.c | 282 int rd, spc; in bpcfs_read() local 296 rd = blk == CLUSTER_ROOTDIR ? 1 : 0; in bpcfs_read() 301 rd = (blk == CLUSTER_ROOTDIR) ? 1 : 0; in bpcfs_read() 307 blk = fat_map(blk, rd); in bpcfs_read() 310 if (!cluster_valid(blk, rd)) { in bpcfs_read() 312 blk, rd); in bpcfs_read() 318 sector = fat_ctodb(blk, rd); in bpcfs_read() 339 blk = fat_map(blk, rd); in bpcfs_read() 340 if (!cluster_valid(blk, rd)) { in bpcfs_read() 342 blk, rd); in bpcfs_read() 397 cluster_valid(long c,int rd) cluster_valid() argument 512 int rd = (dir_blk == CLUSTER_ROOTDIR ? 1 : 0); lookup() local [all...] |
/titanic_51/usr/src/cmd/sgs/gprof/common/ |
H A D | sparc.h | 53 #define RD(x) (((union instruct *) (x))->f_3c.rd) 81 rd:5, member 113 rd:5, member 122 rd:5, member 130 rd:5, member
|
/titanic_51/usr/src/lib/libm/common/Q/ |
H A D | log10l.c | 87 enum fp_direction_type rd; in log10l() local 96 rd = __swapRD(fp_nearest); in log10l() 101 if (rd != fp_nearest) in log10l() 102 (void) __swapRD(rd); in log10l()
|
/titanic_51/usr/src/cmd/fs.d/autofs/ |
H A D | autod_readdir.c | 65 do_readdir(autofs_rddirargs *rda, autofs_rddirres *rd) in do_readdir() argument 76 rd->rd_status = AUTOFS_OK; in do_readdir() 77 rd->rd_rddir.rddir_size = 0; in do_readdir() 78 rd->rd_rddir.rddir_eof = 1; in do_readdir() 79 rd->rd_rddir.rddir_entries = NULL; in do_readdir() 135 rd->rd_bufsize = rda->rda_count; in do_readdir() 137 error = create_dirents(rdcp, rda->rda_offset, rd); in do_readdir() 162 rd->rd_status = AUTOFS_OK; in do_readdir() 188 rd->rd_rddir.rddir_size = 0; in do_readdir() 189 rd in do_readdir() [all...] |
/titanic_51/usr/src/uts/sun4v/sys/ |
H A D | machclock.h | 59 rd STICK, out; \ 86 rd STICK, out; \ 107 rd %tick, out; \ 119 rd %tick, out; \ 129 rd %stick, out 137 rd %tick, out 156 rd %tick, out; \ 160 rd STICK, out; \ 171 rd STICK_COMPARE, out; \
|