/Linux-v5.4/net/ipv4/ |
D | ip_sockglue.c | 934 struct ip_msfilter *msf; in do_ip_setsockopt() local 942 msf = memdup_user(optval, optlen); in do_ip_setsockopt() 943 if (IS_ERR(msf)) { in do_ip_setsockopt() 944 err = PTR_ERR(msf); in do_ip_setsockopt() 948 if (msf->imsf_numsrc >= 0x3ffffffcU || in do_ip_setsockopt() 949 msf->imsf_numsrc > net->ipv4.sysctl_igmp_max_msf) { in do_ip_setsockopt() 950 kfree(msf); in do_ip_setsockopt() 954 if (IP_MSFILTER_SIZE(msf->imsf_numsrc) > optlen) { in do_ip_setsockopt() 955 kfree(msf); in do_ip_setsockopt() 959 err = ip_mc_msfilter(sk, msf, 0); in do_ip_setsockopt() [all …]
|
D | igmp.c | 2426 int ip_mc_msfilter(struct sock *sk, struct ip_msfilter *msf, int ifindex) in ip_mc_msfilter() argument 2430 __be32 addr = msf->imsf_multiaddr; in ip_mc_msfilter() 2440 if (msf->imsf_fmode != MCAST_INCLUDE && in ip_mc_msfilter() 2441 msf->imsf_fmode != MCAST_EXCLUDE) in ip_mc_msfilter() 2446 imr.imr_multiaddr.s_addr = msf->imsf_multiaddr; in ip_mc_msfilter() 2447 imr.imr_address.s_addr = msf->imsf_interface; in ip_mc_msfilter() 2457 if (msf->imsf_fmode == MCAST_INCLUDE && msf->imsf_numsrc == 0) { in ip_mc_msfilter() 2463 if (pmc->multi.imr_multiaddr.s_addr == msf->imsf_multiaddr && in ip_mc_msfilter() 2471 if (msf->imsf_numsrc) { in ip_mc_msfilter() 2472 newpsl = sock_kmalloc(sk, IP_SFLSIZE(msf->imsf_numsrc), in ip_mc_msfilter() [all …]
|
/Linux-v5.4/drivers/scsi/ |
D | sr_ioctl.c | 98 tocentry->cdte_addr.msf.minute = buffer[9]; in sr_read_tocentry() 99 tocentry->cdte_addr.msf.second = buffer[10]; in sr_read_tocentry() 100 tocentry->cdte_addr.msf.frame = buffer[11]; in sr_read_tocentry() 147 cgc.cmd[3] = trk0_te.cdte_addr.msf.minute; in sr_fake_playtrkind() 148 cgc.cmd[4] = trk0_te.cdte_addr.msf.second; in sr_fake_playtrkind() 149 cgc.cmd[5] = trk0_te.cdte_addr.msf.frame; in sr_fake_playtrkind() 150 cgc.cmd[6] = trk1_te.cdte_addr.msf.minute; in sr_fake_playtrkind() 151 cgc.cmd[7] = trk1_te.cdte_addr.msf.second; in sr_fake_playtrkind() 152 cgc.cmd[8] = trk1_te.cdte_addr.msf.frame; in sr_fake_playtrkind()
|
/Linux-v5.4/drivers/cdrom/ |
D | cdrom.c | 1563 addr->lba = (int) addr->msf.frame + in sanitize_format() 1564 75 * (addr->msf.second - 2 + 60 * addr->msf.minute); in sanitize_format() 1567 addr->msf.frame = lba % 75; in sanitize_format() 1570 addr->msf.second = lba % 60; in sanitize_format() 1571 addr->msf.minute = lba / 60; in sanitize_format() 2054 subchnl->cdsc_reladdr.msf.minute = cgc.buffer[13]; in cdrom_read_subchannel() 2055 subchnl->cdsc_reladdr.msf.second = cgc.buffer[14]; in cdrom_read_subchannel() 2056 subchnl->cdsc_reladdr.msf.frame = cgc.buffer[15]; in cdrom_read_subchannel() 2057 subchnl->cdsc_absaddr.msf.minute = cgc.buffer[9]; in cdrom_read_subchannel() 2058 subchnl->cdsc_absaddr.msf.second = cgc.buffer[10]; in cdrom_read_subchannel() [all …]
|
/Linux-v5.4/drivers/ide/ |
D | ide-cd.c | 951 static void msf_from_bcd(struct atapi_msf *msf) in msf_from_bcd() argument 953 msf->minute = bcd2bin(msf->minute); in msf_from_bcd() 954 msf->second = bcd2bin(msf->second); in msf_from_bcd() 955 msf->frame = bcd2bin(msf->frame); in msf_from_bcd() 1174 msf_from_bcd(&toc->ent[i].addr.msf); in ide_cd_read_toc() 1176 toc->ent[i].addr.lba = msf_to_lba(toc->ent[i].addr.msf.minute, in ide_cd_read_toc() 1177 toc->ent[i].addr.msf.second, in ide_cd_read_toc() 1178 toc->ent[i].addr.msf.frame); in ide_cd_read_toc() 1202 msf_from_bcd(&ms_tmp.ent.addr.msf); in ide_cd_read_toc() 1203 toc->last_session_lba = msf_to_lba(ms_tmp.ent.addr.msf.minute, in ide_cd_read_toc() [all …]
|
D | ide-cd_ioctl.c | 410 &tocentry->cdte_addr.msf.minute, in ide_cd_read_tocentry() 411 &tocentry->cdte_addr.msf.second, in ide_cd_read_tocentry() 412 &tocentry->cdte_addr.msf.frame); in ide_cd_read_tocentry()
|
D | ide-cd.h | 62 struct atapi_msf msf; member
|
/Linux-v5.4/include/linux/ |
D | igmp.h | 122 extern int ip_mc_msfilter(struct sock *sk, struct ip_msfilter *msf,int ifindex); 123 extern int ip_mc_msfget(struct sock *sk, struct ip_msfilter *msf,
|
/Linux-v5.4/Documentation/ioctl/ |
D | cdrom.rst | 46 CDROMSEEK seek msf address 146 struct cdrom_msf msf; 148 ioctl(fd, CDROMPLAYMSF, &msf); 448 struct cdrom_msf msf; /* input */ 463 - EINVAL address less than 0, or msf less than 0:2:0 676 seek msf address 681 struct cdrom_msf msf; 683 ioctl(fd, CDROMSEEK, &msf);
|
/Linux-v5.4/drivers/usb/gadget/function/ |
D | storage_common.c | 294 void store_cdrom_address(u8 *dest, int msf, u32 addr) in store_cdrom_address() argument 296 if (msf) { in store_cdrom_address()
|
D | storage_common.h | 208 void store_cdrom_address(u8 *dest, int msf, u32 addr);
|
D | f_mass_storage.c | 1165 int msf = common->cmnd[1] & 0x02; in do_read_header() local 1180 store_cdrom_address(&buf[4], msf, lba); in do_read_header() 1187 int msf = common->cmnd[1] & 0x02; in do_read_toc() local 1203 store_cdrom_address(&buf[8], msf, 0); in do_read_toc() 1207 store_cdrom_address(&buf[16], msf, curlun->num_sectors); in do_read_toc()
|
/Linux-v5.4/drivers/block/paride/ |
D | pcd.c | 970 tocentry->cdte_addr.msf.minute = buffer[9]; in pcd_audio_ioctl() 971 tocentry->cdte_addr.msf.second = buffer[10]; in pcd_audio_ioctl() 972 tocentry->cdte_addr.msf.frame = buffer[11]; in pcd_audio_ioctl()
|
/Linux-v5.4/include/uapi/linux/ |
D | cdrom.h | 165 struct cdrom_msf0 msf; member
|