Searched refs:mode (Results 151 - 175 of 1731) sorted by relevance

1234567891011>>

/freebsd-9.3-release/lib/libprocstat/
H A Dcommon_kvm.c137 mode_t mode; local
148 mode = (mode_t)nfsnode.n_vattr.va_mode;
151 mode |= S_IFREG;
154 mode |= S_IFDIR;
157 mode |= S_IFBLK;
160 mode |= S_IFCHR;
163 mode |= S_IFLNK;
166 mode |= S_IFSOCK;
169 mode |= S_IFIFO;
174 vn->vn_mode = mode;
[all...]
/freebsd-9.3-release/sys/dev/ata/chipsets/
H A Data-amd.c57 static int ata_amd_setmode(device_t dev, int target, int mode);
109 ata_amd_setmode(device_t dev, int target, int mode) argument
122 mode = min(mode, ctlr->chip->max_dma);
124 if (ata_dma_check_80pin && mode > ATA_UDMA2 &&
127 mode = ATA_UDMA2;
131 if (mode >= ATA_UDMA0) {
132 pci_write_config(parent, reg, modes[mode & ATA_MODE_MASK], 1);
136 piomode = mode;
140 return (mode);
[all...]
H A Data-highpoint.c57 static int ata_highpoint_setmode(device_t dev, int target, int mode);
58 static int ata_highpoint_check_80pin(device_t dev, int mode);
160 ata_highpoint_setmode(device_t dev, int target, int mode) argument
167 /* HPT366 HPT370 HPT372 HPT374 mode */
185 mode = min(mode, ctlr->chip->max_dma);
186 mode = ata_highpoint_check_80pin(dev, mode);
192 mode = min(mode, ATA_UDMA
199 ata_highpoint_check_80pin(device_t dev, int mode) argument
[all...]
/freebsd-9.3-release/tools/regression/pjdfstest/tests/chmod/
H A D09.t22 expect 0640 stat ${n0}/${n1} mode
24 expect 0530 stat ${n0}/${n1} mode
28 expect 0530 stat ${n0}/${n1} mode
31 expect 0600 stat ${n0}/${n1} mode
33 expect 0640 stat ${n0}/${n1} mode
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_power.c94 ar5210SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, int setChip) argument
108 modes[ahp->ah_powerMode], modes[mode],
110 switch (mode) {
121 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: unknown power mode %u\n",
122 __func__, mode);
125 ahp->ah_powerMode = mode;
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_power.c84 * fames. If request, set power mode of chip to
96 ar5211SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, int setChip) argument
110 modes[ahp->ah_powerMode], modes[mode],
112 switch (mode) {
123 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: unknown power mode %u\n",
124 __func__, mode);
127 ahp->ah_powerMode = mode;
/freebsd-9.3-release/tools/regression/pjdfstest/tests/chown/
H A D00.t155 expect 06555,65534,65533 stat ${n0} mode,uid,gid
157 expect "(06555|0555),65532,65531" stat ${n0} mode,uid,gid
159 expect 06555,65532,65531 stat ${n0} mode,uid,gid
161 expect "(06555|0555),0,0" stat ${n0} mode,uid,gid
166 expect 06555,65534,65533 stat ${n0} mode,uid,gid
167 expect 06555,65534,65533 stat ${n1} mode,uid,gid
169 expect "(06555|0555),65532,65531" stat ${n0} mode,uid,gid
170 expect "(06555|0555),65532,65531" stat ${n1} mode,uid,gid
172 expect 06555,65532,65531 stat ${n0} mode,uid,gid
173 expect 06555,65532,65531 stat ${n1} mode,ui
[all...]
/freebsd-9.3-release/contrib/ntp/sntp/unity/auto/
H A Dcolour_prompt.rb78 def out_c(mode, colour, str)
82 $stdout.puts str if mode == :puts
83 $stdout.print str if mode == :print
86 $stdout.puts("#{change_to(colour)}#{str}\033[0m") if mode == :puts
87 $stdout.print("#{change_to(colour)}#{str}\033[0m") if mode == :print
/freebsd-9.3-release/contrib/gcc/
H A Dregclass.c197 /* For each hard register, the widest mode object that it can contain.
198 This will be a MODE_INT mode if the register can hold integers. Otherwise
199 it will be a MODE_FLOAT or a MODE_CC mode, whichever is valid for the
204 /* 1 if there is a register of given mode. */
208 /* 1 if class does contain register of given mode. */
264 /* Specify number of hard registers given machine mode occupy. */
550 (as opposed to a multi-register mode). */
565 /* If we couldn't find a valid mode, just use the previous mode.
568 to use DF mode fo
606 memory_move_secondary_cost(enum machine_mode mode, enum reg_class class, int in) argument
649 enum machine_mode found_mode = VOIDmode, mode; local
877 ok_for_base_p_nonstrict(rtx reg, enum machine_mode mode, enum rtx_code outer_code, enum rtx_code index_code) argument
1425 enum machine_mode mode = modes[i]; local
1840 enum machine_mode mode = GET_MODE (ops[!i]); local
1883 copy_cost(rtx x, enum machine_mode mode, enum reg_class class, int to_p, secondary_reload_info *prev_sri) argument
1941 record_address_regs(enum machine_mode mode, rtx x, int context, enum rtx_code outer_code, enum rtx_code index_code, int scale) argument
2129 auto_inc_dec_reg_p(rtx reg, enum machine_mode mode) argument
2596 enum machine_mode mode; local
[all...]
H A Dexpr.c163 /* Record for each mode whether we can move a register directly to or
164 from an object of that mode in memory. If we can't, we won't try
165 to use that mode directly when accessing a field of that mode. */
170 /* Record for each mode whether we can float-extend from memory. */
249 enum machine_mode mode;
268 for (mode = VOIDmode; (int) mode < NUM_MACHINE_MODES;
269 mode = (enum machine_mode) ((int) mode
248 enum machine_mode mode; local
726 convert_to_mode(enum machine_mode mode, rtx x, int unsignedp) argument
742 convert_modes(enum machine_mode mode, enum machine_mode oldmode, rtx x, int unsignedp) argument
875 enum machine_mode mode = VOIDmode, tmode; local
989 move_by_pieces_1 (GEN_FCN (icode), mode, &data); local
1056 enum machine_mode mode = VOIDmode; local
1083 move_by_pieces_1(rtx (genfun) rtx, ...), enum machine_mode mode, struct move_by_pieces *data) argument
1255 enum machine_mode mode = TYPE_MODE (TREE_VALUE (arg)); local
1275 enum machine_mode mode; local
1491 move_block_to_reg(int regno, rtx x, int nregs, enum machine_mode mode) argument
1590 enum machine_mode mode = GET_MODE (XEXP (XVECEXP (orig, 0, i), 0)); local
1642 enum machine_mode mode = GET_MODE (XEXP (XVECEXP (dst, 0, i), 0)); local
1985 enum machine_mode mode = GET_MODE (tmps[i]); local
2194 enum machine_mode mode, tmode; local
2370 enum machine_mode mode = VOIDmode, tmode; local
2448 store_by_pieces_2 (GEN_FCN (icode), mode, data); local
2462 store_by_pieces_2(rtx (genfun) rtx, ...), enum machine_mode mode, struct store_by_pieces *data) argument
2502 enum machine_mode mode = GET_MODE (object); local
2654 enum machine_mode mode; local
2882 emit_move_via_integer(enum machine_mode mode, rtx x, rtx y, bool force) argument
2910 emit_move_resolve_push(enum machine_mode mode, rtx x) argument
2968 emit_move_complex_push(enum machine_mode mode, rtx x, rtx y) argument
3011 emit_move_complex(enum machine_mode mode, rtx x, rtx y) argument
3077 emit_move_ccmode(enum machine_mode mode, rtx x, rtx y) argument
3137 emit_move_multi_word(enum machine_mode mode, rtx x, rtx y) argument
3219 enum machine_mode mode = GET_MODE (x); local
3270 enum machine_mode mode = GET_MODE (x); local
3465 emit_single_push_insn(enum machine_mode mode, rtx x, tree type) argument
3584 emit_push_insn(rtx x, enum machine_mode mode, tree type, rtx size, unsigned int align, int partial, rtx reg, int extra, rtx args_addr, rtx args_so_far, int reg_parm_stack_space, rtx alignment_pad) argument
3842 move_block_to_reg (REGNO (reg), x, partial / UNITS_PER_WORD, mode); local
4832 store_constructor_field(rtx target, unsigned HOST_WIDE_INT bitsize, HOST_WIDE_INT bitpos, enum machine_mode mode, tree exp, tree type, int cleared, int alias_set) argument
4942 enum machine_mode mode; local
5143 enum machine_mode mode; local
5329 enum machine_mode mode = GET_MODE (target); local
5450 store_field(rtx target, HOST_WIDE_INT bitsize, HOST_WIDE_INT bitpos, enum machine_mode mode, tree exp, tree type, int alias_set) argument
5647 enum machine_mode mode = VOIDmode; local
6783 enum machine_mode mode; local
7039 enum machine_mode mode = TYPE_MODE (TREE_TYPE (TREE_TYPE (exp))); local
7356 enum machine_mode mode = TYPE_MODE (type); local
7466 enum machine_mode mode = TYPE_MODE (TREE_TYPE (tem)); local
9028 do_store_flag(tree exp, rtx target, enum machine_mode mode, int only_cheap) argument
9361 do_tablejump(rtx index, enum machine_mode mode, rtx range, rtx table_label, rtx default_label) argument
9452 vector_mode_valid_p(enum machine_mode mode) argument
9483 enum machine_mode inner, mode; local
[all...]
/freebsd-9.3-release/sys/dev/drm2/i915/
H A Dintel_lvds.c146 static void intel_lvds_dpms(struct drm_encoder *encoder, int mode) argument
150 if (mode == DRM_MODE_DPMS_ON)
159 struct drm_display_mode *mode)
164 if (mode->hdisplay > fixed_mode->hdisplay)
166 if (mode->vdisplay > fixed_mode->vdisplay)
173 centre_horizontally(struct drm_display_mode *mode, argument
179 sync_width = mode->crtc_hsync_end - mode->crtc_hsync_start;
180 blank_width = mode->crtc_hblank_end - mode
158 intel_lvds_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) argument
197 centre_vertically(struct drm_display_mode *mode, int height) argument
232 intel_lvds_mode_fixup(struct drm_encoder *encoder, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
432 intel_lvds_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
470 struct drm_display_mode *mode; local
[all...]
/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Dradeon_legacy_crtc.c38 struct drm_display_mode *mode)
50 struct drm_display_mode *mode)
55 int xres = mode->hdisplay;
56 int yres = mode->vdisplay;
84 fp_crtc_h_total_disp = ((((mode->crtc_htotal / 8) - 1) & 0x3ff)
85 | ((((mode->crtc_hdisplay / 8) - 1) & 0x1ff) << 16));
87 hsync_wid = (mode->crtc_hsync_end - mode->crtc_hsync_start) / 8;
90 hsync_start = mode->crtc_hsync_start - 8;
94 | ((mode
37 radeon_overscan_setup(struct drm_crtc *crtc, struct drm_display_mode *mode) argument
49 radeon_legacy_rmx_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode) argument
297 radeon_crtc_dpms(struct drm_crtc *crtc, int mode) argument
550 radeon_set_crtc_timing(struct drm_crtc *crtc, struct drm_display_mode *mode) argument
709 radeon_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) argument
1002 radeon_crtc_mode_fixup(struct drm_crtc *crtc, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
1011 radeon_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode, int x, int y, struct drm_framebuffer *old_fb) argument
[all...]
/freebsd-9.3-release/contrib/ntp/include/
H A Dtimepps-Solaris.h93 * Device/implementation parameters (mode)
108 * Kernel actions (mode)
126 #define PPS_KC_HARDPPS_PLL 1 /* phase-lock mode */
127 #define PPS_KC_HARDPPS_FLL 2 /* frequency-lock mode */
155 int current_mode; /* current mode bits */
170 int mode; /* mode bits */ member in struct:pps_params
267 punit->params.mode = PPS_CAPTUREASSERT | PPS_TSFMT_TSPEC;
308 int mode, mode_in; local
337 mode_in = params->mode;
[all...]
H A Dtimepps-SunOS.h93 * Device/implementation parameters (mode)
108 * Kernel actions (mode)
126 #define PPS_KC_HARDPPS_PLL 1 /* phase-lock mode */
127 #define PPS_KC_HARDPPS_FLL 2 /* frequency-lock mode */
155 int current_mode; /* current mode bits */
170 int mode; /* mode bits */ member in struct:pps_params
238 (*handle)->params.mode = PPS_CAPTUREASSERT | PPS_TSFMT_TSPEC;
273 int mode, mode_in; local
302 mode_in = params->mode;
[all...]
H A Dtimepps-SCO.h93 * Device/implementation parameters (mode)
108 * Kernel actions (mode)
126 #define PPS_KC_HARDPPS_PLL 1 /* phase-lock mode */
127 #define PPS_KC_HARDPPS_FLL 2 /* frequency-lock mode */
155 int current_mode; /* current mode bits */
170 int mode; /* mode bits */ member in struct:pps_params
237 (*handle)->params.mode = PPS_CAPTUREASSERT | PPS_TSFMT_TSPEC;
272 int mode, mode_in; local
301 mode_in = params->mode;
[all...]
/freebsd-9.3-release/sys/kern/
H A Dsubr_acl_nfs4.c58 static void acl_nfs4_trivial_from_mode(struct acl *aclp, mode_t mode);
233 * non-directories. We have to check the mode here to stay
364 acl_nfs4_sync_acl_from_mode_draft(struct acl *aclp, mode_t mode, argument
528 * permissions of the new mode. As a special case,
533 amode = mode >> 3;
581 extramode = (mode >> 3) & 07;
582 ownermode = mode >> 6;
666 * 3. The final six ACEs are adjusted according to the incoming mode.
668 if (mode & S_IRUSR)
672 if (mode
710 acl_nfs4_sync_acl_from_mode(struct acl *aclp, mode_t mode, int file_owner_id) argument
725 mode_t old_mode = *_mode, mode = 0, seen = 0; local
849 acl_nfs4_compute_inherited_acl_draft(const struct acl *parent_aclp, struct acl *child_aclp, mode_t mode, int file_owner_id, int is_directory) argument
1012 acl_nfs4_inherit_entries(const struct acl *parent_aclp, struct acl *child_aclp, mode_t mode, int file_owner_id, int is_directory) argument
1131 acl_nfs4_compute_inherited_acl_psarc(const struct acl *parent_aclp, struct acl *aclp, mode_t mode, int file_owner_id, int is_directory) argument
1190 acl_nfs4_compute_inherited_acl(const struct acl *parent_aclp, struct acl *child_aclp, mode_t mode, int file_owner_id, int is_directory) argument
1211 acl_nfs4_trivial_from_mode(struct acl *aclp, mode_t mode) argument
1224 acl_nfs4_trivial_from_mode_libc(struct acl *aclp, int mode, int canonical_six) argument
[all...]
/freebsd-9.3-release/lib/libz/
H A Dinflate.c115 state->mode = HEAD;
633 if (state->mode == TYPE) state->mode = TYPEDO; /* skip check */
639 switch (state->mode) {
642 state->mode = TYPEDO;
651 state->mode = FLAGS;
663 state->mode = BAD;
668 state->mode = BAD;
677 state->mode = BAD;
683 state->mode
[all...]
/freebsd-9.3-release/tools/regression/sysvsem/
H A Dsemtest.c138 s_ds.sem_perm.mode = (s_ds.sem_perm.mode & ~0777) | 0600;
150 if ((s_ds.sem_perm.mode & 0777) != 0600)
151 err(1, "IPC_SET of mode didn't hold");
270 print_semid_ds(struct semid_ds *sp, mode_t mode) argument
275 printf("PERM: uid %d, gid %d, cuid %d, cgid %d, mode 0%o\n",
278 sp->sem_perm.mode & 0777);
295 if ((sp->sem_perm.mode & 0777) != mode)
296 errx(1, "mode mismatc
[all...]
/freebsd-9.3-release/contrib/ncurses/ncurses/tty/
H A Dlib_twait.c130 * The file-descriptors are specified by the mode:
136 * Experimental: if NCURSES_WGETCH_EVENTS is defined, (mode & 4) determines
140 * We return a mask that corresponds to the mode (e.g., 2 for mouse activity).
147 int mode,
173 TR(TRACE_IEVENT, ("start twait: %d milliseconds, mode: %d",
174 milliseconds, mode));
177 if (mode & 4) {
196 if ((mode & 4) && evl)
204 if ((mode & 4) && evl)
208 if (mode
146 _nc_timed_wait(SCREEN *sp, int mode, int milliseconds, int *timeleft EVENTLIST_2nd(_nc_eventlist * evl)) argument
[all...]
/freebsd-9.3-release/sys/dev/vt/
H A Dvt_sysmouse.c306 mousemode_t *mode = (mousemode_t *)data; local
308 mode->rate = -1;
309 mode->resolution = -1;
310 mode->accelfactor = 0;
311 mode->level = sysmouse_level;
313 switch (mode->level) {
315 mode->protocol = MOUSE_PROTO_MSC;
316 mode->packetsize = MOUSE_MSC_PACKETSIZE;
317 mode->syncmask[0] = MOUSE_MSC_SYNCMASK;
318 mode
356 mousemode_t *mode = (mousemode_t *)data; local
[all...]
/freebsd-9.3-release/contrib/bzip2/
H A Ddlltest.c117 char mode[10]; local
155 mode[0]='w';
156 mode[1] = '0' + level;
157 mode[2] = '\0';
159 if((fn_w == NULL && (BZ2fp_w = BZ2_bzdopen(fileno(stdout),mode))==NULL)
160 || (fn_w !=NULL && (BZ2fp_w = BZ2_bzopen(fn_w,mode))==NULL)){
/freebsd-9.3-release/contrib/libstdc++/
H A DMakefile.am41 --mode=user $${srcdir} $${builddir})
48 --mode=maint $${srcdir} $${builddir})
55 --mode=man $${srcdir} $${builddir})
/freebsd-9.3-release/sbin/mknod/
H A Dmknod.c114 mode_t mode; local
123 mode = 0666;
125 mode |= S_IFCHR;
127 mode |= S_IFBLK;
146 mode = 0666 | S_IFCHR;
161 if (mknod(argv[1], mode, dev) != 0)
/freebsd-9.3-release/sys/dev/mse/
H A Dmse.c142 sc->mode.accelfactor = (flags & MSE_CONFIG_ACCEL) >> 4;
168 sc->sc_bytesread = sc->mode.packetsize = MOUSE_MSC_PACKETSIZE;
171 sc->mode.level = 0;
219 if (sc->sc_bytesread >= sc->mode.packetsize) {
240 sc->sc_bytes[0] = sc->mode.syncmask[1]
241 | (sc->sc_buttons & ~sc->mode.syncmask[0]);
261 xfer = min(uio->uio_resid, sc->mode.packetsize - sc->sc_bytesread);
285 if (sc->mode.level == 0)
292 *(mousemode_t *)addr = sc->mode;
293 switch (sc->mode
[all...]
/freebsd-9.3-release/sys/modules/ata/atadevel/
H A Data-devel.c63 static void ata_devel_setmode(device_t dev, int mode);
111 ata_devel_setmode(device_t dev, int mode) argument
117 ata_limit_mode(dev, mode, ATA_UDMA5));
120 (error) ? "FAILURE " : "", ata_mode2str(mode));
122 atadev->mode = mode;

Completed in 496 milliseconds

1234567891011>>