Searched refs:mode (Results 576 - 600 of 1589) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/test/zfs-tests/cmd/mkbusy/
H A Dmkbusy.c160 mode_t mode = S_IRUSR | S_IWUSR; local
164 if ((fd = open(fpath, flags, mode)) < 0)
/illumos-gate/usr/src/uts/common/syscall/
H A Dacctctl.c429 int mode = AC_MODE(cmd); local
444 switch (mode) { /* sanity check */
476 if ((mode == AC_FLOW || mode == AC_NET) &&
489 if ((mode == AC_FLOW || mode == AC_NET) &&
502 if ((mode == AC_FLOW || mode == AC_NET) &&
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfx_private.h72 uint32_t mode);
91 extern int gfxp_vgatext_ioctl(dev_t dev, int cmd, intptr_t data, int mode,
/illumos-gate/usr/src/uts/common/sys/
H A Dstmf_ioctl.h288 int stmf_copyin_iocdata(intptr_t data, int mode, stmf_iocdata_t **iocd,
290 int stmf_copyout_iocdata(intptr_t data, int mode, stmf_iocdata_t *iocd,
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb5.h39 int mode);
60 int mode);
/illumos-gate/usr/src/lib/libbc/csu/common/
H A Dmon.c204 moncontrol(int mode) argument
208 if (mode) {
/illumos-gate/usr/src/uts/sun4u/starcat/sys/post/
H A Dscat_dcd.h254 #define PRD_MCS_IMODE(mode) (((uint8_t)(mode) & 0x3) << 2)
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmem_cache.c554 mem_cache_ioctl_ops(int cmd, int mode, cache_info_t *cache_info) argument
888 sizeof (Lxcache_tag_data), mode)
901 mem_cache_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
918 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
920 sizeof (cache_info32), mode) != DDI_SUCCESS) {
933 sizeof (cache_info), mode) != DDI_SUCCESS) {
950 if ((mode & FWRITE) == 0) {
961 ret_val = mem_cache_ioctl_ops(cmd, mode, &cache_info);
/illumos-gate/usr/src/uts/sun4u/lw8/sys/
H A Dsgfru_priv.h92 int mode; member in struct:__anon9838
103 static int sgfru_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dllib-llp63 int mkdir_lpdir ( char * path , int mode );
/illumos-gate/usr/src/cmd/ls/
H A Dls.c1288 /* ACL: additional access mode flag */
1687 * Do re-calculate the mode for group for ACE_T type of acls.
1689 * POSIX ACL's, then it does a special calculation of group mode
1693 * algorithm is used for the group mode calculation only.
1701 * unix mode bits for the group.
1710 int mode = 0, seen = 0; local
1729 * that will be the group mode bit.
1738 mode |= S_IRGRP;
1745 mode |= S_IWGRP;
1752 mode |
2090 int mode; local
2733 color_match(const char *fname, mode_t mode, ls_color_t *color) argument
2892 ls_color_find(const char *fname, mode_t mode) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/lvm/
H A Dmd_mddb.h75 #define MDDB_E_ACCOK (-13) /* 50/50 mode */
865 extern int getmed_ioctl(mddb_med_parm_t *medpp, int mode);
866 extern int setmed_ioctl(mddb_med_parm_t *medpp, int mode);
868 int mode);
869 extern int take_set(mddb_config_t *cp, int mode);
870 extern int release_set(mddb_config_t *cp, int mode);
872 int mode);
874 int mode);
876 int mode);
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Dapalis-imx6.dts82 phy-mode = "rgmii";
H A Ddigi-ccwmx53.dts124 phy-mode = "rmii";
/illumos-gate/usr/src/boot/sys/boot/i386/btx/btxldr/
H A Dbtxldr.S31 .set MEM_STUB,0x600 # Real mode stub
58 .set BDA_SCR,0x449 # Video mode
246 movl $start.8,%esi # Real mode stub
262 movl %eax,%cr0 # mode
310 cmpb %ah,BDA_SCR-BDA_POS(%ebx) # Mono mode?
383 m_mem: .asciz "Starting in protected mode (base mem=\0)\n"
/illumos-gate/usr/src/cmd/acpi/acpidump/
H A Dosillumostbl.c1000 char mode[3]; local
1002 bzero(mode, sizeof (mode));
1004 (void) strlcat(mode, "r", sizeof (mode));
1007 (void) strlcat(mode, "w", sizeof (mode));
1009 return (fopen(Path, mode));
/illumos-gate/usr/src/lib/libc/port/aio/
H A Dposix_aio.c122 lio_listio(int mode, aiocb_t *_RESTRICT_KYWD const *_RESTRICT_KYWD list, argument
147 switch (mode) {
182 error = (int)_kaio(AIOLIO, mode, list, nent, sigevp);
196 if (mode == LIO_WAIT ||
204 head->lio_mode = mode;
206 if (mode == LIO_NOWAIT && sigevp != NULL) {
280 if (mode == LIO_WAIT && oerrno == ENOTSUP) {
286 (void) _kaio(AIOLIOWAIT, mode, list, nent, sigevp);
1319 lio_listio64(int mode, aiocb64_t *_RESTRICT_KYWD const *_RESTRICT_KYWD list, argument
1344 switch (mode) {
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dterm.h146 int set_videomode (int mode);
/illumos-gate/usr/src/cmd/pwconv/
H A Dpwconv.c104 mode_t mode; local
164 /* mode for the password file should be read-only or less */
178 /* default mode mask of the shadow file */
179 mode = S_IAMB & ~(S_IRUSR);
182 /* if the shadow file exists, get mode mask and group id of the file */
188 mode = S_IAMB & ~(buf.st_mode & S_IRUSR);
202 * get the mode of shadow password file -- mode of the file should
205 (void) umask(mode);
460 /* Make new mode sam
[all...]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_dl.c59 dlmopen(Lmid_t lmid, const char *pathname, int mode) argument
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Deditmap.c94 int mode; local
277 mode = O_RDONLY;
282 mode = O_RDWR | O_CREAT;
289 errno = smdb_open_database(&database, mapname, mode, smode, sff,
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dio.h30 /* mode for sm io (exposed) */
38 # define SM_IO_BINARY 0x0 /* binary mode: not used in Unix */
39 #define SM_IS_BINARY(mode) (((mode) & SM_IO_BINARY) != 0)
40 #define SM_IO_MODE(mode) ((mode) & 0x0f)
91 ** try to write or read from a file that is in `read' or `write' mode.
92 ** (Moreover, they can, and do, automatically switch from read mode to
93 ** write mode, and back, on "r+" and "w+" files.)
135 struct sm_file *f_modefp; /* sync mode wit
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c593 * This uses a fancy chmod() by setting a minimal ACL which sets the mode
597 _newdac(char *file, uid_t owner, gid_t group, o_mode_t mode) argument
601 if (mode == ALLOC_MODE) {
620 if (chmod(file, mode) == -1) {
625 err = acl_strip(file, owner, group, (mode_t)mode);
702 mode_t mode = ALLOC_MODE; local
709 if ((error = _newdac(*file, uid, gid, mode)) != 0) {
723 mode)) != 0) {
896 char *mode, *cmd, *wdwcmd, *zoneroot; local
925 mode
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dwebnfs.x121 unsigned mode; /* protection mode bits */
256 wnl_mode3 mode;
/illumos-gate/usr/src/cmd/sh/
H A Dhashserv.c449 * given by mode.
455 chk_access(unsigned char *name, mode_t mode, int regflag) argument
469 if(mode == S_IEXEC && regflag && ftype != S_IFREG)
471 if(access((char *)name, 010|(mode>>6)) == 0) {
473 if (ftype != S_IFREG || mode != S_IEXEC)

Completed in 2682 milliseconds

<<21222324252627282930>>