Searched defs:prefix (Results 1 - 25 of 266) sorted by last modified time

1234567891011

/illumos-gate/usr/src/lib/efcode/fcdriver/
H A Dload_node.c181 find_lib_file(fcode_env_t *env, char *prefix, char *name, char *suffix, argument
194 lib_name = MALLOC(strlen(name) + strlen(prefix) + strlen(suffix) + 1);
195 (void) sprintf(lib_name, "%s%s%s", prefix, name, suffix);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dsadb.c975 sa_family_t af, uint32_t *addr, uint16_t port, uint8_t proto, int prefix)
992 addrext->sadb_address_prefixlen = prefix;
1849 * We need only check for prefix issues.
1862 * Verify and mask out inner-addresses based on prefix length.
6749 * ignore prefix lengths in the address extension. Since we match on first-
6750 * entered policies, this shouldn't matter. Also, since we normalize prefix-
974 sadb_make_addr_ext(uint8_t *start, uint8_t *end, uint16_t exttype, sa_family_t af, uint32_t *addr, uint16_t port, uint8_t proto, int prefix) argument
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c1306 char *prefix = arg; local
1309 prefix,
1322 char prefix[256]; local
1340 (void) snprintf(prefix, sizeof (prefix), "\t%*s%s",
1342 range_tree_walk(rt, dump_dtl_seg, prefix);
2033 char path[MAXPATHLEN * 2]; /* allow for xattr and failure prefix */
2807 print_label_numbers(char *prefix, cksum_record_t *rec) argument
2809 printf("%s", prefix);
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfsimpl.c1206 char prefix[] = "/dev/dsk/"; local
1208 len = strlen(prefix);
1209 if (len < pathlen && memcmp(path, prefix, len) == 0) {
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_debuglink.c455 /* There is perhaps a directory prefix in the
466 char * prefix = 0; local
468 prefix = global_prefixes_in[global_prefix_number];
470 dwarfstring_append(&joind.js_buildid,prefix);
567 char * prefix = global_prefixes_in[global_prefix_number]; local
570 dwarfstring_append(&joind.js_tmp3, prefix);
H A Ddwarf_frame.c1336 struct cie_fde_prefix_s prefix; local
1366 /* First read in the 'common prefix' to figure out what * we are to
1369 memset(&prefix, 0, sizeof(prefix));
1374 &prefix,
1382 fde_ptr = prefix.cf_addr_after_prefix;
1383 cie_id = prefix.cf_cie_id;
1386 res = dwarf_create_fde_from_after_start(dbg, &prefix,
H A Ddwarf_frame2.c252 print_prefix(struct cie_fde_prefix_s *prefix, int line)
254 printf("prefix-print, prefix at 0x%lx, line %d\n",
255 (unsigned long) prefix, line);
256 printf(" start addr 0x%lx after prefix 0x%lx\n",
257 (unsigned long) prefix->cf_start_addr,
258 (unsigned long) prefix->cf_addr_after_prefix);
260 (Dwarf_Unsigned) prefix->cf_length,
261 prefix->cf_local_length_size,
262 prefix
376 struct cie_fde_prefix_s prefix; local
612 dwarf_create_cie_from_after_start(Dwarf_Debug dbg, struct cie_fde_prefix_s *prefix, Dwarf_Small * section_pointer, Dwarf_Small * frame_ptr, Dwarf_Small * section_ptr_end, Dwarf_Unsigned cie_count, int use_gnu_cie_calc, Dwarf_Cie * cie_ptr_out, Dwarf_Error * error) argument
973 dwarf_create_fde_from_after_start(Dwarf_Debug dbg, struct cie_fde_prefix_s *prefix, Dwarf_Small * section_pointer, Dwarf_Small * frame_ptr, Dwarf_Small * section_ptr_end, int use_gnu_cie_calc, Dwarf_Cie cie_ptr_in, Dwarf_Fde * fde_ptr_out, Dwarf_Error * error) argument
1374 struct cie_fde_prefix_s prefix; local
[all...]
H A Ddwarf_print_lines.c86 const char *prefix,
96 dwarfstring_append_printf_s(&m1,"%-15s ",(char *)prefix);
113 "%-15s ",(char *)prefix);
155 "%-15s ",(char *)prefix);
84 print_line_detail( Dwarf_Debug dbg, const char *prefix, int opcode, unsigned curr_line, struct Dwarf_Line_Registers_s * regs, Dwarf_Bool is_single_table, Dwarf_Bool is_actuals_table) argument
H A Dgennames.c47 For each set of names with a common prefix, we create a routine
119 static char prefix[200] = ""; variable
230 i,prefix,
429 char *prefix_id = prefix + prefix_root_len;
474 prefix,
482 len = 39 - strlen(prefix);
484 prefix,(int)len,group_array[u].name,group_array[u].value);
490 actual_array_count,prefix,group_array[u].name);
491 fprintf(f_names_c," %s_%s}", prefix,group_array[u].name);
495 prefix,group_arra
[all...]
/illumos-gate/usr/src/cmd/bhyve/
H A Dnet_backends.c91 const char *prefix; /* prefix matching this backend */ member in struct:net_backend
360 .prefix = "tap",
373 /* A clone of the tap backend, with a different prefix. */
375 .prefix = "vmnet",
560 .prefix = "netgraph",
896 .prefix = "netmap",
909 /* A clone of the netmap backend, with a different prefix. */
911 .prefix = "vale",
961 if (strncmp(devname, (*pbe)->prefix,
[all...]
/illumos-gate/usr/src/tools/smatch/src/
H A Dtokenize.c149 static const char *show_char(const char *s, size_t len, char prefix, char delim) argument
153 if (prefix)
154 *p++ = prefix;
163 static const char *quote_char(const char *s, size_t len, char prefix, char delim) argument
168 if (prefix)
169 *p++ = prefix;
/illumos-gate/usr/src/lib/libppt/common/
H A Dlibppt.c149 const char prefix[] = "/devices"; local
157 if (strncmp(c, prefix, sizeof (prefix) - 1) == 0)
158 c += sizeof (prefix) - 1;
464 * that is bound to it, if any. The "/devices/" prefix is optional. The
/illumos-gate/usr/src/uts/common/os/
H A Dmodsysfile.c164 char prefix = '\0'; local
168 prefix = fmt[0];
179 if (prefix != '\0') {
180 (void) snprintf(fmt_str, FE_BUFLEN, "%c%%s%%s", prefix);
/illumos-gate/usr/src/uts/sparc/os/
H A Dcpr_sparc.c368 char *prefix = cpr_get_prefix(cmpt); local
379 * Also remember the node of the most recent prefix match
386 if (strncmp(prefix, name, strlen(prefix)) == 0) {
395 * if there is only one match on the prefix, we can
402 (void) strcat(out_path, prefix);
447 * Return a pointer to the prefix (i.e., the basic unqualified node name)
453 static char prefix[OBP_MAXDRVNAME]; local
457 (void) strncpy(prefix, cmpt, len);
458 prefix[le
[all...]
/illumos-gate/usr/src/cmd/init/
H A Dinit.c161 * EXEC The length of the prefix string added to all comamnds
2991 * The "prefix" parameter indicates whether or not "INIT: " should precede the
3000 console(boolean_t prefix, char *format, ...) argument
3014 if (prefix)
3035 if (prefix)
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c953 "\"%s\"; \"SMF_\" prefix is reserved.\n"), name);
1948 lxml_label_to_groupname(const char *prefix, const char *in) argument
1957 (void) strlcpy(out, prefix, 2 * max_scf_name_len + 1);
2975 * determines whcih prefix we will use for the property group name.
2983 /* PG name contains only the prefix in this case */
3003 const char *prefix; local
3015 * merely need to pick the appropriate prefix.
3018 prefix = SCF_PG_TM_PG_PATTERN_N_PREFIX;
3020 prefix = SCF_PG_TM_PG_PATTERN_NT_PREFIX;
3023 prefix, nam
[all...]
/illumos-gate/usr/src/uts/sparc/dtrace/
H A Dsdt.c190 char *prefix = prov->sdtp_prefix; local
192 if (strncmp(name, prefix, strlen(prefix)) == 0) {
193 name += strlen(prefix);
/illumos-gate/usr/src/uts/sun4/os/
H A Dmlsetup.c464 const char prefix[] = "/platform/"; local
478 if (strncmp(p, prefix, sizeof (prefix) - 1) != 0)
480 p += sizeof (prefix) - 1;
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c337 enum_lookup(char *type, int val, const char *prefix, size_t size, char *out) argument
340 size_t len = strlen(prefix);
349 if (strncmp(cp, prefix, len) == 0)
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_print.c67 const char *pa_prefix; /* element prefix string */
306 * "arg" be the common prefix, if any.
326 return (str == arg); /* only continue if prefix is non-empty */
333 size_t e_prefix; /* length of initial prefix */
334 uint_t e_allprefix; /* apply prefix to first guy, too */
362 size_t prefix = eiip->e_prefix; local
367 if (eiip->e_first && !eiip->e_allprefix && prefix > 0) {
368 char c1 = buf[prefix];
369 char c2 = buf[prefix + 1];
370 buf[prefix]
408 char prefix[MDB_SYM_NAMLEN + 2]; local
531 char prefix[MDB_SYM_NAMLEN]; local
[all...]
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DmDNSUNP.c71 /* Converts a prefix length to IPv6 network mask */
232 * Converts prefix length to network mask. Assumes
233 * addr points to a zeroed out buffer and prefix <= sizeof(addr)
237 static void plen_to_netmask(int prefix, unsigned char *addr) { argument
238 for (; prefix > 8; prefix -= 8)
240 for (; prefix > 0; prefix--)
746 /* Some platforms (*BSD) inject the prefix in IPv6LL addresses */
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A Duds_daemon.c848 char prefix[16] = "---:"; local
849 if (instance->request) mDNS_snprintf(prefix, sizeof(prefix), "%3d:", instance->request->sd);
850 LogOperation(fmt, prefix, srs->RR_SRV.resrec.name->c, mDNSVal16(srs->RR_SRV.resrec.rdata->u.srv.port),
5239 char prefix[16]; local
5241 mDNS_snprintf(prefix, sizeof(prefix), " -> ");
5243 mDNS_snprintf(prefix, sizeof(prefix), "%3d:", req->sd);
5246 LogMsgNoIdent("%s No operation yet on this socket", prefix);
[all...]
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c1875 * show_properties(group, protocol, prefix)
1881 * The "prefix" is always applied. The caller knows whether it wants
1882 * some type of prefix string (white space) or not. Once the prefix
1888 show_properties(sa_group_t group, char *protocol, char *prefix) argument
1898 (void) printf("%s", prefix);
1899 prefix = "";
1904 (void) printf("%s", prefix);
1905 prefix = "";
1914 (void) printf("%s", prefix);
[all...]
/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c1705 * fix_resource_name(share, name, prefix)
1707 * Construct a name where the ZFS dataset has the prefix replaced with "name".
1710 fix_resource_name(sa_share_t share, char *name, char *prefix) argument
1717 if (prefix == NULL)
1725 prelen = strlen(prefix);
1727 if (strncmp(dataset, prefix, prelen) == 0)
1850 char *prefix; local
1868 * "prefix" property since we will
1872 prefix = sa_get_group_attr(parent, "prefix");
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c3321 * length of already existing prefix of the given path. We also fetch the
3439 /* make sure prefix exists */
3508 int prefix; local
3526 if (check_parents(hdl, path, NULL, B_TRUE, &prefix) != 0)
3530 rc = create_parents(hdl, path_copy, prefix);

Completed in 202 milliseconds

1234567891011