/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | parse.c | 1370 int mode = (tok==OPROCSYM); local 1374 argp->argchn.ap = (struct argnod*)makeparent(lexp,mode?TFORK|FPIN|FAMP|FPCL:TFORK|FPOU,t); 1375 argp->argflag = (ARG_EXP|mode);
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_domain.c | 852 * Lock the cache with the specified mode. 861 smb_dcache_lock(int mode) argument 872 if (mode == SMB_DCACHE_RDLOCK) { 893 if (mode == SMB_DCACHE_RDLOCK)
|
H A D | smb_nic.c | 977 * Opens host database with the given mode. 980 smb_nic_dbopen(int mode) argument 985 err = sqlite3_open_v2(SMB_NIC_DB_NAME, &db, mode, NULL);
|
/osnet-11/usr/src/lib/liblldp/common/ |
H A D | liblldp_prop.c | 162 { "mode", LLDP_PROPCLASS_AGENT, LLDP_PROPTYPE_MODE, 223 lldp_mode2str(lldp_admin_status_t mode) argument 228 if (lldp_mode_vals[i].lvd_val == mode) 1080 pdp = i_lldp_get_propdesc(LLDP_PROPCLASS_AGENT, "mode"); 1200 str = "mode";
|
/osnet-11/usr/src/lib/libnetcfg/common/ |
H A D | libnetcfg_files.c | 1020 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; local 1032 fd = netcfg_zopen(tmpdbname, oflag, mode, dbzoneid, &ferr); 1036 fd = open(tmpdbname, oflag, mode);
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | clnt_vc.c | 104 static const char no_nonblock_str[] = "could not set transport blocking mode"; 155 /* Default size of the IO buffer used in non blocking mode */ 168 * Change the mode of the underlying fd. 176 * If the underlying fd is already in the required mode, 1319 /* Handle the non-blocking mode */ 1324 * mode is non blocking, we return RPC_CANTSEND. 1558 set_flush_mode(struct ct_data *ct, int mode) argument 1560 switch (mode) { 1567 ct->ct_blocking_mode = mode;
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | dfs.c | 1401 * Opens DFS root directory's extended attribute with the given mode. 1923 mode_t mode; local 1931 mode = umask(0); 1933 (void) umask(mode);
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 814 * streaming mode on the CTC, the file descriptor must be closed, re-opened 973 int cnt, mode; local 982 if ((mode = fcntl(ds_realfd, F_GETFL, 0)) < 0) { 984 } else if (mode & O_WRONLY) {
|
/osnet-11/usr/src/lib/libdevinfo/ |
H A D | devinfo_devperm.c | 71 mode_t mode; member in struct:devperm_info 96 setdevaccess(char *dev, uid_t uid, gid_t gid, mode_t mode, argument 131 err = acl_strip(dev, uid, gid, mode); 150 if (chmod(dev, mode) == -1) { 242 info.mode = (mode_t)strtol(mode_str, &ptr, 8); 243 if (info.mode > 0777 || *ptr != '\0') { 244 err = -1; /* invalid mode, skip */ 248 ": line %d, invalid mode -- %s\n", 534 * login, the ownership and mode 545 info->mode, inf [all...] |
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlaggr.c | 295 * Such aggregations default to STANDARD mode. 445 * Aggregation is not allowed over links with DCB mode. 1004 * Given a LACP mode string, find the corresponding LACP mode number. Returns 1011 dladm_aggr_lacpmode_t *mode; local 1014 mode = &lacp_modes[i]; 1015 if (strncasecmp(str, mode->mode_str, 1016 strlen(mode->mode_str)) == 0) { 1017 *lacp_mode = mode->mode_id; 1026 * Given a LACP mode numbe 1033 dladm_aggr_lacpmode_t *mode; local [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/common/ |
H A D | fac_prov_ipmi.c | 246 uint32_t mode; local 287 * Set the LED mode 290 &mode)) != 0) { 298 if (mode != TOPO_LED_STATE_OFF && 299 mode != TOPO_LED_STATE_ON) { 301 mode); 320 if (mode == TOPO_LED_STATE_ON) 328 topo_mod_dprintf(mod, "Failed to set LED mode (%s)\n", 335 * Get the LED mode 347 mode [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_file.c | 1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 72 * active, and OPENF is opened in read-only mode. So, no changes 1079 krb5_ktfileint_open(krb5_context context, krb5_keytab id, int mode) 1088 (mode == KRB5_LOCKMODE_EXCLUSIVE) ? 1091 if ((mode == KRB5_LOCKMODE_EXCLUSIVE) && (errno == ENOENT)) { 1118 if ((kerror = krb5_lock_file(context, fileno(KTFILEP(id)), mode))) { 1076 krb5_ktfileint_open(krb5_context context, krb5_keytab id, int mode) argument
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/unicode/ |
H A D | ucdata.c | 86 _ucopenfile(char *paths, char *filename, char *mode) argument 106 if ((f = fopen(path, mode)) != 0) 927 /* mode == 0 for canonical, mode == 1 for compatibility */ 930 krb5_ui_4 **out, int *outlen, short mode) 943 if (mode ? uckdecomp(in[j], &num, &decomp) : ucdecomp(in[j], &num, &decomp)) { 929 uccanoncompatdecomp(const krb5_ui_4 *in, int inlen, krb5_ui_4 **out, int *outlen, short mode) argument
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 240 k5db2_dbopen(krb5_db2_context *dbc, char *fname, int flags, int mode, int tempdb) argument 272 db = dbopen(fname, flags, mode, 284 db = dbopen(fname, flags, mode, 599 int mode, gotlock, tries; local 603 mode = KRB5_DB_LOCKMODE_EXCLUSIVE; 606 mode = KRB5_LOCKMODE_EXCLUSIVE; 610 mode = KRB5_LOCKMODE_SHARED; 621 if (db_ctx->db_locks_held && (db_ctx->db_lock_mode >= mode)) { 1331 krb5_db2_db_set_lockmode(krb5_context context, krb5_boolean mode) argument 1363 krb5_db2_open(krb5_context kcontext, char *conf_section, char **db_args, int mode) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | bfs.c | 95 grub_uint32_t mode; member in struct:grub_bfs_inode 617 if (((grub_bfs_to_cpu32 (ino->mode) & ATTR_TYPE) != ATTR_DIR)) 673 if (((grub_bfs_to_cpu32 (ino->mode) & ATTR_TYPE) == ATTR_LNK)) 815 info.dir = ((grub_bfs_to_cpu32 (ino.ino.mode) & ATTR_TYPE) == ATTR_DIR); 831 if (((grub_bfs_to_cpu32 (ino.ino.mode) & ATTR_TYPE) != ATTR_DIR)) 859 if (((grub_bfs_to_cpu32 (ino.ino.mode) & ATTR_TYPE) != ATTR_REG))
|
H A D | iso9660.c | 595 /* The mode information (st_mode). */ 600 grub_uint32_t mode = ((entry->data[0] + (entry->data[1] << 8)) 603 switch (mode) 599 grub_uint32_t mode = ((entry->data[0] + (entry->data[1] << 8)) local
|
H A D | jfs.c | 172 grub_uint32_t mode; member in struct:grub_jfs_inode 403 if (!((grub_le_to_cpu32 (inode->mode) 678 if ((grub_le_to_cpu32 (data->currinode.mode) 772 info.dir = (grub_le_to_cpu32 (inode.mode) 811 if (! ((grub_le_to_cpu32 (data->currinode.mode)
|
H A D | ufs.c | 66 #define INODE_MODE(data) INODE_ENDIAN (data,mode,16,16) 134 grub_uint16_t mode; member in struct:grub_ufs_inode 170 grub_uint16_t mode; member in struct:grub_ufs_inode 637 info.dir = ((grub_le_to_cpu16 (inode.mode) & GRUB_UFS_ATTR_TYPE)
|
H A D | xfs.c | 112 grub_uint16_t mode; member in struct:grub_xfs_inode 433 grub_xfs_mode_to_filetype (grub_uint16_t mode) 435 if ((grub_be_to_cpu16 (mode) 438 else if ((grub_be_to_cpu16 (mode) 441 else if ((grub_be_to_cpu16 (mode) 476 grub_xfs_mode_to_filetype (fdiro->inode.mode), 431 grub_xfs_mode_to_filetype(grub_uint16_t mode) argument
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/ |
H A D | cipher.c | 192 int mode; member in struct:gcry_cipher_handle 206 unsigned char ctr[MAX_BLOCKSIZE]; /* For Counter (CTR) mode. */ 383 /* We do not support module loading in fips mode. */ 490 function returns the cipher mode (GCRY_CIPHER_MODE_*) associated 491 with that OID or 0 if no mode is known. Passing NULL for string 497 int ret = 0, mode = 0; 505 mode = oid_spec.mode; 508 return mode; 657 the cipher mode MOD 495 int ret = 0, mode = 0; local 668 gcry_cipher_open(gcry_cipher_hd_t *handle, int algo, int mode, unsigned int flags) argument [all...] |
H A D | primegen.c | 740 _gcry_generate_elg_prime (int mode, unsigned pbits, unsigned qbits, 746 err = prime_generate_internal ((mode == 1), &prime, pbits, qbits, g, 1129 unsigned int mode = 0; 1136 mode = 1; 1139 err = prime_generate_internal ((mode==1), &prime_generated, prime_bits, 738 _gcry_generate_elg_prime(int mode, unsigned pbits, unsigned qbits, gcry_mpi_t g, gcry_mpi_t **ret_factors) argument 1127 unsigned int mode = 0; local
|
H A D | rijndael.c | 115 /* The on-the-fly self tests are only run in non-fips mode. In fips 116 mode explicit self-tests are required. Actually the on-the-fly 487 /* Bulk encryption of complete blocks in CFB mode. Caller needs to 532 /* Bulk encryption of complete blocks in CBC mode. Caller needs to 716 /* Bulk decryption of complete blocks in CFB mode. Caller needs to 766 /* Bulk decryption of complete blocks in CBC mode. Caller needs to 939 int mode; 1022 if (tv[tvi].mode == requested_mode) 1025 Fail ("no test data for this mode"); 1027 err = _gcry_cipher_open (&hdenc, GCRY_CIPHER_AES, tv[tvi].mode, 936 int mode; member in struct:tv [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/ |
H A D | primegen.c | 739 _gcry_generate_elg_prime (int mode, unsigned pbits, unsigned qbits, 745 err = prime_generate_internal ((mode == 1), &prime, pbits, qbits, g, 1128 unsigned int mode = 0; 1135 mode = 1; 1138 err = prime_generate_internal ((mode==1), &prime_generated, prime_bits, 737 _gcry_generate_elg_prime(int mode, unsigned pbits, unsigned qbits, gcry_mpi_t g, gcry_mpi_t **ret_factors) argument 1126 unsigned int mode = 0; local
|
/osnet-11/usr/src/grub/grub2/grub-core/video/i386/pc/ |
H A D | vbe.c | 40 /* Track last mode to support cards which fail on get_mode. */ 260 grub_vbe_bios_get_mode_info (grub_uint32_t mode, argument 265 regs.ecx = mode; 274 /* Call VESA BIOS 0x4f02 to set video mode, return status. */ 276 grub_vbe_bios_set_mode (grub_uint32_t mode, argument 282 regs.ebx = mode; 294 grub_vbe_bios_get_mode (grub_uint32_t *mode) argument 301 *mode = regs.ebx & 0xffff; 607 return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "cannot get preferred mode"); 624 /* Try to get mode inf 714 grub_vbe_get_video_mode(grub_uint32_t *mode) argument 733 grub_vbe_get_video_mode_info(grub_uint32_t mode, struct grub_vbe_mode_info_block *mode_info) argument 862 vbe2videoinfo(grub_uint32_t mode, const struct grub_vbe_mode_info_block *vbeinfo, struct grub_video_mode_info *mode_info) argument [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_utils.c | 145 "\t-x led[=LED,mode=on|off|blink] " 180 {MSG_MISSING_LED_MODE, 0, 1, "Missing LED mode"} 623 led_modeid_t mode) 636 dgettext(TEXT_DOMAIN, led_mode_strs[mode])); 622 cfga_led_msg(struct cfga_msg *msgp, apid_t *apidp, led_strid_t led, led_modeid_t mode) argument
|