Searched refs:ctl (Results 1 - 25 of 105) sorted by relevance

12345

/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/smbfs/
H A Ddir.c67 struct smb_cache_control ctl; local
71 ctl.page = NULL;
72 ctl.cache = NULL;
103 ctl.cache = cache = kmap(page);
104 ctl.head = cache->head;
106 if (!Page_Uptodate(page) || !ctl.head.eof) {
108 DENTRY_PATH(dentry), Page_Uptodate(page),ctl.head.eof);
113 if (jiffies - ctl.head.time >= SMB_MAX_AGE(server))
120 * (revalidate has the same timeout as ctl.head.time)
127 if (filp->f_pos > ctl
[all...]
H A Dcache.c129 struct smb_cache_control ctl = *ctrl; local
167 newdent->d_fsdata = (void *) ctl.fpos;
171 if (ctl.idx >= SMB_DIRCACHE_SIZE) {
172 if (ctl.page) {
173 kunmap(ctl.page);
174 SetPageUptodate(ctl.page);
175 UnlockPage(ctl.page);
176 page_cache_release(ctl.page);
178 ctl.cache = NULL;
179 ctl
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Di2c-algo-pcf.h35 void (*setpcf) (void *data, int ctl, int val);
36 int (*getpcf) (void *data, int ctl);
H A Di2c-algo-ite.h54 void (*setiic) (void *data, int ctl, int val);
55 int (*getiic) (void *data, int ctl);
H A Dsocket.h60 #define __CMSG_NXTHDR(ctl, len, cmsg) __cmsg_nxthdr((ctl),(len),(cmsg))
69 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? \
70 (struct cmsghdr *)(ctl) : \
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Di2c-algo-pcf.h35 void (*setpcf) (void *data, int ctl, int val);
36 int (*getpcf) (void *data, int ctl);
H A Di2c-algo-ite.h54 void (*setiic) (void *data, int ctl, int val);
55 int (*getiic) (void *data, int ctl);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/emu10k1/
H A Dmixer.c188 struct mixer_private_ioctl *ctl; local
198 ctl = (struct mixer_private_ioctl *) kmalloc(sizeof(struct mixer_private_ioctl), GFP_KERNEL);
199 if (ctl == NULL)
202 if (copy_from_user(ctl, (void *) arg, sizeof(struct mixer_private_ioctl))) {
203 kfree(ctl);
208 switch (ctl->cmd) {
211 emu10k1_writefn0(card, ctl->val[0], ctl->val[1]);
215 if (ctl->val[1] >= 0x40 || ctl
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ncpfs/
H A Ddir.c399 struct ncp_cache_control ctl; local
403 ctl.page = NULL;
404 ctl.cache = NULL;
431 ctl.cache = cache = kmap(page);
432 ctl.head = cache->head;
434 if (!Page_Uptodate(page) || !ctl.head.eof)
438 if (jiffies - ctl.head.time >= NCP_MAX_AGE(server))
443 if ((!mtime) || (mtime != ctl.head.mtime))
447 if (filp->f_pos > ctl.head.end)
450 ctl
546 struct ncp_cache_control ctl = *ctrl; local
636 ncp_read_volume_list(struct file *filp, void *dirent, filldir_t filldir, struct ncp_cache_control *ctl) argument
671 ncp_do_readdir(struct file *filp, void *dirent, filldir_t filldir, struct ncp_cache_control *ctl) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-x86_64/
H A Dsocket32.h33 #define __CMSG32_NXTHDR(ctl, len, cmsg, cmsglen) __cmsg32_nxthdr((ctl),(len),(cmsg),(cmsglen))
42 #define __CMSG32_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr32) ? \
43 (struct cmsghdr32 *)(ctl) : \
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-x86_64/
H A Dsocket32.h33 #define __CMSG32_NXTHDR(ctl, len, cmsg, cmsglen) __cmsg32_nxthdr((ctl),(len),(cmsg),(cmsglen))
42 #define __CMSG32_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr32) ? \
43 (struct cmsghdr32 *)(ctl) : \
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/sched/
H A Dsch_gred.c320 struct tc_gred_qopt *ctl; local
347 RTA_PAYLOAD(tb[TCA_GRED_PARMS-1]) < sizeof(*ctl) ||
351 ctl = RTA_DATA(tb[TCA_GRED_PARMS-1]);
352 if (ctl->DP > MAX_DPs-1 ) {
355 "set to default at %d\n",ctl->DP,table->def);
356 ctl->DP=table->def;
359 if (table->tab[ctl->DP] == NULL) {
360 table->tab[ctl->DP]=kmalloc(sizeof(struct gred_sched_data),
362 if (NULL == table->tab[ctl->DP])
364 memset(table->tab[ctl
[all...]
H A Dsch_red.c378 struct tc_red_qopt *ctl; local
383 RTA_PAYLOAD(tb[TCA_RED_PARMS-1]) < sizeof(*ctl) ||
387 ctl = RTA_DATA(tb[TCA_RED_PARMS-1]);
390 q->flags = ctl->flags;
391 q->Wlog = ctl->Wlog;
392 q->Plog = ctl->Plog;
393 q->Rmask = ctl->Plog < 32 ? ((1<<ctl->Plog) - 1) : ~0UL;
394 q->Scell_log = ctl->Scell_log;
396 q->qth_min = ctl
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/rp-pppoe/
H A Dif.c770 struct strbuf ctl; local
776 ctl.maxlen = 0;
777 ctl.len = sizeof (promiscon_req);
778 ctl.buf = (char *) &promiscon_req;
782 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
790 struct strbuf ctl; local
795 ctl.maxlen = 0;
796 ctl.len = sizeof (info_req);
797 ctl.buf = (char *) &info_req;
801 if (putmsg(fd, &ctl, (struc
809 struct strbuf data, ctl; local
836 struct strbuf ctl; local
868 struct strbuf ctl; local
891 struct strbuf ctl; local
910 struct strbuf ctl; local
942 struct strbuf ctl; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/plugins/rp-pppoe/
H A Dif.c770 struct strbuf ctl; local
776 ctl.maxlen = 0;
777 ctl.len = sizeof (promiscon_req);
778 ctl.buf = (char *) &promiscon_req;
782 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
790 struct strbuf ctl; local
795 ctl.maxlen = 0;
796 ctl.len = sizeof (info_req);
797 ctl.buf = (char *) &info_req;
801 if (putmsg(fd, &ctl, (struc
809 struct strbuf data, ctl; local
836 struct strbuf ctl; local
868 struct strbuf ctl; local
891 struct strbuf ctl; local
910 struct strbuf ctl; local
942 struct strbuf ctl; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppoe-relay/
H A Dif.c788 struct strbuf ctl; local
794 ctl.maxlen = 0;
795 ctl.len = sizeof (promiscon_req);
796 ctl.buf = (char *) &promiscon_req;
800 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
808 struct strbuf ctl; local
813 ctl.maxlen = 0;
814 ctl.len = sizeof (info_req);
815 ctl.buf = (char *) &info_req;
819 if (putmsg(fd, &ctl, (struc
827 struct strbuf data, ctl; local
854 struct strbuf ctl; local
886 struct strbuf ctl; local
909 struct strbuf ctl; local
928 struct strbuf ctl; local
960 struct strbuf ctl; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/rp-pppoe/
H A Dif.c731 struct strbuf ctl; local
737 ctl.maxlen = 0;
738 ctl.len = sizeof (promiscon_req);
739 ctl.buf = (char *) &promiscon_req;
743 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
751 struct strbuf ctl; local
756 ctl.maxlen = 0;
757 ctl.len = sizeof (info_req);
758 ctl.buf = (char *) &info_req;
762 if (putmsg(fd, &ctl, (struc
770 struct strbuf data, ctl; local
797 struct strbuf ctl; local
829 struct strbuf ctl; local
852 struct strbuf ctl; local
871 struct strbuf ctl; local
903 struct strbuf ctl; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/eicon/
H A Dfourbri.c69 byte *ctl; local
73 ctl = UxCardMemAttach(card->hw, DIVAS_CTL_MEMORY);
76 UxCardMemOut(card->hw, &ctl[MQ_BREG_RISC], 0);
77 UxCardMemOut(card->hw, &ctl[MQ_ISAC_DSP_RESET], 0);
79 UxCardMemDetach(card->hw, ctl);
148 byte *ctl; local
150 ctl = UxCardMemAttach(card->hw, DIVAS_CTL_MEMORY);
152 UxCardMemOut(card->hw, &ctl[MQ_BREG_IRQ_TEST], MQ_IRQ_REQ_OFF);
154 UxCardMemDetach(card->hw, ctl);
162 byte *ctl, local
339 byte *ctl; local
550 byte *ctl; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/i2c/
H A Di2c-adap-ite.c80 static void iic_ite_setiic(void *data, int ctl, short val) argument
84 DEB3(printk(" Write 0x%02x to 0x%x\n",(unsigned short)val, ctl&0xff));
86 outw(val,ctl);
89 static short iic_ite_getiic(void *data, int ctl) argument
93 val = inw(ctl);
94 DEB3(printk("Read 0x%02x from 0x%x\n",(unsigned short)val, ctl&0xff));
H A Di2c-elektor.c73 static void pcf_isa_setbyte(void *data, int ctl, int val) argument
75 int address = ctl ? (base + 1) : base;
77 if (ctl && irq) {
97 static int pcf_isa_getbyte(void *data, int ctl) argument
99 int address = ctl ? (base + 1) : base;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ftape/zftape/
H A DMakefile36 obj-y := zftape-rw.o zftape-ctl.o zftape-read.o \
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/lmc/
H A Dlmc_media.c219 lmc_hssi_set_status (lmc_softc_t * const sc, lmc_ctl_t * ctl) argument
221 if (ctl == NULL)
232 if (ctl->clock_source && !sc->ictl.clock_source)
237 else if (!ctl->clock_source && sc->ictl.clock_source)
243 lmc_set_protocol (sc, ctl);
364 lmc_ds3_set_status (lmc_softc_t * const sc, lmc_ctl_t * ctl) argument
366 if (ctl == NULL)
378 if (ctl->cable_length && !sc->ictl.cable_length)
380 else if (!ctl->cable_length && sc->ictl.cable_length)
386 if (ctl
602 lmc_ssi_set_status(lmc_softc_t * const sc, lmc_ctl_t * ctl) argument
662 lmc_ssi_set_speed(lmc_softc_t * const sc, lmc_ctl_t * ctl) argument
1031 lmc_t1_set_status(lmc_softc_t * const sc, lmc_ctl_t * ctl) argument
1246 lmc_set_protocol(lmc_softc_t * const sc, lmc_ctl_t * ctl) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Darlan-proc.c404 static int arlan_sysctl_info(ctl_table * ctl, int write, struct file *filp, argument
418 if (ctl->procname == NULL || arlan_drive_info == NULL)
423 devnum = ctl->procname[5] - '0';
431 if (ctl->procname)
432 pos += sprintf(arlan_drive_info + pos, "\t%s\n\n", ctl->procname);
624 if (ctl)
625 if (ctl->procname)
626 pos += sprintf(arlan_drive_info + pos, " driver name : %s\n", ctl->procname);
631 retv = proc_dostring(ctl, write, filp, buffer, lenp);
641 static int arlan_sysctl_info161719(ctl_table * ctl, in argument
675 arlan_sysctl_infotxRing(ctl_table * ctl, int write, struct file *filp, void *buffer, size_t * lenp) argument
704 arlan_sysctl_inforxRing(ctl_table * ctl, int write, struct file *filp, void *buffer, size_t * lenp) argument
732 arlan_sysctl_info18(ctl_table * ctl, int write, struct file *filp, void *buffer, size_t * lenp) argument
768 arlan_configure(ctl_table * ctl, int write, struct file *filp, void *buffer, size_t * lenp) argument
793 arlan_sysctl_reset(ctl_table * ctl, int write, struct file *filp, void *buffer, size_t * lenp) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/pcbit/
H A Ddrv.c48 static int pcbit_ioctl(isdn_ctrl* ctl);
61 int pcbit_command(isdn_ctrl* ctl);
245 int pcbit_command(isdn_ctrl* ctl) argument
251 dev = finddev(ctl->driver);
259 chan = (ctl->arg & 0x0F) ? dev->b2 : dev->b1;
262 switch(ctl->command) {
264 return pcbit_ioctl(ctl);
268 info.data.setup.CalledPN = (char *) &ctl->parm.setup.phone;
281 chan->proto = (ctl->arg >> 8);
296 pcbit_set_msn(dev, ctl
856 isdn_ctrl ctl; local
917 pcbit_ioctl(isdn_ctrl* ctl) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ftape/lowlevel/
H A DMakefile31 ftape-bsm.o ftape-ctl.o ftape-read.o ftape-rw.o \

Completed in 295 milliseconds

12345