Searched refs:ifs (Results 1 - 25 of 39) sorted by relevance

12

/linux-master/drivers/net/wan/
H A Dhdlc_raw_eth.c23 static int raw_eth_ioctl(struct net_device *dev, struct if_settings *ifs);
51 static int raw_eth_ioctl(struct net_device *dev, struct if_settings *ifs) argument
53 raw_hdlc_proto __user *raw_s = ifs->ifs_ifsu.raw_hdlc;
60 switch (ifs->type) {
64 ifs->type = IF_PROTO_HDLC_ETH;
65 if (ifs->size < size) {
66 ifs->size = size; /* data size wanted */
H A Dhdlc_raw.c22 static int raw_ioctl(struct net_device *dev, struct if_settings *ifs);
36 static int raw_ioctl(struct net_device *dev, struct if_settings *ifs) argument
38 raw_hdlc_proto __user *raw_s = ifs->ifs_ifsu.raw_hdlc;
44 switch (ifs->type) {
48 ifs->type = IF_PROTO_HDLC;
49 if (ifs->size < size) {
50 ifs->size = size; /* data size wanted */
H A Dpc300too.c189 static int pc300_ioctl(struct net_device *dev, struct if_settings *ifs) argument
193 sync_serial_settings __user *line = ifs->ifs_ifsu.sync;
197 if (ifs->type == IF_GET_IFACE) {
198 ifs->type = port->iface;
199 if (ifs->size < size) {
200 ifs->size = size; /* data size wanted */
209 (ifs->type == IF_IFACE_SYNC_SERIAL ||
210 ifs->type == IF_IFACE_X21))
214 (ifs->type == IF_IFACE_SYNC_SERIAL ||
215 ifs
[all...]
H A Dhdlc_x25.c32 static int x25_ioctl(struct net_device *dev, struct if_settings *ifs);
277 static int x25_ioctl(struct net_device *dev, struct if_settings *ifs) argument
279 x25_hdlc_proto __user *x25_s = ifs->ifs_ifsu.x25;
285 switch (ifs->type) {
289 ifs->type = IF_PROTO_X25;
290 if (ifs->size < size) {
291 ifs->size = size; /* data size wanted */
306 if (ifs->size == 0) {
H A Dpci200syn.c182 static int pci200_ioctl(struct net_device *dev, struct if_settings *ifs) argument
186 sync_serial_settings __user *line = ifs->ifs_ifsu.sync;
189 switch (ifs->type) {
191 ifs->type = IF_IFACE_V35;
192 if (ifs->size < size) {
193 ifs->size = size; /* data size wanted */
223 return hdlc_ioctl(dev, ifs);
H A Dc101.c231 static int c101_ioctl(struct net_device *dev, struct if_settings *ifs) argument
235 sync_serial_settings __user *line = ifs->ifs_ifsu.sync;
238 switch (ifs->type) {
240 ifs->type = IF_IFACE_SYNC_SERIAL;
241 if (ifs->size < size) {
242 ifs->size = size; /* data size wanted */
270 return hdlc_ioctl(dev, ifs);
H A Dhdlc_cisco.c59 static int cisco_ioctl(struct net_device *dev, struct if_settings *ifs);
309 static int cisco_ioctl(struct net_device *dev, struct if_settings *ifs) argument
311 cisco_proto __user *cisco_s = ifs->ifs_ifsu.cisco;
317 switch (ifs->type) {
321 ifs->type = IF_PROTO_CISCO;
322 if (ifs->size < size) {
323 ifs->size = size; /* data size wanted */
H A Dhdlc_fr.c149 static int fr_ioctl(struct net_device *dev, struct if_settings *ifs);
360 static int pvc_ioctl(struct net_device *dev, struct if_settings *ifs) argument
365 if (ifs->type == IF_GET_PROTO) {
367 ifs->type = IF_PROTO_FR_ETH_PVC;
369 ifs->type = IF_PROTO_FR_PVC;
371 if (ifs->size < sizeof(info)) {
373 ifs->size = sizeof(info);
379 if (copy_to_user(ifs->ifs_ifsu.fr_pvc_info,
1184 static int fr_ioctl(struct net_device *dev, struct if_settings *ifs) argument
1186 fr_proto __user *fr_s = ifs
[all...]
H A Dfsl_qmc_hdlc.c505 static int qmc_hdlc_ioctl(struct net_device *netdev, struct if_settings *ifs) argument
511 switch (ifs->type) {
513 if (ifs->size < sizeof(te1)) {
515 ret = qmc_hdlc_framer_get_iface(qmc_hdlc, &ifs->type, NULL);
519 if (!ifs->size)
522 ifs->size = sizeof(te1); /* data size wanted */
529 ret = qmc_hdlc_framer_get_iface(qmc_hdlc, &ifs->type, &te1);
536 if (copy_to_user(ifs->ifs_ifsu.te1, &te1, sizeof(te1)))
548 if (copy_from_user(&te1, ifs->ifs_ifsu.te1, sizeof(te1)))
551 return qmc_hdlc_set_iface(qmc_hdlc, ifs
[all...]
H A Dn2.c242 static int n2_ioctl(struct net_device *dev, struct if_settings *ifs) argument
246 sync_serial_settings __user *line = ifs->ifs_ifsu.sync;
249 switch (ifs->type) {
251 ifs->type = IF_IFACE_SYNC_SERIAL;
252 if (ifs->size < size) {
253 ifs->size = size; /* data size wanted */
281 return hdlc_ioctl(dev, ifs);
H A Dfarsync.c1787 struct if_settings *ifs)
1792 if (ifs->size != sizeof(sync))
1795 if (copy_from_user(&sync, ifs->ifs_ifsu.sync, sizeof(sync)))
1803 switch (ifs->type) {
1859 struct if_settings *ifs)
1870 ifs->type = IF_IFACE_E1;
1873 ifs->type = IF_IFACE_T1;
1876 ifs->type = IF_IFACE_V35;
1879 ifs->type = IF_IFACE_V24;
1882 ifs
1786 fst_set_iface(struct fst_card_info *card, struct fst_port_info *port, struct if_settings *ifs) argument
1858 fst_get_iface(struct fst_card_info *card, struct fst_port_info *port, struct if_settings *ifs) argument
2022 fst_ioctl(struct net_device *dev, struct if_settings *ifs) argument
[all...]
H A Dhdlc.c199 int hdlc_ioctl(struct net_device *dev, struct if_settings *ifs) argument
205 result = dev_to_hdlc(dev)->proto->ioctl(dev, ifs);
213 result = proto->ioctl(dev, ifs);
H A Dwanxl.c346 static int wanxl_ioctl(struct net_device *dev, struct if_settings *ifs) argument
352 switch (ifs->type) {
354 ifs->type = IF_IFACE_SYNC_SERIAL;
355 if (ifs->size < size) {
356 ifs->size = size; /* data size wanted */
364 if (copy_to_user(ifs->ifs_ifsu.sync, &line, size))
374 if (copy_from_user(&line, ifs->ifs_ifsu.sync,
389 return hdlc_ioctl(dev, ifs);
H A Dixp4xx_hss.c1307 static int hss_hdlc_ioctl(struct net_device *dev, struct if_settings *ifs) argument
1311 sync_serial_settings __user *line = ifs->ifs_ifsu.sync;
1316 switch (ifs->type) {
1318 ifs->type = IF_IFACE_V35;
1319 if (ifs->size < size) {
1320 ifs->size = size; /* data size wanted */
1372 return hdlc_ioctl(dev, ifs);
H A Dfsl_ucc_hdlc.c682 static int uhdlc_ioctl(struct net_device *dev, struct if_settings *ifs) argument
688 switch (ifs->type) {
690 ifs->type = IF_IFACE_E1;
691 if (ifs->size < size) {
692 ifs->size = size; /* data size wanted */
698 if (copy_to_user(ifs->ifs_ifsu.sync, &line, size))
703 return hdlc_ioctl(dev, ifs);
/linux-master/fs/iomap/
H A Dbuffered-io.c47 struct iomap_folio_state *ifs)
51 return bitmap_full(ifs->state, i_blocks_per_folio(inode, folio));
54 static inline bool ifs_block_is_uptodate(struct iomap_folio_state *ifs, argument
57 return test_bit(block, ifs->state);
61 struct iomap_folio_state *ifs, size_t off, size_t len)
68 bitmap_set(ifs->state, first_blk, nr_blks);
69 return ifs_is_fully_uptodate(folio, ifs);
75 struct iomap_folio_state *ifs = folio->private; local
79 if (ifs) {
80 spin_lock_irqsave(&ifs
46 ifs_is_fully_uptodate(struct folio *folio, struct iomap_folio_state *ifs) argument
60 ifs_set_range_uptodate(struct folio *folio, struct iomap_folio_state *ifs, size_t off, size_t len) argument
89 ifs_block_is_dirty(struct folio *folio, struct iomap_folio_state *ifs, int block) argument
98 ifs_find_dirty_range(struct folio *folio, struct iomap_folio_state *ifs, u64 *range_start, u64 range_end) argument
126 struct iomap_folio_state *ifs = folio->private; local
136 ifs_clear_range_dirty(struct folio *folio, struct iomap_folio_state *ifs, size_t off, size_t len) argument
153 struct iomap_folio_state *ifs = folio->private; local
159 ifs_set_range_dirty(struct folio *folio, struct iomap_folio_state *ifs, size_t off, size_t len) argument
176 struct iomap_folio_state *ifs = folio->private; local
185 struct iomap_folio_state *ifs = folio->private; local
220 struct iomap_folio_state *ifs = folio_detach_private(folio); local
237 struct iomap_folio_state *ifs = folio->private; local
294 struct iomap_folio_state *ifs = folio->private; local
378 struct iomap_folio_state *ifs; local
557 struct iomap_folio_state *ifs = folio->private; local
675 struct iomap_folio_state *ifs; local
1032 struct iomap_folio_state *ifs; local
1497 struct iomap_folio_state *ifs = folio->private; local
1745 struct iomap_folio_state *ifs = folio->private; local
1879 struct iomap_folio_state *ifs = folio->private; local
[all...]
/linux-master/include/linux/
H A Dhdlc.h25 int (*ioctl)(struct net_device *dev, struct if_settings *ifs);
57 int hdlc_ioctl(struct net_device *dev, struct if_settings *ifs);
/linux-master/lib/zlib_dfltcc/
H A Ddfltcc.h61 unsigned ifs : 4; /* Incomplete-Function Status */ member in struct:dfltcc_param_v0
/linux-master/drivers/platform/x86/intel/
H A DMakefile8 obj-$(CONFIG_INTEL_IFS) += ifs/
/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00queue.h286 * @ifs: IFS value.
305 enum ifs ifs; member in struct:txentry_desc::__anon916::__anon917
H A Drt2x00reg.h80 enum ifs { enum
/linux-master/samples/bpf/
H A Dxdp_router_ipv4_user.c93 char dsts[24], gws[24], ifs[16], dsts_len[24], metrics[24]; local
137 sprintf(ifs, "%u",
151 route.iface = atoi(ifs);
245 memset(ifs, 0, sizeof(ifs));
/linux-master/drivers/block/aoe/
H A Daoeblk.c72 ifp = (*t)->ifs;
142 ifp = (*t)->ifs;
143 ife = ifp + ARRAY_SIZE((*t)->ifs);
H A Daoe.h143 struct aoeif ifs[NAOEIFS]; member in struct:aoetgt
/linux-master/drivers/net/ethernet/i825xx/
H A Dsun3_82586.h236 unsigned char ifs; /* inter frame spacing */ member in struct:configure_cmd_struct

Completed in 213 milliseconds

12