Searched refs:newmode (Results 1 - 7 of 7) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/coreutils/
H A Dchmod.c39 mode_t newmode; local
50 newmode = statbuf->st_mode;
52 if (!bb_parse_mode((char *)param, &newmode))
55 if (chmod(fileName, newmode) == 0) {
57 || (OPT_CHANGED && statbuf->st_mode != newmode)
60 newmode & 07777, bb_mode_string(newmode)+1);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/aty/
H A Dradeon_base.c1503 struct radeon_regs *newmode; local
1517 newmode = kmalloc(sizeof(struct radeon_regs), GFP_KERNEL);
1518 if (!newmode)
1560 newmode->ppll_div_3 = rinfo->panel_info.fbk_divider |
1562 newmode->ppll_ref_div = rinfo->panel_info.ref_divider;
1600 newmode->crtc_gen_cntl = CRTC_EXT_DISP_EN | CRTC_EN |
1604 newmode->crtc_more_cntl = rinfo->init_state.crtc_more_cntl;
1605 newmode->crtc_more_cntl &= 0xfffffff0;
1608 newmode->crtc_ext_cntl = VGA_ATI_LINEAR | XCRT_CNT_EN;
1610 newmode
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/kernel/
H A Dsysctl.c21 static void frv_change_dcache_mode(unsigned long newmode) argument
36 hsr0 = (hsr0 & ~HSR0_CBM) | newmode;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/riva/
H A Dfbdev.c694 struct riva_regs newmode; local
725 memcpy(&newmode, &reg_template, sizeof(struct riva_regs));
739 newmode.crtc[0x0] = Set8Bits (hTotal);
740 newmode.crtc[0x1] = Set8Bits (hDisplay);
741 newmode.crtc[0x2] = Set8Bits (hBlankStart);
742 newmode.crtc[0x3] = SetBitField (hBlankEnd, 4: 0, 4:0) | SetBit (7);
743 newmode.crtc[0x4] = Set8Bits (hStart);
744 newmode.crtc[0x5] = SetBitField (hBlankEnd, 5: 5, 7:7)
746 newmode.crtc[0x6] = SetBitField (vTotal, 7: 0, 7:0);
747 newmode
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ncpfs/
H A Dinode.c847 umode_t newmode = attr->ia_mode; local
852 newmode &= server->m.dir_mode;
857 if (newmode & ~server->m.file_mode & S_IXUGO)
860 else if (newmode & ~server->m.file_mode & S_IRUGO)
864 newmode &= server->m.file_mode;
866 if (newmode & S_IWUGO)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbwrapper/
H A Dsmbw.c1175 int smbw_chmod(const char *fname, mode_t newmode) argument
1203 if (!(newmode & (S_IWUSR | S_IWGRP | S_IWOTH))) mode |= aRONLY;
1204 if ((newmode & S_IXUSR) && lp_map_archive(-1)) mode |= aARCH;
1205 if ((newmode & S_IXGRP) && lp_map_system(-1)) mode |= aSYSTEM;
1206 if ((newmode & S_IXOTH) && lp_map_hidden(-1)) mode |= aHIDDEN;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/libsmb/
H A Dlibsmbclient.c2740 int smbc_chmod_ctx(SMBCCTX *context, const char *fname, mode_t newmode) argument
2762 DEBUG(4, ("smbc_chmod(%s, 0%3o)\n", fname, newmode));
2787 if (!(newmode & (S_IWUSR | S_IWGRP | S_IWOTH))) mode |= aRONLY;
2788 if ((newmode & S_IXUSR) && lp_map_archive(-1)) mode |= aARCH;
2789 if ((newmode & S_IXGRP) && lp_map_system(-1)) mode |= aSYSTEM;
2790 if ((newmode & S_IXOTH) && lp_map_hidden(-1)) mode |= aHIDDEN;

Completed in 73 milliseconds