/src/sys/kern/ |
kern_mutex_obj.c | 58 struct kmutexobj *mo; local in function:mutex_obj_alloc 60 mo = kmem_intr_alloc(sizeof(*mo), KM_SLEEP); 61 KASSERT(ALIGNED_POINTER(mo, coherency_unit)); 62 _mutex_init(&mo->mo_lock, type, ipl, 64 mo->mo_magic = MUTEX_OBJ_MAGIC; 65 mo->mo_refcnt = 1; 67 return (kmutex_t *)mo; 78 struct kmutexobj *mo; local in function:mutex_obj_tryalloc 80 mo = kmem_intr_alloc(sizeof(*mo), KM_NOSLEEP) 101 struct kmutexobj *mo = (struct kmutexobj *)lock; local in function:mutex_obj_hold 122 struct kmutexobj *mo = (struct kmutexobj *)lock; local in function:mutex_obj_free 149 struct kmutexobj *mo = (struct kmutexobj *)lock; local in function:mutex_obj_refcnt [all...] |
uipc_mbuf.c | 345 mowner_convert_to_user(struct mowner *mo, struct mowner_user *mo_user) 349 CTASSERT(sizeof(mo_user->mo_name) == sizeof(mo->mo_name)); 350 CTASSERT(sizeof(mo_user->mo_descr) == sizeof(mo->mo_descr)); 351 memcpy(mo_user->mo_name, mo->mo_name, sizeof(mo->mo_name)); 352 memcpy(mo_user->mo_descr, mo->mo_descr, sizeof(mo->mo_descr)); 353 percpu_foreach(mo->mo_counters, mowner_convert_to_user_cb, mo_user); 359 struct mowner *mo; local in function:sysctl_kern_mbuf_mowners 368 LIST_FOREACH(mo, &mowners, mo_link) 2208 struct mowner *mo; local in function:mowner_init 2222 struct mowner *mo = m->m_owner; local in function:mowner_ref 2239 struct mowner *mo = m->m_owner; local in function:mowner_revoke [all...] |
/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_encoder.h | 245 struct drm_mode_object *mo; local in function:drm_encoder_find 247 mo = drm_mode_object_find(dev, file_priv, id, DRM_MODE_OBJECT_ENCODER); 249 return mo ? obj_to_encoder(mo) : NULL;
|
drm_property.h | 300 struct drm_mode_object *mo; local in function:drm_property_find 301 mo = drm_mode_object_find(dev, file_priv, id, DRM_MODE_OBJECT_PROPERTY); 302 return mo ? obj_to_property(mo) : NULL;
|
drm_plane.h | 792 struct drm_mode_object *mo; local in function:drm_plane_find 793 mo = drm_mode_object_find(dev, file_priv, id, DRM_MODE_OBJECT_PLANE); 794 return mo ? obj_to_plane(mo) : NULL;
|
drm_crtc.h | 1197 struct drm_mode_object *mo; local in function:drm_crtc_find 1198 mo = drm_mode_object_find(dev, file_priv, id, DRM_MODE_OBJECT_CRTC); 1199 return mo ? obj_to_crtc(mo) : NULL;
|
drm_connector.h | 1474 struct drm_mode_object *mo; local in function:drm_connector_lookup 1475 mo = drm_mode_object_find(dev, file_priv, id, DRM_MODE_OBJECT_CONNECTOR); 1476 return mo ? obj_to_connector(mo) : NULL;
|
/src/sys/netipsec/ |
ipsec_mbuf.c | 385 struct mbuf *mo; local in function:m_striphdr 405 mo = m1->m_next; 415 m1->m_next = mo;
|
ipsec_output.c | 152 struct mbuf *mo; local in function:ipsec_process_done 169 mo = m_makespace(m, sizeof(struct ip), hlen, &roff); 176 mo = m_makespace(m, sizeof(struct ip6_hdr), hlen, &roff); 187 if (mo == NULL) { 197 udp = (struct udphdr *)(mtod(mo, char *) + roff);
|
xform_esp.c | 685 struct mbuf *mo = NULL; local in function:esp_output 771 mo = m_makespace(m, skip, hlen, &roff); 772 if (mo == NULL) { 783 memcpy(mtod(mo, char *) + roff, &sav->spi, sizeof(uint32_t)); 795 memcpy(mtod(mo,char *) + roff + sizeof(uint32_t), &replay,
|
xform_ipcomp.c | 514 struct mbuf *m, *mo; local in function:ipcomp_output_cb 547 mo = m_makespace(m, skip, IPCOMP_HLENGTH, &roff); 548 if (mo == NULL) { 556 ipcomp = (struct ipcomp *)(mtod(mo, char *) + roff);
|
/src/usr.bin/netstat/ |
mbuf.c | 98 struct mowner_user *mo; local in function:mbpr 211 len += 10 * sizeof(*mo); /* add some slop */ 226 for (mo = (void *) data, lines = 0; len >= sizeof(*mo); 227 len -= sizeof(*mo), mo++) { 230 mo->mo_counter[MOWNER_COUNTER_CLAIMS] == 0 && 231 mo->mo_counter[MOWNER_COUNTER_EXT_CLAIMS] == 0 && 232 mo->mo_counter[MOWNER_COUNTER_CLUSTER_CLAIMS] == 0) 235 mo->mo_counter[MOWNER_COUNTER_CLAIMS] = [all...] |
/src/lib/libintl/ |
libintl_local.h | 41 /* *.mo file format */ 42 struct mo { struct 130 struct mo_h mo; /* endian-flipped mo file header */ member in struct:mohandle
|
gettext.c | 206 * the code reads in *.mo files generated by GNU gettext. *.mo is a host- 338 int rv = snprintf(buf, len, "%s/%s/%s/%s.mo", dir, p, 457 mohandle->mo.mo_sysdep_segs[str->segs[i].ref].len; 471 memcpy(dst, mohandle->mo.mo_sysdep_segs[str->segs[i].ref].str, 472 mohandle->mo.mo_sysdep_segs[str->segs[i].ref].len); 473 dst += mohandle->mo.mo_sysdep_segs[str->segs[i].ref].len; 496 setup_sysdep_stuffs(struct mo *mo, struct mohandle *mohandle, char *base) 505 magic = mo->mo_magic 581 struct mo *mo; local in function:mapit [all...] |
/src/sys/dev/pci/cxgb/ |
cxgb_vsc7323.c | 60 const struct mdio_ops *mo = adapter_info(adap)->mdio_ops; local in function:t3_elmr_blk_write 63 ret = mo->write(adap, ELMR_MDIO_ADDR, 0, ELMR_ADDR, start); 65 ret = mo->write(adap, ELMR_MDIO_ADDR, 0, ELMR_DATA_LO, 68 ret = mo->write(adap, ELMR_MDIO_ADDR, 0, ELMR_DATA_HI, 84 const struct mdio_ops *mo = adapter_info(adap)->mdio_ops; local in function:t3_elmr_blk_read 88 ret = mo->write(adap, ELMR_MDIO_ADDR, 0, ELMR_ADDR, start); 93 ret = mo->read(adap, ELMR_MDIO_ADDR, 0, ELMR_STAT, &v); 106 ret = mo->read(adap, ELMR_MDIO_ADDR, 0, ELMR_DATA_LO, vals); 108 ret = mo->read(adap, ELMR_MDIO_ADDR, 0, ELMR_DATA_HI,
|
cxgb_t3_cpl.h | 1492 __be32 mo; member in struct:cpl_rdma_terminate
|
/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_userptr.c | 57 static void add_object(struct i915_mmu_object *mo) 59 GEM_BUG_ON(!RB_EMPTY_NODE(&mo->it.rb)); 60 interval_tree_insert(&mo->it, &mo->mn->objects); 63 static void del_object(struct i915_mmu_object *mo) 65 if (RB_EMPTY_NODE(&mo->it.rb)) 68 interval_tree_remove(&mo->it, &mo->mn->objects); 69 RB_CLEAR_NODE(&mo->it.rb); 75 struct i915_mmu_object *mo = obj->userptr.mmu_object local in function:__i915_gem_userptr_set_active 190 struct i915_mmu_object *mo; local in function:i915_gem_userptr_release__mmu_notifier 248 struct i915_mmu_object *mo; local in function:i915_gem_userptr_init__mmu_notifier [all...] |
/src/sys/net/ |
ppp-deflate.c | 465 struct mbuf *mo, *mo_head; local in function:z_decompress 497 MGETHDR(mo, M_DONTWAIT, MT_DATA); 498 if (mo == NULL) 500 mo_head = mo; 501 mo->m_len = 0; 502 mo->m_next = NULL; 503 MCLGET(mo, M_DONTWAIT); 504 ospace = M_TRAILINGSPACE(mo); 506 mo->m_data += state->hdrlen; 514 wptr = mtod(mo, u_char *) [all...] |
/src/sbin/newfs/ |
newfs.c | 267 mntoptparse_t mo; local in function:main 391 mo = getmntopts(optarg, mopts, &mntflags, 0); 392 if (mo == NULL) 394 freemntopts(mo);
|
/src/sys/dev/scsipi/ |
scsipi_base.c | 1835 struct scsipi_max_openings mo; local in function:scsipi_complete 1843 mo.mo_target = periph->periph_target; 1844 mo.mo_lun = periph->periph_lun; 1846 mo.mo_openings = periph->periph_active - 1; 1848 mo.mo_openings = periph->periph_openings - 1; 1850 if (mo.mo_openings < 0) { 1856 if (mo.mo_openings == 0) { 1859 mo.mo_openings = 1; 1861 scsipi_async_event(chan, ASYNC_EVENT_MAX_OPENINGS, &mo); 2535 struct scsipi_max_openings *mo) [all...] |
/src/sys/dev/sun/ |
cgsix.c | 1025 struct mmo *mo; local in function:cgsixmmap 1051 for (mo = mmo; mo < &mmo[NMMO]; mo++) { 1052 if ((u_long)off < mo->mo_uaddr) 1054 u = off - mo->mo_uaddr; 1055 if (mo->mo_size == 0) { 1060 sz = mo->mo_size; 1064 sc->sc_paddr, u+mo->mo_physoff,
|
/src/sys/dev/sbus/ |
tcx.c | 642 struct mmo *mo, *mo_end; local in function:tcxmmap 676 mo = mmo; 679 for (; mo < mo_end; mo++) { 680 if ((u_int)off < mo->mo_uaddr) 683 u = off - mo->mo_uaddr; 684 sz = mo->mo_size; 692 if (mo->mo_uaddr == TCX_USER_RAM24 || 693 mo->mo_uaddr == TCX_USER_RDFB32) { 704 sz = rr[mo->mo_bank].oa_size [all...] |
/src/usr.bin/ftp/ |
ftp.c | 1814 char mo[MAXPATHLEN]; member in struct:pswitch::comvars 1870 (void)strlcpy(ip->mo, mapout, sizeof(ip->mo)); 1871 (void)strlcpy(mapout, op->mo, sizeof(mapout));
|