/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_deleg.c | 299 * { source fsname -> { whokeys { permissions,...}, ...}} 333 char source[ZFS_MAX_DATASET_NAME_LEN]; local 365 dsl_dir_name(dd, source); 366 fnvlist_add_nvlist(*nvp, source, sp_nvp);
|
H A D | dsl_prop.c | 354 * the given value and source. This is not a general purpose function. It exists 364 zprop_source_t source, uint64_t value, uint64_t *newvalp) 389 if (source & ZPROP_SRC_NONE) 390 source = ZPROP_SRC_NONE; 391 else if (source & ZPROP_SRC_RECEIVED) 392 source = ZPROP_SRC_LOCAL; 395 switch (source) { 424 panic("unexpected property source: %d", source); 611 zprop_source_t source, in 363 dsl_prop_predict(dsl_dir_t *dd, const char *propname, zprop_source_t source, uint64_t value, uint64_t *newvalp) argument 610 dsl_prop_set_sync_impl(dsl_dataset_t *ds, const char *propname, zprop_source_t source, int intsz, int numints, const void *value, dmu_tx_t *tx) argument 767 dsl_prop_set_int(const char *dsname, const char *propname, zprop_source_t source, uint64_t value) argument 780 dsl_prop_set_string(const char *dsname, const char *propname, zprop_source_t source, const char *value) argument 793 dsl_prop_inherit(const char *dsname, const char *propname, zprop_source_t source) argument 851 dsl_props_set_sync_impl(dsl_dataset_t *ds, zprop_source_t source, nvlist_t *props, dmu_tx_t *tx) argument 901 dsl_props_set(const char *dsname, zprop_source_t source, nvlist_t *props) argument 945 const char *source; local 1106 dsl_prop_set_hasrecvd_impl(const char *dsname, zprop_source_t source) argument [all...] |
/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/ |
H A D | ixp425_board.c | 4 * Redistribution and use in source and binary forms, with or without 7 * 1. Redistributions of source code must retain the above copyright 662 avila_read(char *dest, unsigned source, unsigned length) argument 664 if (dskinf.use_lba == 0 && source == 0) 665 source++; 668 (u_int32_t)dest, source, length); 672 cfcmd(ATA_READ, (source >> 8) & 0xffff, source >> 24, 673 source & 0xff, 1, 0); 681 source [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare_zfs.c | 537 * zfs_inherited(handle, source, sourcestr) 688 * zfs_process_share(handle, share, mountpoint, proto, source, 696 char *mountpoint, char *proto, zprop_source_t source, char *shareopts, 701 if (source & ZPROP_SRC_INHERITED) { 755 zprop_source_t source; local 785 source = ZPROP_SRC_ALL; 810 sizeof (nfsshareopts), &source, nfssourcestr, 813 if (source & ZPROP_SRC_INHERITED) 821 sizeof (smbshareopts), &source, smbsourcestr, 824 if (source 695 sa_zfs_process_share(sa_handle_t handle, sa_group_t group, sa_share_t share, char *mountpoint, char *proto, zprop_source_t source, char *shareopts, char *sourcestr, char *dataset) argument [all...] |
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem.c | 687 * in which case we must return it to the source. 1041 * If the entire span is free, return it to the source. 1338 * if there is a source, we can't mess with the spans 1424 * by invoking afunc() on source, and may return those spans by invoking 1425 * ffunc() on source. To make small allocations fast and scalable, 1431 vmem_alloc_t *afunc, vmem_free_t *ffunc, vmem_t *source, 1489 if (source != NULL) 1490 vmp->vm_kstat.vk_source_id = source->vm_id; 1491 vmp->vm_source = source; 1430 vmem_create(const char *name, void *base, size_t size, size_t quantum, vmem_alloc_t *afunc, vmem_free_t *ffunc, vmem_t *source, size_t qcache_max, int vmflag) argument
|
/illumos-gate/usr/src/common/unicode/ |
H A D | u8_textprep.c | 1380 collect_a_seq(size_t uv, uchar_t *u8s, uchar_t **source, uchar_t *slast, argument 1406 * Save the source string pointer which we will return a changed 1409 s = *source; 1434 *source = s; 1455 *source = s; 1697 *source = s; 1713 *source = s;
|
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | kdc_util.c | 166 * for source data. 169 comp_cksum(krb5_context kcontext, krb5_data *source, krb5_ticket *ticket, argument 185 source, his_cksum, &valid)))
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_rts.c | 9 * Redistribution and use in source and binary forms, with or without 12 * 1. Redistributions of source code must retain the above copyright 494 * Multirouting and user-specified source addresses 496 * Assigning a source address to an interface based 534 * to a non-null source address. 578 * to a non-null source address. 682 * but rather the source address. 834 * source address selection changed 909 * source address selection changed 1310 * Otherwise, we use the IRE's source addres 1909 ip_rts_change(int type, ipaddr_t dst_addr, ipaddr_t gw_addr, ipaddr_t net_mask, ipaddr_t source, ipaddr_t author, int flags, int error, int rtm_addrs, ip_stack_t *ipst) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/portfs/ |
H A D | port_fop.c | 35 * notification. It is implemented as an event source(PORT_SOURCE_FILE) 56 * The object for this event source is of type 'struct file_obj *' 80 * event source will be PORT_SOURCE_FILE. 94 * port by this source. The object here is the pointer to the file_obj 372 * Remove the pfp from the port source cache. 785 port_getsrc(port_t *pp, int source) argument 790 * get the port source structure. 797 pse = pp->port_queue.portq_scache[PORT_SHASH(source)]; 799 if (pse->portsrc_source == source) 968 * Add the event source t 971 port_fop_associate_source(portfop_cache_t **pfcpp, port_t *pp, int source) argument 1256 port_associate_fop(port_t *pp, int source, uintptr_t object, int events, void *user) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_state.c | 980 /* Function matches L4 header data (source ports for TCP, UDP, CallIds for */ 1650 int source, ret = 0, flags; local 1654 source = !fin->fin_rev; 1655 if (((is->is_flags & IS_TCPFSM) != 0) && (source == 1) && 1657 source = 0; 1658 fdata = &is->is_tcp.ts_data[!source]; 1659 tdata = &is->is_tcp.ts_data[source]; 1670 if ((is->is_state[source] > IPF_TCPS_ESTABLISHED) && 1671 (is->is_state[!source] > IPF_TCPS_ESTABLISHED)) { 1672 is->is_state[source] [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | trill.c | 162 * Bridging does source address learning and appropriate forwarding. 380 trill_node_t *source = NULL; local 392 /* Copy Ethernet source address before modifying packet */ 518 if ((source = trill_node_lookup(tip, trillhdr->th_ingressnick)) == NULL) 520 for (idx = 0; idx < source->tn_ni->tni_dtrootcount; idx++) { 521 if (TNI_DTROOTNICK(source->tn_ni, idx) == 526 if (idx >= source->tn_ni->tni_dtrootcount) { 533 if (source->tn_ni->tni_dtrootcount != 0 || 538 source, trill_inst_t *, tip); 549 trillhdr, trill_node_t *, source); [all...] |
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_principal.c | 9 * this source code. Do *NOT* create a derivative of this 10 * source code before consulting with your legal department. 11 * Do *NOT* integrate *ANY* of this source code into another 704 krb5_principal source, krb5_principal target) 715 if (source == NULL || target == NULL) 723 if ((ret = kdb_get_entry(handle, source, &kdb, &adb))) 746 ret = kdb_delete_entry(handle, source); 703 kadm5_rename_principal(void *server_handle, krb5_principal source, krb5_principal target) argument
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | hotplug.c | 1068 char source[MAXPATHLEN]; local 1079 strcpy(source, path); 1088 if (source[0] != '/') { 1098 if (source[0] == '.' && source[1] == '/') { 1099 strcpy(scratch, source+2); 1101 strcpy(scratch, source); 1103 strcpy(source, pwd); 1104 (void) strcat(source, "/"); 1105 (void) strcat(source, scratc [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | mntinfo.c | 139 * This determines if the source of the mount is from another host. If it's 145 is_remote_src(char *source) argument 157 if (source[0] == '/') 160 if (strchr(source, ':') == NULL) 163 src_ptr = source; 175 if (strncmp(source, host_name, hn_len) == 0 && 176 *(source+hn_len) == ':' || is_local_host(source_host)) 220 return ("unknown source"); 236 return ("unknown source");
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypxfr.c | 30 * Portions of this source code were derived from Berkeley 66 * The -s option is used to specify a source domain which may be 119 char *source = NULL; variable 173 -s domainname is a source for the map that is same across domains\n\ 269 if (!source) 270 source = domain; 466 source = *argv; 469 if (strlen(source) > YPMAXDOMAIN) { 552 if (err = __yp_master_rsvdport(source, map, &master)) { 557 yp_unbind(source); [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | ibft.c | 386 iscsi_parse_ipaddr(uchar_t *source, char *dest, int *af) argument 390 if (source == NULL) { 394 if (source[0] == 0x00 && source[1] == 0x00 && 395 source[2] == 0x00 && source[3] == 0x00 && 396 source[4] == 0x00 && source[5] == 0x00 && 397 source[6] == 0x00 && source[ 433 iscsi_copy_ibft_ipaddr(uchar_t *source, void *dest, int *af) argument [all...] |
/illumos-gate/usr/src/cmd/mv/ |
H A D | mv.c | 117 static avl_tree_t *stree = NULL; /* source file inode search tree */ 332 * If there is more than a source and target, 392 lnkfil(char *source, char *target) argument 407 len = strlen(target) + strlen(dname(source)) + 4; 411 "to %s %s\n"), cmd, cmd, source); 415 target, dname(source)); 458 * Create a symbolic link to the source. 461 if (symlink(source, target) < 0) { 475 switch (chkfiles(source, &target)) { 482 * Make sure source fil 518 cpymve(char *source, char *target) argument 992 chkfiles(char *source, char **to) argument 1194 chk_different(char *source, char *target) argument 1466 copydir(char *source, char *target) argument 1632 copyattributes(char *source, char *target) argument 1871 copy_sysattr(char *source, char *target) argument 2081 open_attrdirp(char *source) argument 2128 traverse_attrfile(struct dirent *dp, char *source, char *target, int first) argument [all...] |
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zfs.c | 713 * Rename the source dataset's snapshots that are automatically generated when 719 * (the format is zonename@SUNWzoneXX where XX are digits) on both the source 720 * and clone datasets, then renames the source dataset snapshots starting at 744 * Now make sure the source's snapshot max is at least as high as 757 * Now rename the source dataset's snapshots so there's no 782 * of the other clones that were hanging off of the source dataset. 918 * we could generate a name from the source zone ZFS name. However, 920 * source instead of what the zonepath says. For example, 1198 char source[ZFS_MAX_DATASET_NAME_LEN]; local 1223 sizeof (propbuf), &srctype, source, [all...] |
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_create.c | 1879 * obe_name - name of source global BE being copied. 1880 * obe_root_ds - root dataset of source global BE being copied. 2940 char source[ZFS_MAX_DATASET_NAME_LEN]; local 2975 /* Get the mountpoint and source properties of the existing dataset */ 2977 sizeof (mountpoint), &sourcetype, source, sizeof (source), 2995 * If the source of the mountpoint property is local, use the
|
H A D | be_mount.c | 1149 char source[ZFS_MAX_DATASET_NAME_LEN]; local 1155 /* Get dataset's mountpoint and source values */ 1157 sizeof (zhp_mountpoint), &sourcetype, source, sizeof (source), 1299 char source[ZFS_MAX_DATASET_NAME_LEN]; local 1323 /* Get dataset's current mountpoint and source value */ 1325 sizeof (mountpoint), &sourcetype, source, sizeof (source), 2038 char source[ZFS_MAX_DATASET_NAME_LEN]; local 2044 /* Get dataset's mountpoint and source value [all...] |
/illumos-gate/usr/src/lib/libbrand/common/ |
H A D | libbrand.c | 96 #define DTD_ATTR_SOURCE ((const xmlChar *) "source") 924 xmlChar *source, *target; local 935 source = xmlGetProp(node, DTD_ATTR_SOURCE); 938 if (source == NULL || target == NULL) { 939 if (source != NULL) 940 xmlFree(source); 946 ret = func(data, (char *)source, (char *)target); 948 xmlFree(source);
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | doname.cc | 184 enter_explicit_rule_from_dynamic_rule(Name target, Name source) argument 189 source_line = get_prop(source->prop, line_prop); 2768 (void) printf(gettext("%*sSccs getting %s because s. file is younger than source file\n"),
|
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 571 * Propagate the bootblock on the source disk to the destination disk and 577 propagate_bootblock(ig_data_t *source, ig_data_t *target, char *updt_str) argument 579 ig_device_t *src_device = &source->device; 581 ig_stage2_t *src_stage2 = &source->stage2; 586 assert(source != NULL); 589 /* read in stage1 from the source disk. */ 970 /* Fill bootblock hashing source information. */
|
/illumos-gate/usr/src/common/ficl/softcore/ |
H A D | lz4.c | 7 * Redistribution and use in source and binary forms, with or without 11 * * Redistributions of source code must retain the above copyright 32 * - LZ4 source repository : http://code.google.com/p/lz4/ 43 static int real_LZ4_compress(const char *source, char *dest, int isize, 45 static int LZ4_uncompress_unknownOutputSize(const char *source, char *dest, 47 static int LZ4_compressCtx(void *ctx, const char *source, char *dest, 49 static int LZ4_compress64kCtx(void *ctx, const char *source, char *dest, 117 * (necessarily <= maxOutputSize). If the source stream is 494 LZ4_compressCtx(void *ctx, const char *source, char *dest, int isize, argument 504 const BYTE *ip = (BYTE *) source; 689 LZ4_compress64kCtx(void *ctx, const char *source, char *dest, int isize, int osize) argument 870 real_LZ4_compress(const char *source, char *dest, int isize, int osize) argument 909 LZ4_uncompress_unknownOutputSize(const char *source, char *dest, int isize, int maxOutputSize) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | vmem.c | 93 * an imported span become free, we return the span to its source. 103 * *vmem source* for kmem_va_arena. vmem_create() allows you to 104 * specify any existing vmem arena as the source for your new arena. 105 * Topologically, since every arena is a child of at most one source, 791 * in which case we must return it to the source. 1238 * If the entire span is free, return it to the source. 1439 * by invoking afunc() on source, and may return those spans by invoking 1440 * ffunc() on source. To make small allocations fast and scalable, 1448 vmem_t *source, size_t qcache_max, int vmflag) 1466 ASSERT(source 1445 vmem_create_common(const char *name, void *base, size_t size, size_t quantum, void *(*afunc)(vmem_t *, size_t, int), void (*ffunc)(vmem_t *, void *, size_t), vmem_t *source, size_t qcache_max, int vmflag) argument 1572 vmem_xcreate(const char *name, void *base, size_t size, size_t quantum, vmem_ximport_t *afunc, vmem_free_t *ffunc, vmem_t *source, size_t qcache_max, int vmflag) argument 1585 vmem_create(const char *name, void *base, size_t size, size_t quantum, vmem_alloc_t *afunc, vmem_free_t *ffunc, vmem_t *source, size_t qcache_max, int vmflag) argument [all...] |