/illumos-gate/usr/src/common/mpi/ |
H A D | mpi.c | 169 /* {{{ mp_init_copy(mp, from) */ 172 mp_init_copy(mp, from) 174 Initialize mp as an exact copy of from. Returns MP_OKAY if 179 mp_err mp_init_copy(mp_int *mp, const mp_int *from) argument 181 ARGCHK(mp != NULL && from != NULL, MP_BADARG); 183 if(mp == from) 186 if((DIGITS(mp) = s_mp_alloc(ALLOC(from), sizeof(mp_digit), FLAG(from))) == NULL) 189 s_mp_copy(DIGITS(from), DIGITS(mp), USED(from)); 211 mp_copy(const mp_int *from, mp_int *to) argument [all...] |
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 147 static inline void copy_to_txd(struct sge_eq *eq, caddr_t from, caddr_t *to, 442 /* Interrupt vector to start from (when using multiple vectors) */ 1094 * the intr_idx specifies the vector, starting from 0. Otherwise it specifies 1677 * the SGL coming from a distinct DMA handle). Increase tx_dhdl_total 2784 copy_to_txd(struct sge_eq *eq, caddr_t from, caddr_t *to, int len) argument 2787 bcopy(from, *to, len); 2792 bcopy(from, *to, portion); 2793 from += portion; 2795 bcopy(from, (void *)eq->desc, portion); 2996 /* There was no wrap, sync from start_des [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | bofi.c | 58 * This works by intercepting calls from the driver to various DDI routines, 79 * DMA (corrupting data for DMA to/from memory areas defined by 88 * By default, ddi routines called from all drivers will be intercepted 637 * get nexus name (from conf file) 683 * get driver-under-test names (from conf file) 1845 * found it - delete from in-use list 2403 * from io-space before calling this, so we pass in the func to do the 3244 * remove from dhash, hhash and inuse lists 3327 xbcopy(void *from, void *to, u_longlong_t len) argument 3329 uchar_t *f = from; [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | lgrp.c | 51 * its children lgroups. Thus, the lgroup hierarchy from a given leaf lgroup 52 * to the root lgroup shows the hardware resources from closest to farthest 53 * from the leaf lgroup such that each successive ancestor lgroup contains 54 * the next nearest resources at the next level of locality from the previous. 62 * allocation is lgroup aware too, so memory will be allocated from the current 105 * The lgrp_kstat_data array of named kstats is used to extract data from 106 * lgrp_stats and present it to kstat framework. It is protected from partallel 704 * Called to add lgrp info into cpu structure from cpu_add_unit; 774 * topology now that we know how far it is from other leaf 855 * Allocate from en 1215 lgrp_mem_rename(int mnode, lgrp_handle_t from, lgrp_handle_t to) argument [all...] |
H A D | streamio.c | 98 * a performance degradation occurs from copyout overhead. 181 * sd_lock while trying to get data from the stream 484 * return value from dld_autopush(): 604 * This is called from closef() on the last close of an open stream. 698 * Holding sd_lock prevents q_next from changing in 753 /* Prevent qenable from re-enabling the stream head queue */ 889 * from closef for all closes, whereas strclose is called only for the 961 * Retrieve the next message from the logical stream head read queue 975 /* Holding sd_lock prevents the read queue from changing */ 997 * to prevent strrput from nackin 3011 strcopyin_strioctl(void *from, void *to, int flag, int copyflag) argument 3044 strcopyout_strioctl(void *from, void *to, int flag, int copyflag) argument 3082 strcopyin_strioctl(void *from, void *to, int flag, int copyflag) argument 3089 strcopyout_strioctl(void *from, void *to, int flag, int copyflag) argument [all...] |
H A D | strsubr.c | 267 * when it falls to zero, the perdm structure is removed from the list and 433 * Remove `el' from the list using `chase' and `curr' pointers and return result 526 * Remove a queue from the syncq list 568 /* Hide the definition from the header file. */ 852 * Init routine run from main at boot time. 937 /* Have to hold sd_lock to prevent siglist from changing */ 1043 * pidlock to prevent the membership in the process group from changing 1296 * pair of queues from the syncq. 1313 /* freeq removes us from the outer perimeter if any */ 1317 /* Prevent service procedures from bein 4125 strcopyin(void *from, void *to, size_t len, int copyflag) argument 4139 strcopyout(void *from, void *to, size_t len, int copyflag) argument [all...] |
/illumos-gate/usr/src/uts/common/io/mwl/ |
H A D | mwl.c | 725 * access control. We record the mapping from ac's 773 * we allocate queues when we switch from station to 926 /* XXX get from firmware header */ 1302 * Construct channel info for 2.4GHz channels from cal data. 1324 * Construct channel info for 5GHz channels from cal data. 1357 * Calculate the max tx power from the channel's cal data. 1589 * Use the channel info from the hal to craft the 1615 * Use the channel info from the hal to craft the 1692 cvtPeerInfo(PeerInfo_t *to, const MWL_HAL_PEERINFO *from) argument 1694 to->LegacyRateBitMap = LE_32(from [all...] |
/illumos-gate/usr/src/uts/sun/io/ |
H A D | fd.c | 150 * from floppy. He may not be having IFB boards that cause underrun errors. 2060 /* Build a vtoc from the diskette's label */ 2858 * Note that we ignore any error return s from fdexec. 3068 * called from fd_strategy() or from fdXXXX() to setup and 4190 * An interrupt can come from either the floppy controller or 4203 * See if the interrupt is from the floppy 4269 * See if the interrupt is from the DMA engine, 4422 /* stop the DMA from happening */ 4448 * See if the interrupt is from th 5611 fdunpacklabel(struct packed_label *from, struct dk_label *to) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | lgrpplat.c | 44 * which memory (and how much) are in a NUMA node and how far each node is from 50 * local memory from each node as needed. The common lgroup framework uses the 52 * to each node (leaf lgroup) and how far each node is from each other, so it 57 * etc. are in each NUMA node, how far each node is from each other, and to use 112 * above as long as the proximity domains IDs are numbered from 0 to <number of 114 * from 0 to <number of nodes - 1>. Then proximity ID N will hash into node ID 117 * from 0 to <number of nodes - 1>, then hashing the proximity domain IDs into 120 * equivalent node ID since we want to keep the node IDs numbered from 0 to 128 * relationship between lgrp node and memory node from 1:1 map to 1:N map, 141 * been changed from 1053 lgrp_plat_latency(lgrp_handle_t from, lgrp_handle_t to) argument 1235 int from; local 2447 int from; local [all...] |
H A D | cpuid.c | 474 * Functions we consune from cpuid_subr.c; don't publish these in a header 614 * only ever be called once to prevent two processors from seeing different 817 * from 0 regardless of how many or which are disabled, and there 1056 * this from P4 onwards. We might want to revisit 1277 * fold in overrides from the "eeprom" mechanism 1624 * Virtual and physical address limits from 1871 * Protect ourself from insane mwait line size. 2521 * Fixup the brand string, and collect any information from cpuid 2601 * Shift off that number of bits from the APIC id to 2618 * If we successfully extracted a brand string from th 4821 caddr_t to, from; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSPosix.c | 225 struct sockaddr_storage from; local 235 fromLen = sizeof(from); 237 packetLen = recvfrom_flags(skt, &packet, sizeof(packet), &flags, (struct sockaddr *) &from, &fromLen, &packetInfo, &ttl); 241 SockAddrTomDNSAddr((struct sockaddr*)&from, &senderAddr, &senderPort); 289 verbosedebugf("SocketDataReady ignored a packet from %#a to %#a on interface %s/%d expecting %#a/%s/%d/%d", 305 verbosedebugf("SocketDataReady got a packet from %#a to %#a on interface %#a/%s/%d/%d", 495 // Other platforms can either get the information from the appropriate place, 651 // We test for SO_REUSEADDR first, as suggested by Jonny Törnbom from Axis Communications 1376 // destroying the entire interface list and then making fresh one from scratch. 1391 // the platform from reenterin [all...] |
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 819 /* get path from file struct here */ 944 /* get path from file struct here */ 1012 /* get path from file struct here */ 1489 /* get path from file struct here */ 2036 /* get path from file struct here */ 2350 /* get path from file struct here */ 3486 /* drvname != NULL from test above */ 3578 * not security relevant if doing a accept from non socket 3661 * not security relevant if doing a bind from non socket 3729 * not security relevant if doing a connect from no 4279 long from; /* struct sockaddr */ member in struct:a [all...] |
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | lemon.c | 139 ** popped from the stack during error processing */ 282 ** from a specification in the file 720 ** list which has been built from calls to Configlist_add. 738 ** propagation links from the state under construction into the 770 struct state *stp; /* The state from which successors are computed */ 807 /* The state "newstp" is reached from the state "stp" by a shift action 1289 /* Remove trailing '\n's from the error message. */ 2460 /* Transfer every plink on the list "from" to the list "to" */ 2461 void Plink_copy(to,from) 2463 struct plink *from; 3761 struct s_x1node **from; /* Previous link */ member in struct:s_x1node 3923 struct s_x2node **from; /* Previous link */ member in struct:s_x2node 4129 struct s_x3node **from; /* Previous link */ member in struct:s_x3node 4275 struct s_x4node **from; /* Previous link */ member in struct:s_x4node [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.telnetd.c | 37 * University Acknowledgment- Portions of this document are derived from 145 * from AUTH options 177 /* telnetd gets session key from here */ 322 didnetreceive, /* last time we read data from network */ 511 * maps the username from KerberosV5 to unix, 516 * from KRB5 to Unix. 676 "Failed to get key from " 802 * from the original connection. This data is used to 984 fatalperror(net, "Unable to read from /dev/urandom: ", 1241 "\t(encrypt_send_is) error from " 2191 struct sockaddr_storage from; local [all...] |
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 38 * University Acknowledgment- Portions of this document are derived from 215 static pthread_t sys_thread; /* queues messages from us */ 216 static pthread_t net_thread; /* queues messages from the net */ 237 static int sys_msg_count = 0; /* total msgs rcvd from local log */ 239 static int net_msg_count = 0; /* total msgs rcvd from net */ 420 /* block all signals from all threads initially */ 628 * to pull up one message from the log driver and enqueue it 674 * Pull up one message from log driver. 785 * from, and queues them to the logger thread. 875 " from 1745 char *eomp, *eomp2, *from, *text, *msg; local 1986 wallmsg(struct filed *f, char *from, char *msg) argument [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fp.c | 564 * Entry point for power up and power down request from kernel 860 * LV will try to get symbolic names from FCA driver 1455 * But the unsolicited callbacks from the underlying FCA port need 2289 * from the head of the job queue for this local port. 2300 * fp_port_shutdown() is only called from here. This 2343 * potential detach from occurring until 3153 * from within this function itself, save the current tail pointer 3919 * Get an Arbitrated Loop map from the underlying FCA 5839 * trigger an unsolicited PLOGI from an N_Port. The Unsolicited 6081 " from d_i 9687 fp_copyout(void *from, void *to, size_t len, int mode) argument [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vdc.c | 50 * 4) Handling responses from vDisk server. 167 /* processing incoming messages from vDisk server */ 204 static int vdc_null_copy_func(vdc_t *vdc, void *from, void *to, 206 static int vdc_get_wce_convert(vdc_t *vdc, void *from, void *to, 208 static int vdc_set_wce_convert(vdc_t *vdc, void *from, void *to, 210 static int vdc_get_vtoc_convert(vdc_t *vdc, void *from, void *to, 212 static int vdc_set_vtoc_convert(vdc_t *vdc, void *from, void *to, 214 static int vdc_get_extvtoc_convert(vdc_t *vdc, void *from, void *to, 216 static int vdc_set_extvtoc_convert(vdc_t *vdc, void *from, void *to, 218 static int vdc_get_geom_convert(vdc_t *vdc, void *from, voi 7669 vdc_null_copy_func(vdc_t *vdc, void *from, void *to, int mode, int dir) argument 7681 vdc_get_wce_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument 7696 vdc_set_wce_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument 7736 vdc_get_vtoc_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument 7797 vdc_set_vtoc_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument 7847 vdc_get_extvtoc_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument 7873 vdc_set_extvtoc_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument 7931 vdc_get_geom_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument 7974 vdc_set_geom_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument 8004 vdc_get_efi_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument 8052 vdc_set_efi_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/ |
H A D | vrrpd.c | 689 "service and should not be run from the command line."); 715 * Read the child process's return value from the pfds. 1265 * Process the administrative request from libvrrpadm 1278 struct sockaddr_in from; local 1283 fromlen = (socklen_t)sizeof (from); 1284 if ((connfd = accept(s, (struct sockaddr *)&from, &fromlen)) < 0) { 1379 0, (struct sockaddr *)&from, fromlen); 1648 * Get the physical interface name from the logical interface name. 1666 * all the IP addresses from the beginning. 1669 "from 3242 vrrpd_process_adv(vrrp_vr_t *vr, vrrp_addr_t *from, vrrp_pkt_t *vp) argument 3347 vrrpd_process_vrrp(vrrp_intf_t *pif, vrrp_pkt_t *vp, size_t len, vrrp_addr_t *from) argument 3535 vrrp_addr_t from; local [all...] |
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 35 * endorse or promote products derived from this software without 39 * 5. Products derived from this software may not be called "OpenSSL" 727 /* Remove this cert from the list by clearing it. */ 1570 /* OpenSSL derives the public key from the private */ 2349 * This function will create a certid from issuer_cert and user_cert. 2481 /* ocsp_find_signer_sk() is copied from openssl source */ 2510 /* ocsp_find_signer() is copied from openssl source */ 2527 /* Maybe lookup from store if by subject name */ 2535 * the public key from the OCSP responder certificate. 2558 * If we still do not find a signer, we will look for it from th 4054 sslBN2KMFBN(BIGNUM *from, KMF_BIGINT *to) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 36 * University Acknowledgment- Portions of this document are derived from 313 * File system initialization. vfs_setfsops() must be called from a file 836 * knows where to start from ('/' or '.'). 1088 * Common mount code. Called from the system call entry point, from autofs, 1089 * nfsv4 trigger mounts, and from pxfs. 1097 * be null, in which case it's determined from the mount arguments, and may 1098 * differ from the type specified in the mount arguments; this is a hook to 1299 * Pick up mount point and device from appropriate space. 1329 * Kludge to prevent autofs from deadlockin 4778 vfs_propagate_features(vfs_t *from, vfs_t *to) argument [all...] |
H A D | vnode.c | 36 * University Acknowledgment- Portions of this document are derived from 121 * to be stored separately from the data (node) pointed to by v_data. 146 * vopstats structure from a vnode op. Both VOPSTATS_UPDATE() and 565 * Called from vfsinit() to initialize the support mechanisms for vopstats 653 * to the caller. This must only be called from a mount. 705 * from dounmount(). 739 * Read or write a vnode. Called from kernel code. 825 * from reclaiming and releasing the vnode *before* the 871 * path from accessing a stream head that is going away. 1219 * above instead of looping around from her 1570 vn_link(char *from, char *to, enum uio_seg seg) argument 1576 vn_linkat(vnode_t *fstartvp, char *from, enum symfollow follow, vnode_t *tstartvp, char *to, enum uio_seg seg) argument 1636 vn_rename(char *from, char *to, enum uio_seg seg) argument [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | builtins.c | 532 /* Get the filenames from ARG. */ 545 /* Read the whole data from FILE1. */ 560 /* Read the whole data from FILE2. */ 850 /* Get the drive number from DRIVE. */ 1007 * try to find a configfile derived from the DHCP/bootp 1116 /* get rid of TERM_NEED_INIT from the graphics terminal. */ 1350 char *from, *to; 1354 from = arg; 1356 if (! *from || ! *to) 1362 nul_terminate (from); 1334 char *from, *to; local 3005 unsigned long to, from; local [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | graph.c | 55 * - an edge from the GVT_SVC vertex for the instance's service 60 * - edges from other GVT_INST vertices if the instance is a restarter 67 * group, an edge from the corresponding GVT_GROUP vertex to a 70 * - edges from GVT_GROUP vertices for each dependent instance 81 * changed. Snapshotted properties should be read from a snapshot, so they 90 * receipt of the refresh command from svcadm. In addition, the graph engine 91 * updates the "start" snapshot from the "running" snapshot whenever a service 100 * transition from STATE_ONLINE/STATE_DEGRADED to STATE_OFFLINE/STATE_MAINT. 113 * publish a GPEC sysevent. All transitions to or from maintenance, a 131 * parameters from th 715 is_path_to(graph_vertex_t *from, graph_vertex_t *to) argument 4696 int from, to; local [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 580 * restored from *_save on return: 961 "not an earlier snapshot from the same fs")); 998 * Dumps a backup of the given snapshot (incremental from fromsnap if it's not 1041 "not an earlier snapshot from the same fs")); 1112 * Print the progress from ZFS_IOC_SEND_PROGRESS every second. 1155 "send from @%s to %s"), 1159 "send from %s to %s"), 1257 * an incremental from the last accepted one, or as the 1333 * recursive, we need to send a full stream from the 1334 * beginning (or an incremental from th 2004 zfs_send_one(zfs_handle_t *zhp, const char *from, int fd, enum lzc_send_flags flags) argument [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | getline.c | 208 * undo command. It records a copy of the input line from before 381 FILE *file_fp; /* When input is being temporarily taken from */ 438 int nread; /* The number of characters read from keybuf[] */ 466 const char *clear_eol; /* The string that clears from the cursor to */ 468 const char *clear_eod; /* The string that clears from the cursor to */ 721 * Restore the terminal attributes from gl->oldattr. 736 * Read a line from the user in raw mode. 747 * Read input from a non-interactive input stream. 752 * Read a single character from a non-interactive input stream. 768 * Handle the receipt of the potential start of a new key-sequence from 4876 char from[3]; /* The original string of 2 characters */ local [all...] |