/illumos-gate/usr/src/common/util/i386/ |
H A D | muldiv.h | 44 extern int64_t __mul64(int64_t a, int64_t b); 48 extern int64_t __div64(int64_t x, int64_t y); 49 extern int64_t __rem64(int64_t x, int64_t y); 53 extern int64_t __divdi3(int64_t a, int64_t b); 54 extern int64_t __moddi3(int64_t a, int64_t b); 57 extern int64_t __divrem64(int64_t x, int64_t y);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | clock_impl.h | 60 char lbc_pad[CPU_CACHE_COHERENCE_SIZE - (2 * sizeof (int64_t))]; 66 int64_t lbi_id_pad; /* 64bit padding */ 68 int64_t lbi_thresh_calls; /* max calls per interval */ 70 int64_t lbi_debug_ts; /* last time we dropped into kmdb */ 71 int64_t lbi_debug_time; /* time spent in the debugger */ 72 int64_t lbi_internal; /* lbolt source when on cyclic mode */ 75 int64_t lbi_cyc_deac_start; /* deactivation interval */ 78 extern int64_t lbolt_bootstrap(void); 79 extern int64_t lbolt_event_driven(void); 80 extern int64_t lbolt_cyclic_driven(void); [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncp.h | 44 extern int64_t current_ncu_priority_group; 47 boolean_t nwamd_ncp_find_next_priority_group(int64_t, int64_t *); 48 void nwamd_ncp_activate_priority_group(int64_t); 49 void nwamd_ncp_deactivate_priority_group(int64_t); 50 void nwamd_ncp_deactivate_priority_group_all(int64_t); 51 boolean_t nwamd_ncp_check_priority_group(int64_t *);
|
/illumos-gate/usr/src/boot/sys/ufs/ffs/ |
H A D | fs.h | 233 int64_t spare; /* reserved for future use */ 249 int64_t cs_ndir; /* number of directories */ 250 int64_t cs_nbfree; /* number of free blocks */ 251 int64_t cs_nifree; /* number of free inodes */ 252 int64_t cs_nffree; /* number of free frags */ 254 int64_t cs_spare[3]; /* future expansion */ 341 int64_t fs_size; /* number of blocks in fs */ 709 int64_t jr_diroff; 722 int64_t jm_oldoff; 723 int64_t jm_newoff; [all …]
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | vmm_data.h | 104 int64_t vl_timer_target; 167 int64_t vac_time_target; 210 int64_t vht_time_target; 217 int64_t vh_time_base; 225 int64_t vpt_time_base; 238 int64_t vr_base_clock; 239 int64_t vr_last_period; 271 int64_t vt_boot_hrtime; /* guest boot_hrtime */ 274 int64_t vt_hrtime; /* host hrtime (ns) */
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | aggsum.h | 32 int64_t asc_delta; 42 int64_t as_lower_bound; 43 int64_t as_upper_bound; 50 int64_t aggsum_lower_bound(aggsum_t *); 51 int64_t aggsum_upper_bound(aggsum_t *); 54 void aggsum_add(aggsum_t *, int64_t);
|
H A D | dsl_pool.h | 157 void dsl_pool_dirty_space(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx); 158 void dsl_pool_undirty_space(dsl_pool_t *dp, int64_t space, uint64_t txg); 166 int64_t used, int64_t comp, int64_t uncomp); 168 int64_t used, int64_t comp, int64_t uncomp);
|
H A D | space_reftree.h | 42 int64_t sr_refcnt; /* associated reference count */ 48 int64_t refcnt); 49 void space_reftree_add_map(avl_tree_t *t, range_tree_t *rt, int64_t refcnt); 51 int64_t minref);
|
H A D | dsl_dir.h | 116 int64_t dd_space_towrite[TXG_SIZE]; 156 dsl_dir_t *ancestor, int64_t delta, int ondiskonly); 162 void dsl_dir_willuse_space(dsl_dir_t *dd, int64_t space, dmu_tx_t *tx); 164 int64_t used, int64_t compressed, int64_t uncompressed, dmu_tx_t *tx); 165 void dsl_dir_transfer_space(dsl_dir_t *dd, int64_t delta, 174 void dsl_fs_ss_count_adjust(dsl_dir_t *, int64_t, const char *, dmu_tx_t *);
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lcompat.c | 22 int64_t 28 int64_t value; in lcompat_strtoll() 76 int64_t 77 lcompat_pow(int64_t x, int64_t y) in lcompat_pow() 79 int64_t result = 1; in lcompat_pow() 93 lcompat_hashnum(int64_t x) in lcompat_hashnum()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | inetd_impl.h | 151 int64_t val; 164 int64_t copies; 167 int64_t conn_rate_count; 171 int64_t fail_rate_count; 174 int64_t bind_fail_count; 319 extern rep_val_t *find_rep_val(uu_list_t *, int64_t); 320 extern int set_single_rep_val(uu_list_t *, int64_t); 321 extern int64_t get_single_rep_val(uu_list_t *); 322 extern int add_rep_val(uu_list_t *, int64_t); 323 extern void remove_rep_val(uu_list_t *, int64_t);
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | _divdi3.S | 50 int64_t label 51 __divdi3(int64_t a, int64_t b) 55 int64_t label 56 __moddi3(int64_t a, int64_t b) 104 / int64_t 105 / __divdi3(int64_t x, int64_t y) 124 / return (negative ? (int64_t) - r : r); 190 / int64_t 191 / __moddi3(int64_t x, int64_t y) 206 / return (x < 0 ? (int64_t) - rem : rem);
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | libc.h | 102 extern int64_t __div64(int64_t, int64_t); 103 extern int64_t __rem64(int64_t, int64_t); 106 extern int64_t __mul64(int64_t, int64_t); 244 extern int64_t _portfs(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t,
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_prop_decode.c | 496 ((int64_t *)ph->ph_cur_pos > ((int64_t *)ph->ph_data + in di_prop_int64_op() 512 sizeof (int64_t); in di_prop_int64_op() 520 ph->ph_size < sizeof (int64_t) || in di_prop_int64_op() 521 ((int64_t *)ph->ph_cur_pos > ((int64_t *)ph->ph_data + in di_prop_int64_op() 522 ph->ph_size - sizeof (int64_t)))) in di_prop_int64_op() 536 sizeof (int64_t); in di_prop_int64_op() 544 ph->ph_size < sizeof (int64_t)) in di_prop_int64_op() 561 sizeof (int64_t); in di_prop_int64_op() 568 return (sizeof (int64_t)); in di_prop_int64_op() 574 return (sizeof (int64_t)); in di_prop_int64_op() [all …]
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_subr.c | 71 void pc_pcttotv(struct pctime *, int64_t *); 122 int64_t unixtime; in pc_tvtopct() 124 unixtime = (int64_t)tvp->tv_sec; in pc_tvtopct() 190 int64_t *unixtime) /* caller converts to time_t */ in pc_pcttotv() 224 *unixtime = (int64_t)sec; in pc_pcttotv() 225 *unixtime += 60 * (int64_t)min; in pc_pcttotv() 226 *unixtime += 3600 * (int64_t)hour; in pc_pcttotv() 227 *unixtime += 86400 * (int64_t)(day -1); in pc_pcttotv() 230 *unixtime += 86400 * (int64_t)days_in_month(month, year); in pc_pcttotv() 234 *unixtime += 86400 * (int64_t)days_in_year(year); in pc_pcttotv()
|
/illumos-gate/usr/src/lib/libndmp/common/ |
H A D | libndmp_door_data.c | 200 int64_t 203 int64_t num = 0; in ndmp_door_get_int64() 205 if (ctx->ptr + sizeof (int64_t) <= ctx->end_ptr) { in ndmp_door_get_int64() 206 (void) memcpy(&num, ctx->ptr, sizeof (int64_t)); in ndmp_door_get_int64() 207 ctx->ptr += sizeof (int64_t); in ndmp_door_get_int64() 223 ndmp_door_put_int64(ndmp_door_ctx_t *ctx, int64_t num) in ndmp_door_put_int64() 226 if (ctx->ptr + sizeof (int64_t) <= ctx->end_ptr) { in ndmp_door_put_int64() 227 (void) memcpy(ctx->ptr, &num, sizeof (int64_t)); in ndmp_door_put_int64() 228 ctx->ptr += sizeof (int64_t); in ndmp_door_put_int64() 238 ndmp_door_put_int64(ctx, (int64_t)num); in ndmp_door_put_uint64()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_aggregate.c | 58 dt_aggregate_count(int64_t *existing, int64_t *new, size_t size) in dt_aggregate_count() 67 dt_aggregate_countcmp(int64_t *lhs, int64_t *rhs) in dt_aggregate_countcmp() 83 dt_aggregate_min(int64_t *existing, int64_t *new, size_t size) in dt_aggregate_min() 91 dt_aggregate_max(int64_t *existing, int64_t *new, size_t size) in dt_aggregate_max() 98 dt_aggregate_averagecmp(int64_t *lhs, int64_t *rhs) in dt_aggregate_averagecmp() 113 dt_aggregate_stddevcmp(int64_t *lhs, int64_t *rhs) in dt_aggregate_stddevcmp() 129 dt_aggregate_lquantize(int64_t *existing, int64_t *new, size_t size) in dt_aggregate_lquantize() 155 static int64_t 180 dt_aggregate_lquantizedcmp(int64_t *lhs, int64_t *rhs) in dt_aggregate_lquantizedcmp() 258 dt_aggregate_llquantizedcmp(int64_t *lhs, int64_t *rhs) in dt_aggregate_llquantizedcmp() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | ifconfig.c | 169 static void plumball(int, char **, int64_t, int64_t, int64_t); 186 int af, int64_t onflags, int64_t offflags, 187 int64_t lifc_flags); 205 int64_t lifc_flags); 241 int (*c_func)(char *, int64_t); 379 int64_t lifc_flags; in main() 454 int64_t onflags = 0; in main() 455 int64_t offflags = 0; in main() 525 int64_t onflags, int64_t offflags, int64_t lifc_flags) in foreachinterface() 572 plumball(int argc, char *argv[], int64_t onflags, int64_t offflags, in plumball() [all …]
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | proc.c | 436 int64_t s, m; 439 (void) adrm_int64(&adr, (int64_t *)&s, 1); 441 (void) adrm_int64(&adr, (int64_t *)&m, 1); 452 int64_t s, m; 728 int64_t secs, msecs; 747 int64_t secs, msecs; 895 int64_t secs, msecs; 1024 int64_t secs, msecs; 1025 leadin = 2 * sizeof (int64_t) + 1033 adr_int64(&adr, (int64_t *)&secs, 1); [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | aggsum.c | 106 int64_t 112 int64_t 141 int64_t rv; in aggsum_value() 167 aggsum_borrow(aggsum_t *as, int64_t delta, struct aggsum_bucket *asb) in aggsum_borrow() 169 int64_t abs_delta = (delta < 0 ? -delta : delta); in aggsum_borrow() 184 aggsum_add(aggsum_t *as, int64_t delta) in aggsum_add() 191 if (asb->asc_delta + delta <= (int64_t)asb->asc_borrowed && in aggsum_add() 192 asb->asc_delta + delta >= -(int64_t)asb->asc_borrowed) { in aggsum_add()
|
/illumos-gate/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.h | 263 int64_t wait_fail_cnt; 267 int64_t max_copies; 271 int64_t conn_rate_max; 275 int64_t bind_fail_max; 281 int64_t conn_backlog; 290 int64_t iv_int; 329 int64_t get_prop_value_int(const inetd_prop_t *, const char *); 334 void put_prop_value_int(inetd_prop_t *, const char *, int64_t);
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_heartbeat.c | 122 int64_t *t; in sctp_send_heartbeat() 123 int64_t now; in sctp_send_heartbeat() 161 t = (int64_t *)(hpp + 1); in sctp_send_heartbeat() 207 int64_t now; in sctp_validate_peer() 208 int64_t earliest_expiry; in sctp_validate_peer() 247 int64_t expire; in sctp_validate_peer() 275 int64_t *sentp, sent; in sctp_process_heartbeat() 280 int64_t now; in sctp_process_heartbeat() 308 sentp = (int64_t *)(hpp + 1); in sctp_process_heartbeat()
|
/illumos-gate/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_entp_algs.c | 83 static int64_t 139 logx = (int64_t)(i - LOG_ARG_SCALE) << LOG_VAL_SCALE; in lg2() 171 mask = (uint64_t)(((int64_t)(data[k] - data[j])) >> 63); \ 255 ((int64_t)(LOG_ARG_SCALE - lg2samples) << in n2rng_renyi_entropy() 272 ((int64_t)(LOG_ARG_SCALE - lg2samples) << LOG_VAL_SCALE))) >> in n2rng_renyi_entropy() 282 ((int64_t)(LOG_ARG_SCALE - 2 * lg2samples) << LOG_VAL_SCALE)) / 64; in n2rng_renyi_entropy() 285 ((int64_t)(LOG_ARG_SCALE - lg2samples) << LOG_VAL_SCALE)) / 64; in n2rng_renyi_entropy()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | pass3b.c | 46 static int64_t aclbufoff; /* offset into aclbuf */ 47 static int64_t maxaclsize; /* how big aclbuf is */ 50 static int bufchk(char *, int64_t, fsck_ino_t); 63 int64_t acl_size_limit; in pass3b() 89 if ((int64_t)aclp->i_isize > acl_size_limit) { in pass3b() 106 if ((int64_t)aclp->i_isize > maxaclsize) in pass3b() 107 maxaclsize = (int64_t)aclp->i_isize; in pass3b() 126 if ((int64_t)aclp->i_isize > acl_size_limit) { in pass3b() 280 bufchk(char *buf, int64_t len, fsck_ino_t inum) in bufchk() 304 int64_t recsz = 0; in bufchk() [all …]
|
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_door_legacy.c | 233 int64_t 236 int64_t num = 0; in smb_dr_get_int64() 238 if (ctx->ptr + sizeof (int64_t) <= ctx->end_ptr) { in smb_dr_get_int64() 239 (void) memcpy(&num, ctx->ptr, sizeof (int64_t)); in smb_dr_get_int64() 240 ctx->ptr += sizeof (int64_t); in smb_dr_get_int64() 256 smb_dr_put_int64(smb_dr_ctx_t *ctx, int64_t num) in smb_dr_put_int64() 259 if (ctx->ptr + sizeof (int64_t) <= ctx->end_ptr) { in smb_dr_put_int64() 260 (void) memcpy(ctx->ptr, &num, sizeof (int64_t)); in smb_dr_put_int64() 261 ctx->ptr += sizeof (int64_t); in smb_dr_put_int64() 271 smb_dr_put_int64(ctx, (int64_t)num); in smb_dr_put_uint64()
|