| /src/sys/dev/mii/ |
| H A D | mii.c | 125 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() 182 struct mii_attach_args *ma; in miibus_print_child() local 185 ma = device_get_ivars(child); in miibus_print_child() 187 retval += printf(" PHY %d", ma->mii_phyno); in miibus_print_child() 217 struct mii_attach_args *ma; in miibus_child_pnpinfo() local 219 ma = device_get_ivars(child); in miibus_child_pnpinfo() 221 MII_OUI(ma->mii_id1, ma->mii_id2), in miibus_child_pnpinfo() 222 MII_MODEL(ma->mii_id2), MII_REV(ma->mii_id2)); in miibus_child_pnpinfo() [all …]
|
| H A D | mii_fdt.c | 186 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 D | mii_physubr.c | 550 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 …]
|
| /src/contrib/libedit/ |
| H A D | read.c | 86 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 …]
|
| /src/tools/boot/ |
| H A D | full-test.sh | 97 local ma=$2 100 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}" 107 local ma=$2 110 local ma_combo=$(ma_combo $m $ma) 112 local url="${URLBASE}/${m}/${ma}/ISO-IMAGES/${v}/${file}.xz" 125 local a m ma 129 ma=${a##*:} 130 fetch_one $m $ma ${FREEBSD_VERSION} bootonly.iso 139 local ma=$2 144 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}" [all …]
|
| /src/sys/fs/smbfs/ |
| H A D | smbfs_vfsops.c | 91 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 …]
|
| /src/lib/libc/iconv/ |
| H A D | citrus_mapper.c | 75 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 …]
|
| /src/contrib/bearssl/test/ |
| H A D | test_math.c | 247 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 …]
|
| /src/sys/fs/cd9660/ |
| H A D | cd9660_vfsops.c | 96 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 …]
|
| /src/sys/kern/ |
| H A D | vfs_mount.c | 79 static void free_mntarg(struct mntarg *ma); 1064 struct mntarg *ma = NULL; in sys_mount() local 1104 ma = mount_argsu(ma, "fstype", uap->type, MFSNAMELEN); in sys_mount() 1105 ma = mount_argsu(ma, "fspath", uap->path, MNAMELEN); in sys_mount() 1106 ma = mount_argb(ma, flags & MNT_RDONLY, "noro"); in sys_mount() 1107 ma = mount_argb(ma, !(flags & MNT_NOSUID), "nosuid"); in sys_mount() 1108 ma = mount_argb(ma, !(flags & MNT_NOEXEC), "noexec"); in sys_mount() 1111 return (vfsp->vfc_vfsops_sd->vfs_cmount(ma, uap->data, flags)); in sys_mount() 1112 return (vfsp->vfc_vfsops->vfs_cmount(ma, uap->data, flags)); in sys_mount() 2827 mount_argb(struct mntarg *ma, int flag, const char *name) in mount_argb() argument [all …]
|
| H A D | vfs_mountroot.c | 737 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 …]
|
| /src/lib/libc/stdlib/ |
| H A D | exit.c | 58 pthread_mutexattr_t ma; in exit_mutex_init_once() local 60 _pthread_mutexattr_init(&ma); in exit_mutex_init_once() 61 _pthread_mutexattr_settype(&ma, PTHREAD_MUTEX_RECURSIVE); in exit_mutex_init_once() 62 _pthread_mutex_init(&exit_mutex, &ma); in exit_mutex_init_once() 63 _pthread_mutexattr_destroy(&ma); in exit_mutex_init_once()
|
| /src/usr.bin/bluetooth/rfcomm_sppd/ |
| H A D | rfcomm_sppd.c | 195 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()
|
| /src/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | dmu_os.c | 67 vm_page_t *ma, dmu_tx_t *tx) in dmu_write_pages() argument 110 ASSERT3U(ptoa((*ma)->pindex), ==, in dmu_write_pages() 113 va = zfs_map_page(*ma, &sf); in dmu_write_pages() 117 ma += 1; in dmu_write_pages() 132 dmu_read_pages(objset_t *os, uint64_t object, vm_page_t *ma, int count, in dmu_read_pages() argument 146 ASSERT3U(ma[0]->pindex + count - 1, ==, ma[count - 1]->pindex); in dmu_read_pages() 149 err = dmu_buf_hold_array(os, object, IDX_TO_OFF(ma[0]->pindex), in dmu_read_pages() 166 vmobj = ma[0]->object; in dmu_read_pages() 170 m = vm_page_grab_unlocked(vmobj, ma[0]->pindex - 1 - i, in dmu_read_pages() 197 bufoff = IDX_TO_OFF(ma[0]->pindex) % db->db_size; in dmu_read_pages() [all …]
|
| /src/sys/dev/iommu/ |
| H A D | busdma_iommu.c | 585 struct bus_dmamap_iommu *map, vm_page_t *ma, int offset, bus_size_t buflen, in iommu_bus_dmamap_load_something1() argument 623 offset, e_flags, gas_flags, ma + idx, &entry); in iommu_bus_dmamap_load_something1() 672 struct bus_dmamap_iommu *map, vm_page_t *ma, int offset, bus_size_t buflen, in iommu_bus_dmamap_load_something() argument 685 error = iommu_bus_dmamap_load_something1(tag, map, ma, offset, in iommu_bus_dmamap_load_something() 714 struct vm_page **ma, bus_size_t tlen, int ma_offs, int flags, in iommu_bus_dmamap_load_ma() argument 722 return (iommu_bus_dmamap_load_something(tag, map, ma, ma_offs, tlen, in iommu_bus_dmamap_load_ma() 733 vm_page_t *ma, fma; in iommu_bus_dmamap_load_phys() local 744 ma = malloc(sizeof(vm_page_t) * ma_cnt, M_DEVBUF, mflags); in iommu_bus_dmamap_load_phys() 745 if (ma == NULL) in iommu_bus_dmamap_load_phys() 750 ma[i] = PHYS_TO_VM_PAGE(paddr); in iommu_bus_dmamap_load_phys() [all …]
|
| /src/sys/fs/msdosfs/ |
| H A D | msdosfs_vfsops.c | 193 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 …]
|
| /src/usr.sbin/mlxcontrol/ |
| H A D | interface.c | 81 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()
|
| /src/sys/contrib/device-tree/include/dt-bindings/usb/ |
| H A D | pd.h | 30 #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)
|
| /src/sys/dev/cxgbe/ |
| H A D | t4_iov.c | 378 uint8_t ma[ETHER_ADDR_LEN]; in t4iov_add_vf() local 389 bcopy(mac, ma, ETHER_ADDR_LEN); in t4iov_add_vf() 394 rc = -t4_set_vf_mac(adap, sc->pf, vfnum + 1, 1, ma); in t4iov_add_vf() 400 ma[0], ma[1], ma[2], ma[3], ma[4], ma[5], rc); in t4iov_add_vf()
|
| /src/sys/arm64/arm64/ |
| H A D | uio_machdep.c | 54 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()
|
| /src/sys/amd64/amd64/ |
| H A D | uio_machdep.c | 56 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()
|
| /src/sys/riscv/riscv/ |
| H A D | uio_machdep.c | 54 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()
|
| /src/crypto/heimdal/lib/gssapi/mech/ |
| H A D | gss_mo.c | 589 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()
|
| /src/sys/dev/dc/ |
| H A D | pnphy.c | 102 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()
|
| /src/usr.bin/vi/catalog/ |
| H A D | polish.UTF-8.base | 39 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 …]
|