Home
last modified time | relevance | path

Searched refs:ifs (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.15/fs/iomap/
H A Dbuffered-io.c74 if (ifs) { in iomap_set_range_uptodate()
126 if (ifs) in iomap_find_dirty_range()
150 if (ifs) in iomap_clear_range_dirty()
173 if (ifs) in iomap_set_range_dirty()
198 ifs = kzalloc(struct_size(ifs, state, in ifs_alloc()
200 if (!ifs) in ifs_alloc()
217 if (!ifs) in ifs_free()
248 if (ifs) { in iomap_adjust_read_range()
294 if (ifs) { in iomap_finish_folio_read()
570 if (!ifs) in iomap_is_partially_uptodate()
[all …]
/linux-6.15/drivers/net/wan/
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) in raw_ioctl() argument
38 raw_hdlc_proto __user *raw_s = ifs->ifs_ifsu.raw_hdlc; in raw_ioctl()
44 switch (ifs->type) { in raw_ioctl()
48 ifs->type = IF_PROTO_HDLC; in raw_ioctl()
49 if (ifs->size < size) { in raw_ioctl()
50 ifs->size = size; /* data size wanted */ in raw_ioctl()
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) in raw_eth_ioctl() argument
53 raw_hdlc_proto __user *raw_s = ifs->ifs_ifsu.raw_hdlc; in raw_eth_ioctl()
60 switch (ifs->type) { in raw_eth_ioctl()
64 ifs->type = IF_PROTO_HDLC_ETH; in raw_eth_ioctl()
65 if (ifs->size < size) { in raw_eth_ioctl()
66 ifs->size = size; /* data size wanted */ in raw_eth_ioctl()
H A Dpc300too.c193 sync_serial_settings __user *line = ifs->ifs_ifsu.sync; in pc300_ioctl()
197 if (ifs->type == IF_GET_IFACE) { in pc300_ioctl()
198 ifs->type = port->iface; in pc300_ioctl()
199 if (ifs->size < size) { in pc300_ioctl()
200 ifs->size = size; /* data size wanted */ in pc300_ioctl()
209 (ifs->type == IF_IFACE_SYNC_SERIAL || in pc300_ioctl()
210 ifs->type == IF_IFACE_X21)) in pc300_ioctl()
214 (ifs->type == IF_IFACE_SYNC_SERIAL || in pc300_ioctl()
215 ifs->type == IF_IFACE_V35)) in pc300_ioctl()
219 ifs->type == IF_IFACE_V24) in pc300_ioctl()
[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) in x25_ioctl() argument
279 x25_hdlc_proto __user *x25_s = ifs->ifs_ifsu.x25; in x25_ioctl()
285 switch (ifs->type) { in x25_ioctl()
289 ifs->type = IF_PROTO_X25; in x25_ioctl()
290 if (ifs->size < size) { in x25_ioctl()
291 ifs->size = size; /* data size wanted */ in x25_ioctl()
306 if (ifs->size == 0) { in x25_ioctl()
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) in cisco_ioctl() argument
311 cisco_proto __user *cisco_s = ifs->ifs_ifsu.cisco; in cisco_ioctl()
317 switch (ifs->type) { in cisco_ioctl()
321 ifs->type = IF_PROTO_CISCO; in cisco_ioctl()
322 if (ifs->size < size) { in cisco_ioctl()
323 ifs->size = size; /* data size wanted */ in cisco_ioctl()
H A Dhdlc_fr.c365 if (ifs->type == IF_GET_PROTO) { in pvc_ioctl()
367 ifs->type = IF_PROTO_FR_ETH_PVC; in pvc_ioctl()
369 ifs->type = IF_PROTO_FR_PVC; in pvc_ioctl()
371 if (ifs->size < sizeof(info)) { in pvc_ioctl()
373 ifs->size = sizeof(info); in pvc_ioctl()
1186 fr_proto __user *fr_s = ifs->ifs_ifsu.fr; in fr_ioctl()
1193 switch (ifs->type) { in fr_ioctl()
1197 ifs->type = IF_PROTO_FR; in fr_ioctl()
1198 if (ifs->size < size) { in fr_ioctl()
1199 ifs->size = size; /* data size wanted */ in fr_ioctl()
[all …]
H A Dpci200syn.c182 static int pci200_ioctl(struct net_device *dev, struct if_settings *ifs) in pci200_ioctl() argument
186 sync_serial_settings __user *line = ifs->ifs_ifsu.sync; in pci200_ioctl()
189 switch (ifs->type) { in pci200_ioctl()
191 ifs->type = IF_IFACE_V35; in pci200_ioctl()
192 if (ifs->size < size) { in pci200_ioctl()
193 ifs->size = size; /* data size wanted */ in pci200_ioctl()
223 return hdlc_ioctl(dev, ifs); in pci200_ioctl()
H A Dc101.c231 static int c101_ioctl(struct net_device *dev, struct if_settings *ifs) in c101_ioctl() argument
235 sync_serial_settings __user *line = ifs->ifs_ifsu.sync; in c101_ioctl()
238 switch (ifs->type) { in c101_ioctl()
240 ifs->type = IF_IFACE_SYNC_SERIAL; in c101_ioctl()
241 if (ifs->size < size) { in c101_ioctl()
242 ifs->size = size; /* data size wanted */ in c101_ioctl()
270 return hdlc_ioctl(dev, ifs); in c101_ioctl()
H A Dfsl_qmc_hdlc.c518 static int qmc_hdlc_ioctl(struct net_device *netdev, struct if_settings *ifs) in qmc_hdlc_ioctl() argument
524 switch (ifs->type) { in qmc_hdlc_ioctl()
526 if (ifs->size < sizeof(te1)) { in qmc_hdlc_ioctl()
528 ret = qmc_hdlc_framer_get_iface(qmc_hdlc, &ifs->type, NULL); in qmc_hdlc_ioctl()
532 if (!ifs->size) in qmc_hdlc_ioctl()
535 ifs->size = sizeof(te1); /* data size wanted */ in qmc_hdlc_ioctl()
542 ret = qmc_hdlc_framer_get_iface(qmc_hdlc, &ifs->type, &te1); in qmc_hdlc_ioctl()
549 if (copy_to_user(ifs->ifs_ifsu.te1, &te1, sizeof(te1))) in qmc_hdlc_ioctl()
561 if (copy_from_user(&te1, ifs->ifs_ifsu.te1, sizeof(te1))) in qmc_hdlc_ioctl()
564 return qmc_hdlc_set_iface(qmc_hdlc, ifs->type, &te1); in qmc_hdlc_ioctl()
[all …]
H A Dn2.c242 static int n2_ioctl(struct net_device *dev, struct if_settings *ifs) in n2_ioctl() argument
246 sync_serial_settings __user *line = ifs->ifs_ifsu.sync; in n2_ioctl()
249 switch (ifs->type) { in n2_ioctl()
251 ifs->type = IF_IFACE_SYNC_SERIAL; in n2_ioctl()
252 if (ifs->size < size) { in n2_ioctl()
253 ifs->size = size; /* data size wanted */ in n2_ioctl()
281 return hdlc_ioctl(dev, ifs); in n2_ioctl()
H A Dfarsync.c1803 switch (ifs->type) { in fst_set_iface()
1870 ifs->type = IF_IFACE_E1; in fst_get_iface()
1873 ifs->type = IF_IFACE_T1; in fst_get_iface()
1876 ifs->type = IF_IFACE_V35; in fst_get_iface()
1879 ifs->type = IF_IFACE_V24; in fst_get_iface()
1882 ifs->type = IF_IFACE_X21D; in fst_get_iface()
1886 ifs->type = IF_IFACE_X21; in fst_get_iface()
1889 if (!ifs->size) in fst_get_iface()
1906 ifs->size = sizeof(sync); in fst_get_iface()
2035 switch (ifs->type) { in fst_ioctl()
[all …]
H A Dwanxl.c346 static int wanxl_ioctl(struct net_device *dev, struct if_settings *ifs) in wanxl_ioctl() argument
352 switch (ifs->type) { in wanxl_ioctl()
354 ifs->type = IF_IFACE_SYNC_SERIAL; in wanxl_ioctl()
355 if (ifs->size < size) { in wanxl_ioctl()
356 ifs->size = size; /* data size wanted */ in wanxl_ioctl()
364 if (copy_to_user(ifs->ifs_ifsu.sync, &line, size)) in wanxl_ioctl()
374 if (copy_from_user(&line, ifs->ifs_ifsu.sync, in wanxl_ioctl()
389 return hdlc_ioctl(dev, ifs); in wanxl_ioctl()
H A Dhdlc.c199 int hdlc_ioctl(struct net_device *dev, struct if_settings *ifs) in hdlc_ioctl() argument
205 result = dev_to_hdlc(dev)->proto->ioctl(dev, ifs); in hdlc_ioctl()
213 result = proto->ioctl(dev, ifs); in hdlc_ioctl()
H A Dfsl_ucc_hdlc.c682 static int uhdlc_ioctl(struct net_device *dev, struct if_settings *ifs) in uhdlc_ioctl() argument
688 switch (ifs->type) { in uhdlc_ioctl()
690 ifs->type = IF_IFACE_E1; in uhdlc_ioctl()
691 if (ifs->size < size) { in uhdlc_ioctl()
692 ifs->size = size; /* data size wanted */ in uhdlc_ioctl()
698 if (copy_to_user(ifs->ifs_ifsu.sync, &line, size)) in uhdlc_ioctl()
703 return hdlc_ioctl(dev, ifs); in uhdlc_ioctl()
H A Dixp4xx_hss.c1307 static int hss_hdlc_ioctl(struct net_device *dev, struct if_settings *ifs) in hss_hdlc_ioctl() argument
1311 sync_serial_settings __user *line = ifs->ifs_ifsu.sync; in hss_hdlc_ioctl()
1316 switch (ifs->type) { in hss_hdlc_ioctl()
1318 ifs->type = IF_IFACE_V35; in hss_hdlc_ioctl()
1319 if (ifs->size < size) { in hss_hdlc_ioctl()
1320 ifs->size = size; /* data size wanted */ in hss_hdlc_ioctl()
1372 return hdlc_ioctl(dev, ifs); in hss_hdlc_ioctl()
/linux-6.15/Documentation/arch/x86/
H A Difs.rst2 .. kernel-doc:: drivers/platform/x86/intel/ifs/ifs.h
H A Dindex.rst40 ifs
/linux-6.15/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-6.15/sound/soc/mediatek/mt8365/
H A Dmt8365-dai-i2s.c346 int ifs, ofs = 0; in mt8365_afe_set_2nd_i2s_asrc() local
353 ifs = mt8365_afe_fs_timing(rate_in); in mt8365_afe_set_2nd_i2s_asrc()
355 if (ifs < 0) in mt8365_afe_set_2nd_i2s_asrc()
367 coef = get_iir_coef(ifs, ofs, &coef_count); in mt8365_afe_set_2nd_i2s_asrc()
404 0x00FFFFFF, rx_frequency_palette(ifs)); in mt8365_afe_set_2nd_i2s_asrc()
441 0x000fffff, AutoRstThHi(ifs)); in mt8365_afe_set_2nd_i2s_asrc()
444 0x000fffff, AutoRstThLo(ifs)); in mt8365_afe_set_2nd_i2s_asrc()
/linux-6.15/samples/bpf/
H A Dxdp_router_ipv4_user.c93 char dsts[24], gws[24], ifs[16], dsts_len[24], metrics[24]; in read_route() local
137 sprintf(ifs, "%u", in read_route()
151 route.iface = atoi(ifs); in read_route()
245 memset(ifs, 0, sizeof(ifs)); in read_route()
/linux-6.15/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00queue.h305 enum ifs ifs; member
/linux-6.15/lib/zlib_dfltcc/
H A Ddfltcc.h61 unsigned ifs : 4; /* Incomplete-Function Status */ member
/linux-6.15/drivers/block/aoe/
H A Daoeblk.c72 ifp = (*t)->ifs; in aoedisk_show_netif()
142 ifp = (*t)->ifs; in aoe_debugfs_show()
143 ife = ifp + ARRAY_SIZE((*t)->ifs); in aoe_debugfs_show()
/linux-6.15/drivers/platform/x86/intel/
H A DMakefile8 obj-$(CONFIG_INTEL_IFS) += ifs/

12