Home
last modified time | relevance | path

Searched refs:ma (Results 1 – 25 of 238) sorted by relevance

12345678910

/freebsd/sys/dev/mii/
H A Dmii.c125 struct mii_attach_args *ma; in miibus_attach() local
133 ma = device_get_ivars(children[i]); in miibus_attach()
134 ma->mii_data = mii; in miibus_attach()
181 struct mii_attach_args *ma; in miibus_print_child() local
184 ma = device_get_ivars(child); in miibus_print_child()
186 retval += printf(" PHY %d", ma->mii_phyno); in miibus_print_child()
216 struct mii_attach_args *ma; in miibus_child_pnpinfo() local
218 ma = device_get_ivars(child); in miibus_child_pnpinfo()
220 MII_OUI(ma->mii_id1, ma->mii_id2), in miibus_child_pnpinfo()
221 MII_MODEL(ma->mii_id2), MII_REV(ma->mii_id2)); in miibus_child_pnpinfo()
[all …]
H A Dmii_fdt.c186 struct mii_attach_args *ma; in mii_fdt_get_config() local
191 ma = device_get_ivars(phydev); in mii_fdt_get_config()
210 cfg->phynode = mii_fdt_lookup_phy(cfg->macnode, ma->mii_phyno); in mii_fdt_get_config()
259 struct mii_attach_args *ma; in miibus_fdt_attach() local
271 ma = device_get_ivars(children[i]); in miibus_fdt_attach()
272 bzero(&ma->obd, sizeof(ma->obd)); in miibus_fdt_attach()
274 ma->mii_phyno); in miibus_fdt_attach()
278 ma->mii_phyno); in miibus_fdt_attach()
281 error = ofw_bus_gen_setup_devinfo(&ma->obd, phy_node); in miibus_fdt_attach()
285 ma->mii_phyno); in miibus_fdt_attach()
[all …]
H A Dmii_physubr.c550 mii_phy_match_gen(const struct mii_attach_args *ma, in mii_phy_match_gen() argument
556 if (MII_OUI(ma->mii_id1, ma->mii_id2) == mpd->mpd_oui && in mii_phy_match_gen()
557 MII_MODEL(ma->mii_id2) == mpd->mpd_model) in mii_phy_match_gen()
564 mii_phy_match(const struct mii_attach_args *ma, const struct mii_phydesc *mpd) in mii_phy_match() argument
567 return (mii_phy_match_gen(ma, mpd, sizeof(struct mii_phydesc))); in mii_phy_match()
587 struct mii_attach_args *ma; in mii_phy_dev_attach() local
591 ma = device_get_ivars(dev); in mii_phy_dev_attach()
593 mii = ma->mii_data; in mii_phy_dev_attach()
597 sc->mii_mpd_oui = MII_OUI(ma->mii_id1, ma->mii_id2); in mii_phy_dev_attach()
598 sc->mii_mpd_model = MII_MODEL(ma->mii_id2); in mii_phy_dev_attach()
[all …]
H A Dmcommphy.c102 struct mii_attach_args *ma = device_get_ivars(dev); in mcommphy_probe() local
108 if (MII_OUI(ma->mii_id1, ma->mii_id2) == MCOMMPHY_OUI && in mcommphy_probe()
109 MII_MODEL(ma->mii_id2) == MCOMMPHY_MODEL && in mcommphy_probe()
110 MII_REV(ma->mii_id2) == MCOMMPHY_REV) { in mcommphy_probe()
/freebsd/contrib/libedit/
H A Dread.c86 struct macros *ma; in read_init() local
91 ma = &el->el_read->macros; in read_init()
92 if ((ma->macro = el_calloc(EL_MAXMACRO, sizeof(*ma->macro))) == NULL) in read_init()
94 ma->level = -1; in read_init()
95 ma->offset = 0; in read_init()
211 struct macros *ma = &el->el_read->macros; in el_wpush() local
213 if (str != NULL && ma->level + 1 < EL_MAXMACRO) { in el_wpush()
214 ma->level++; in el_wpush()
215 if ((ma->macro[ma->level] = wcsdup(str)) != NULL) in el_wpush()
217 ma->level--; in el_wpush()
[all …]
/freebsd/tools/boot/
H A Dfull-test.sh61 local ma=$2
64 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}"
71 local ma=$2
74 local ma_combo=$(ma_combo $m $ma)
76 local url="${URLBASE}/${m}/${ma}/ISO-IMAGES/${v}/${file}.xz"
89 local a m ma
93 ma=${a##*:}
94 fetch_one $m $ma ${FREEBSD_VERSION} bootonly.iso
103 local ma=$2
108 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}"
[all …]
/freebsd/sys/fs/smbfs/
H A Dsmbfs_vfsops.c91 smbfs_cmount(struct mntarg *ma, void * data, uint64_t flags) in smbfs_cmount() argument
105 ma = mount_argf(ma, "dev", "%d", args.dev); in smbfs_cmount()
106 ma = mount_argb(ma, args.flags & SMBFS_MOUNT_SOFT, "nosoft"); in smbfs_cmount()
107 ma = mount_argb(ma, args.flags & SMBFS_MOUNT_INTR, "nointr"); in smbfs_cmount()
108 ma = mount_argb(ma, args.flags & SMBFS_MOUNT_STRONG, "nostrong"); in smbfs_cmount()
109 ma = mount_argb(ma, args.flags & SMBFS_MOUNT_HAVE_NLS, "nohave_nls"); in smbfs_cmount()
110 ma = mount_argb(ma, !(args.flags & SMBFS_MOUNT_NO_LONG), "nolong"); in smbfs_cmount()
111 ma = mount_arg(ma, "rootpath", args.root_path, -1); in smbfs_cmount()
112 ma = mount_argf(ma, "uid", "%d", args.uid); in smbfs_cmount()
113 ma = mount_argf(ma, "gid", "%d", args.gid); in smbfs_cmount()
[all …]
/freebsd/lib/libc/iconv/
H A Dcitrus_mapper.c75 struct _citrus_mapper_area *ma; in _citrus_mapper_create_area() local
93 ma = malloc(sizeof(*ma)); in _citrus_mapper_create_area()
94 if (ma == NULL) { in _citrus_mapper_create_area()
98 ma->ma_dir = strdup(area); in _citrus_mapper_create_area()
99 if (ma->ma_dir == NULL) { in _citrus_mapper_create_area()
101 free(ma); in _citrus_mapper_create_area()
104 _CITRUS_HASH_INIT(&ma->ma_cache, CM_HASH_SIZE); in _citrus_mapper_create_area()
106 *rma = ma; in _citrus_mapper_create_area()
202 mapper_open(struct _citrus_mapper_area *__restrict ma, in mapper_open() argument
259 ret = (*cm->cm_ops->mo_init)(ma, cm, ma->ma_dir, in mapper_open()
[all …]
/freebsd/contrib/bearssl/test/
H A Dtest_math.c247 uint32_t mp[40], ma[40], mb[40], mv[60], mx[100]; in test_modint() local
265 if (impl->decode_mod(ma, ea, alen, mp) != 1) { in test_modint()
288 check_eqz(ma, a); in test_modint()
292 impl->decode_mod(ma, ea, alen, mp); in test_modint()
294 ctl = impl->add(ma, mb, 1); in test_modint()
295 ctl |= impl->sub(ma, mp, 0) ^ (uint32_t)1; in test_modint()
296 impl->sub(ma, mp, ctl); in test_modint()
299 check_eqz(ma, t1); in test_modint()
301 impl->decode_mod(ma, ea, alen, mp); in test_modint()
303 impl->add(ma, mp, impl->sub(ma, mb, 1)); in test_modint()
[all …]
/freebsd/sys/fs/cd9660/
H A Dcd9660_vfsops.c96 cd9660_cmount(struct mntarg *ma, void *data, uint64_t flags) in cd9660_cmount() argument
105 ma = mount_argsu(ma, "from", args.fspec, MAXPATHLEN); in cd9660_cmount()
106 ma = mount_arg(ma, "export", &args.export, sizeof(args.export)); in cd9660_cmount()
108 ma = mount_argf(ma, "uid", "%d", args.uid); in cd9660_cmount()
110 ma = mount_argf(ma, "gid", "%d", args.gid); in cd9660_cmount()
111 ma = mount_argf(ma, "mask", "%d", args.fmask); in cd9660_cmount()
112 ma = mount_argf(ma, "dirmask", "%d", args.dmask); in cd9660_cmount()
113 ma = mount_argsu(ma, "cs_disk", args.cs_disk, 64); in cd9660_cmount()
114 ma = mount_argsu(ma, "cs_local", args.cs_local, 64); in cd9660_cmount()
115 ma = mount_argf(ma, "ssector", "%u", args.ssector); in cd9660_cmount()
[all …]
/freebsd/sys/kern/
H A Dvfs_mount.c80 static void free_mntarg(struct mntarg *ma);
1055 struct mntarg *ma = NULL; in sys_mount() local
1095 ma = mount_argsu(ma, "fstype", uap->type, MFSNAMELEN); in sys_mount()
1096 ma = mount_argsu(ma, "fspath", uap->path, MNAMELEN); in sys_mount()
1097 ma = mount_argb(ma, flags & MNT_RDONLY, "noro"); in sys_mount()
1098 ma = mount_argb(ma, !(flags & MNT_NOSUID), "nosuid"); in sys_mount()
1099 ma = mount_argb(ma, !(flags & MNT_NOEXEC), "noexec"); in sys_mount()
1102 return (vfsp->vfc_vfsops_sd->vfs_cmount(ma, uap->data, flags)); in sys_mount()
1103 return (vfsp->vfc_vfsops->vfs_cmount(ma, uap->data, flags)); in sys_mount()
2811 mount_argb(struct mntarg *ma, int flag, const char *name) in mount_argb() argument
[all …]
H A Dvfs_mountroot.c737 struct mntarg *ma; in parse_mount() local
784 ma = NULL; in parse_mount()
785 ma = mount_arg(ma, "fstype", fs, -1); in parse_mount()
786 ma = mount_arg(ma, "fspath", "/", -1); in parse_mount()
787 ma = mount_arg(ma, "from", dev, -1); in parse_mount()
788 ma = mount_arg(ma, "errmsg", errmsg, ERRMSGL); in parse_mount()
789 ma = mount_arg(ma, "ro", NULL, 0); in parse_mount()
790 ma = parse_mountroot_options(ma, opts); in parse_mount()
792 error = kernel_mount(ma, MNT_ROOTFS); in parse_mount()
1124 parse_mountroot_options(struct mntarg *ma, const char *options) in parse_mountroot_options() argument
[all …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Ddmu_os.c67 vm_page_t *ma, dmu_tx_t *tx) in dmu_write_pages() argument
102 ASSERT3U(ptoa((*ma)->pindex), ==, in dmu_write_pages()
105 va = zfs_map_page(*ma, &sf); in dmu_write_pages()
108 ma += 1; in dmu_write_pages()
123 dmu_read_pages(objset_t *os, uint64_t object, vm_page_t *ma, int count, in dmu_read_pages() argument
137 ASSERT3U(ma[0]->pindex + count - 1, ==, ma[count - 1]->pindex); in dmu_read_pages()
140 err = dmu_buf_hold_array(os, object, IDX_TO_OFF(ma[0]->pindex), in dmu_read_pages()
156 vmobj = ma[0]->object; in dmu_read_pages()
160 m = vm_page_grab_unlocked(vmobj, ma[0]->pindex - 1 - i, in dmu_read_pages()
186 bufoff = IDX_TO_OFF(ma[0]->pindex) % db->db_size; in dmu_read_pages()
[all …]
/freebsd/usr.bin/bluetooth/rfcomm_sppd/
H A Drfcomm_sppd.c195 struct sockaddr_rfcomm ma; in main() local
209 memset(&ma, 0, sizeof(ma)); in main()
210 ma.rfcomm_len = sizeof(ma); in main()
211 ma.rfcomm_family = AF_BLUETOOTH; in main()
212 memcpy(&ma.rfcomm_bdaddr, &bt_addr_any, sizeof(bt_addr_any)); in main()
213 ma.rfcomm_channel = channel; in main()
215 if (bind(acceptsock, (struct sockaddr *)&ma, sizeof(ma)) < 0) in main()
220 aaddrlen = sizeof(ma); in main()
221 if (getsockname(acceptsock, (struct sockaddr *)&ma, &aaddrlen) < 0) in main()
223 channel = ma.rfcomm_channel; in main()
/freebsd/sys/dev/iommu/
H A Dbusdma_iommu.c554 struct bus_dmamap_iommu *map, vm_page_t *ma, int offset, bus_size_t buflen, in iommu_bus_dmamap_load_something1() argument
592 offset, e_flags, gas_flags, ma + idx, &entry); in iommu_bus_dmamap_load_something1()
641 struct bus_dmamap_iommu *map, vm_page_t *ma, int offset, bus_size_t buflen, in iommu_bus_dmamap_load_something() argument
654 error = iommu_bus_dmamap_load_something1(tag, map, ma, offset, in iommu_bus_dmamap_load_something()
683 struct vm_page **ma, bus_size_t tlen, int ma_offs, int flags, in iommu_bus_dmamap_load_ma() argument
691 return (iommu_bus_dmamap_load_something(tag, map, ma, ma_offs, tlen, in iommu_bus_dmamap_load_ma()
702 vm_page_t *ma, fma; in iommu_bus_dmamap_load_phys() local
713 ma = malloc(sizeof(vm_page_t) * ma_cnt, M_DEVBUF, mflags); in iommu_bus_dmamap_load_phys()
714 if (ma == NULL) in iommu_bus_dmamap_load_phys()
719 ma[i] = PHYS_TO_VM_PAGE(paddr); in iommu_bus_dmamap_load_phys()
[all …]
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c193 msdosfs_cmount(struct mntarg *ma, void *data, uint64_t flags) in msdosfs_cmount() argument
204 ma = mount_argsu(ma, "from", args.fspec, MAXPATHLEN); in msdosfs_cmount()
205 ma = mount_arg(ma, "export", &args.export, sizeof(args.export)); in msdosfs_cmount()
206 ma = mount_argf(ma, "uid", "%d", args.uid); in msdosfs_cmount()
207 ma = mount_argf(ma, "gid", "%d", args.gid); in msdosfs_cmount()
208 ma = mount_argf(ma, "mask", "%d", args.mask); in msdosfs_cmount()
209 ma = mount_argf(ma, "dirmask", "%d", args.dirmask); in msdosfs_cmount()
211 ma = mount_argb(ma, args.flags & MSDOSFSMNT_SHORTNAME, "noshortname"); in msdosfs_cmount()
212 ma = mount_argb(ma, args.flags & MSDOSFSMNT_LONGNAME, "nolongname"); in msdosfs_cmount()
213 ma = mount_argb(ma, !(args.flags & MSDOSFSMNT_NOWIN95), "nowin95"); in msdosfs_cmount()
[all …]
/freebsd/usr.sbin/mlxcontrol/
H A Dinterface.c81 struct mlxd_foreach_action *ma = (struct mlxd_foreach_action *)arg; in mlxd_foreach_ctrlr() local
100 ma->func(i, ma->arg); in mlxd_foreach_ctrlr()
108 struct mlxd_foreach_action ma; in mlxd_foreach() local
110 ma.func = func; in mlxd_foreach()
111 ma.arg = arg; in mlxd_foreach()
112 mlx_foreach(mlxd_foreach_ctrlr, &ma); in mlxd_foreach()
/freebsd/sys/contrib/device-tree/include/dt-bindings/usb/
H A Dpd.h30 #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT) argument
32 #define PDO_FIXED(mv, ma, flags) \ argument
34 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma))
56 #define PDO_VAR_MAX_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_VAR_MAX_CURR_SHIFT) argument
80 #define PDO_PPS_APDO_MAX_CURR(ma) \ argument
81 ((((ma) / 50) & PDO_PPS_APDO_CURR_MASK) << PDO_PPS_APDO_MAX_CURR_SHIFT)
/freebsd/sys/dev/cxgbe/
H A Dt4_iov.c340 uint8_t ma[ETHER_ADDR_LEN]; in t4iov_add_vf() local
351 bcopy(mac, ma, ETHER_ADDR_LEN); in t4iov_add_vf()
356 rc = -t4_set_vf_mac(adap, sc->pf, vfnum + 1, 1, ma); in t4iov_add_vf()
362 ma[0], ma[1], ma[2], ma[3], ma[4], ma[5], rc); in t4iov_add_vf()
/freebsd/sys/riscv/riscv/
H A Duio_machdep.c54 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio) in uiomove_fromphys() argument
92 &ma[offset >> PAGE_SHIFT], &vaddr, 1, true); in uiomove_fromphys()
123 pmap_unmap_io_transient(&ma[offset >> PAGE_SHIFT], in uiomove_fromphys()
137 pmap_unmap_io_transient(&ma[offset >> PAGE_SHIFT], &vaddr, 1, in uiomove_fromphys()
/freebsd/sys/arm64/arm64/
H A Duio_machdep.c54 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio) in uiomove_fromphys() argument
92 &ma[offset >> PAGE_SHIFT], &vaddr, 1, true); in uiomove_fromphys()
123 pmap_unmap_io_transient(&ma[offset >> PAGE_SHIFT], in uiomove_fromphys()
137 pmap_unmap_io_transient(&ma[offset >> PAGE_SHIFT], &vaddr, 1, in uiomove_fromphys()
/freebsd/sys/amd64/amd64/
H A Duio_machdep.c56 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio) in uiomove_fromphys() argument
94 &ma[offset >> PAGE_SHIFT], &vaddr, 1, true); in uiomove_fromphys()
125 pmap_unmap_io_transient(&ma[offset >> PAGE_SHIFT], in uiomove_fromphys()
138 pmap_unmap_io_transient(&ma[offset >> PAGE_SHIFT], &vaddr, 1, in uiomove_fromphys()
/freebsd/crypto/heimdal/lib/gssapi/mech/
H A Dgss_mo.c589 struct _gss_oid_name_table *ma = NULL; in gss_display_mech_attr() local
600 for (n = 0; ma == NULL && _gss_ont_ma[n].oid; n++) in gss_display_mech_attr()
602 ma = &_gss_ont_ma[n]; in gss_display_mech_attr()
604 if (ma == NULL) in gss_display_mech_attr()
609 bd.value = rk_UNCONST(ma->name); in gss_display_mech_attr()
610 bd.length = strlen(ma->name); in gss_display_mech_attr()
618 bd.value = rk_UNCONST(ma->short_desc); in gss_display_mech_attr()
619 bd.length = strlen(ma->short_desc); in gss_display_mech_attr()
627 bd.value = rk_UNCONST(ma->long_desc); in gss_display_mech_attr()
628 bd.length = strlen(ma->long_desc); in gss_display_mech_attr()
/freebsd/sys/dev/dc/
H A Dpnphy.c102 struct mii_attach_args *ma; in pnphy_probe() local
104 ma = device_get_ivars(dev); in pnphy_probe()
110 if (ma->mii_id1 != DC_VENDORID_LO || in pnphy_probe()
111 ma->mii_id2 != DC_DEVICEID_82C168) in pnphy_probe()
/freebsd/usr.bin/vi/catalog/
H A Dpolish.UTF-8.base39 040 "Zbyt mała liczba kolumn ekranu, mniejsza niż %d"
41 042 "Zbyt mała liczba wierszy ekranu, mniejsza niż %d"
66 072 "Pusty plik; nie ma czego szukać"
104 111 "Nie ma więcej plików do edycji"
105 112 "Nie ma poprzednich plików do edycji"
106 113 "Nie ma poprzednich plików do przewinięcia wstecz"
107 114 "Nie ma listy plików do wyświetlenia"
108 115 "Nie ma poprzedniego polecenia do zastąpienia \"!\""
109 116 "Nie ma nazwy pliku do zastąpienia %%"
110 117 "Nie ma nazwy pliku do zastąpienia #"
[all …]

12345678910