Searched refs:mode (Results 626 - 650 of 1589) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_fdio.c125 int flags, mode_t mode)
138 fd = open64(buf, flags, mode);
147 fd = open64(fname, flags, mode);
299 * If we are operating on a disk in raw mode, we must do our own
124 mdb_fdio_create_path(const char *path[], const char *fname, int flags, mode_t mode) argument
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcinfo-list.c50 int resourceType, int flags, int mode);
373 int resourceType, int flags, int mode)
384 printHBAPortInfo(&port, &attrs, mode);
615 int mode; local
664 "Error: Unsupported option for target mode: %c.\n"),
669 mode = TARGET_MODE;
672 mode = INITIATOR_MODE;
692 processHBA_flags, mode);
733 int mode; local
786 /* now see if it is a target mode F
371 processHBA(HBA_HANDLE handle, HBA_ADAPTERATTRIBUTES attrs, int portIndex, HBA_PORTATTRIBUTES port, HBA_FCPTARGETMAPPINGV2 *map, int resourceType, int flags, int mode) argument
[all...]
/illumos-gate/usr/src/cmd/chgrp/
H A Dchgrp.c132 #define SETUGID_PRESERVE(dir, mode) \
133 if (((mode) & (S_ISGID|S_ISUID)) != 0) \
134 (void) chmod((dir), (mode) & ~S_IFMT)
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dckentry.c118 ept->ainfo.mode = (ept->ainfo.mode & S_IAMB);
123 ept->ainfo.mode |= 0644;
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmterm.c60 * mode - terminal mode, CANON, RAW
66 set_termio(fd,options,aspeed,clear,mode)
71 long mode;
99 if (mode & CANON) {
123 log("sttyparse unknown mode: %s", uarg);
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf_trace.c153 ASSERT(ops->mode == TNF_ALLOC_REUSABLE);
207 ALLOC2(ops, record_size, bufhdr, ops->mode);
248 ALLOC2(ops, record_size, bufhdr, ops->mode);
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_vm.c83 * the specified cache attributes (mode).
86 gfxp_map_kernel_space(uint64_t start, size_t size, uint32_t mode) argument
108 if (mode == GFXP_MEMORY_CACHED)
110 else if (mode == GFXP_MEMORY_WRITECOMBINED)
/illumos-gate/usr/src/uts/common/io/
H A Dopenprom.c349 int mode; member in struct:opromioctl_args
359 int mode; local
372 mode = argp->mode;
453 if ((mode & FREAD) == 0) {
462 if (mode & FWRITE) {
475 if ((mode & FREAD) == 0) {
496 if ((mode & FREAD) == 0) {
503 if (!(mode & FWRITE))
1091 opromioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument
[all...]
H A Dpm.c47 #include <sys/mode.h>
914 pm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, int *rval_p) argument
992 if ((mode & DATAMODEL_MASK) == DATAMODEL_ILP32) {
996 sizeof (req32), mode) != 0) {
1071 sizeof (int32_t), mode)) {
1115 &req, sizeof (req), mode) != 0) {
1178 req.datasize, mode) != 0) {
1808 if ((mode & DATAMODEL_MASK) == DATAMODEL_ILP32) {
1845 wordsize, mode) != 0) {
1868 wordsize, mode) !
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Ddbm.c169 kdb2_dbm_open(file, flags, mode)
171 int flags, mode;
185 return ((DBM *)__hash_open(path, flags, mode, &info, 0));
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_open.c60 __rec_open(fname, flags, mode, openinfo, dflags)
62 int flags, mode, dflags;
73 if (fname != NULL && (rfd = open(fname, flags | O_BINARY, mode)) < 0)
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dltc1427.c220 ltc1427_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument
253 mode) != DDI_SUCCESS) {
266 sizeof (int32_t), mode) != DDI_SUCCESS) {
H A Dpcf8591.c224 pcf8591_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument
308 sizeof (int32_t), mode) != DDI_SUCCESS) {
338 sizeof (int32_t), mode) != DDI_SUCCESS) {
368 (caddr_t)arg, sizeof (int32_t), mode)
381 sizeof (uint_t), mode) != DDI_SUCCESS) {
391 " value is not a valid mode\n",
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_tools_4u.c345 pxtool_bus_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode) argument
362 if (ddi_copyin(arg, &prg, sizeof (pcitool_reg_t), mode) !=
412 mode) != DDI_SUCCESS) {
/illumos-gate/usr/src/uts/intel/io/intel_nhm/
H A Dintel_nhmdrv.c113 inhm_mc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
143 mode) < 0)
148 inhm_mc_snapshotsz[chip], mode) < 0)
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dlpfsck.c227 mode_t mode; local
300 mode = va_arg(ap, mode_t);
303 (void) chownmod(path, uid, gid, mode);
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_regops.c63 * 1 0 APIC is enabled in xAPIC mode
64 * 1 1 APIC is enabled in X2APIC mode
68 apic_mode_t apic_mode = LOCAL_APIC; /* Default mode is Local APIC */
208 * and x2APIC mode.
272 * Determine which mode the current CPU is in. See the table above.
356 * Generates an interprocessor interrupt to another CPU when X2APIC mode is
412 * Generates IPI to another CPU depending on the local APIC mode.
414 * mode of the local APIC, but that may not match the actual mode
425 int mode local
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/checksum/skein/
H A Dskein_test.c272 #define SKEIN_ALGO_TEST(_m, mode, diglen, testdigest) \
274 Skein ## mode ## _Ctxt_t ctx; \
276 (void) Skein ## mode ## _Init(&ctx, diglen); \
277 (void) Skein ## mode ## _Update(&ctx, _m, sizeof (_m)); \
278 (void) Skein ## mode ## _Final(&ctx, digest); \
279 (void) printf("Skein" #mode "/" #diglen \
290 #define SKEIN_PERF_TEST(mode, diglen) \
292 Skein ## mode ## _Ctxt_t ctx; \
301 (void) Skein ## mode ## _Init(&ctx, diglen); \
303 (void) Skein ## mode ## _Updat
[all...]
/illumos-gate/usr/src/lib/libc/port/aio/
H A Daio.c349 aio_result_t *resultp, int mode)
389 * _aio_do_request() needs the original request code (mode) to be able
393 if (mode == AIOAREAD64 || mode == AIOAWRITE64)
394 umode = mode - AIOAREAD64;
396 umode = mode;
434 reqp->req_op = mode;
874 _aio_create_worker(aio_req_t *reqp, int mode) argument
885 switch (mode) {
906 aio_panic("_aio_create_worker: invalid mode");
348 _aiorw(int fd, caddr_t buf, int bufsz, offset_t offset, int whence, aio_result_t *resultp, int mode) argument
1713 _aio_req_add(aio_req_t *reqp, aio_worker_t **nextworker, int mode) argument
2119 _aio_rw(aiocb_t *aiocbp, aio_lio_t *lio_head, aio_worker_t **nextworker, int mode, int flg) argument
2240 _aio_rw64(aiocb64_t *aiocbp, aio_lio_t *lio_head, aio_worker_t **nextworker, int mode, int flg) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/daktari/io/
H A Dhpc3130_dak.c334 hpc3130_get(intptr_t arg, int reg, hpc3130_unit_t *unitp, int mode) argument
367 sizeof (uint8_t), mode) != DDI_SUCCESS) {
377 hpc3130_set(intptr_t arg, int reg, hpc3130_unit_t *unitp, int mode) argument
389 sizeof (uint8_t), mode) != DDI_SUCCESS) {
415 hpc3130_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
454 mode);
459 mode);
469 mode);
474 unitp, mode);
479 unitp, mode);
[all...]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_ti.c57 ibcm_state_data_t *statep, ibt_execution_mode_t mode);
110 ibt_execution_mode_t mode, ibt_chan_open_args_t *chan_args,
155 channel, flags, mode, chan_args, ret_args);
169 if (mode == IBT_NONBLOCKING) {
173 "non-blocking mode", channel);
176 } else if (mode == IBT_BLOCKING) {
180 "blocking mode", channel);
195 } else { /* any other mode is not valid for ibt_open_rc_channel */
197 "invalid mode %x specified", channel, mode);
109 ibt_open_rc_channel(ibt_channel_hdl_t channel, ibt_chan_open_flags_t flags, ibt_execution_mode_t mode, ibt_chan_open_args_t *chan_args, ibt_rc_returns_t *ret_args) argument
1206 ibt_close_rc_channel(ibt_channel_hdl_t channel, ibt_execution_mode_t mode, void *priv_data, ibt_priv_data_len_t priv_data_len, uint8_t *ret_status, void *ret_priv_data, ibt_priv_data_len_t *ret_priv_data_len_p) argument
1332 ibcm_close_rc_channel(ibt_channel_hdl_t channel, ibcm_state_data_t *statep, ibt_execution_mode_t mode) argument
1857 ibcm_validate_dqpn_data(ibt_ud_dest_attr_t *attr, ibt_execution_mode_t mode, ibt_ud_returns_t *ret_args) argument
1925 ibcm_ud_get_dqpn(ibt_ud_dest_attr_t *attr, ibt_execution_mode_t mode, ibt_ud_returns_t *ret_args) argument
2177 ibt_request_ud_dest(ibt_ud_dest_hdl_t ud_dest, ibt_execution_mode_t mode, ibt_ud_dest_attr_t *attr, ibt_ud_returns_t *ud_ret_args) argument
2276 ibt_ud_get_dqpn(ibt_ud_dest_attr_t *attr, ibt_execution_mode_t mode, ibt_ud_returns_t *returns) argument
4284 ibt_set_alt_path(ibt_channel_hdl_t channel, ibt_execution_mode_t mode, ibt_alt_path_info_t *alt_path, void *priv_data, ibt_priv_data_len_t priv_data_len, ibt_ap_returns_t *ret_args) argument
[all...]
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprobes_ext.c181 if (hndl->mode == KERNEL_MODE) {
206 if (hndl->mode == KERNEL_MODE) {
213 /* process mode - get the probe functions */
239 if (hndl->mode == KERNEL_MODE) {
372 if (hndl->mode == KERNEL_MODE)
422 if (hndl->mode == KERNEL_MODE)
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c364 creat_(tchar *name_, int mode) argument
370 fd = creat((char *)chbuf, mode);
379 open_(path_, flags, mode)
382 int mode; /* May be omitted. */
388 fd = open((char *)chbuf, flags, mode);
/illumos-gate/usr/src/cmd/rmt/
H A Drmt.c119 static char pos[SSIZE], op[SSIZE], mode[SSIZE], count[SSIZE]; variable
432 getstring(mode, sizeof (mode));
433 DEBUG2("rmtd: O %s %s\n", device, mode);
436 * assignment of mode bits between
443 (atoi(mode) & (O_RDONLY|O_WRONLY|O_RDWR)));
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_agpsupport.c104 info.mode = agpinfo->agpi_mode;
192 dev->agp->mode = modes.mode;
193 setup.agps_mode = (uint32_t)modes.mode;
196 DRM_DEBUG("drm_agp_enable: dev->agp->mode=%lx", modes.mode);

Completed in 2115 milliseconds

<<21222324252627282930>>