Searched refs:rsrc (Results 1 - 12 of 12) sorted by relevance

/freebsd-12-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_hfs_compression.c99 char rsrc[50];
178 assertEqualInt(0, get_rsrc_footer("NEWS", rsrc, sizeof(rsrc)));
180 assertEqualMem(rsrc_footer, rsrc, sizeof(rsrc));
190 assertEqualInt(0, get_rsrc_footer("Makefile", rsrc, sizeof(rsrc)));
192 assertEqualMem(rsrc_footer, rsrc, sizeof(rsrc));
/freebsd-12-stable/sys/dev/bhnd/
H A Dbhndvar.h89 device_t child, u_int rsrc);
91 device_t child, u_int rsrc);
H A Dbhnd.c702 bhnd_generic_request_ext_rsrc(device_t dev, device_t child, u_int rsrc) argument
722 if (rsrc > BHND_CCS_ERSRC_MAX)
725 req = BHND_CCS_SET_BITS((1<<rsrc), BHND_CCS_ERSRC_REQ);
726 avail = BHND_CCS_SET_BITS((1<<rsrc), BHND_CCS_ERSRC_STS);
745 bhnd_generic_release_ext_rsrc(device_t dev, device_t child, u_int rsrc) argument
764 if (rsrc > BHND_CCS_ERSRC_MAX)
767 mask = BHND_CCS_SET_BITS((1<<rsrc), BHND_CCS_ERSRC_REQ);
H A Dbhnd.h1161 * @param rsrc The core-specific external resource identifier.
1164 * @retval ENODEV If the PMU does not support @p rsrc.
1168 bhnd_request_ext_rsrc(device_t dev, u_int rsrc) argument
1170 return (BHND_BUS_REQUEST_EXT_RSRC(device_get_parent(dev), dev, rsrc));
1180 * @param rsrc The core-specific external resource identifier.
1183 * @retval ENODEV If the PMU does not support @p rsrc.
1187 bhnd_release_ext_rsrc(device_t dev, u_int rsrc) argument
1189 return (BHND_BUS_RELEASE_EXT_RSRC(device_get_parent(dev), dev, rsrc));
/freebsd-12-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_zip.c3878 struct zip_entry *rsrc)
3887 switch(rsrc->compression) {
3889 if (rsrc->uncompressed_size != rsrc->compressed_size) {
3904 compression_name(rsrc->compression));
3910 if (rsrc->uncompressed_size > (4 * 1024 * 1024)) {
3913 (intmax_t)rsrc->uncompressed_size);
3916 if (rsrc->compressed_size > (4 * 1024 * 1024)) {
3919 (intmax_t)rsrc->compressed_size);
3923 metadata = malloc((size_t)rsrc
3877 zip_read_mac_metadata(struct archive_read *a, struct archive_entry *entry, struct zip_entry *rsrc) argument
4032 struct zip_entry *rsrc; local
[all...]
/freebsd-12-stable/sys/dev/sound/pcm/
H A Dfeeder_rate.c123 int32_t rsrc, rdst; /* original source / destination rates */ member in struct:z_info
707 info->src = info->rsrc - (info->rsrc % ((feeder_rate_round > 0 &&
708 info->rsrc > feeder_rate_round) ? feeder_rate_round : 1));
1370 info->src, info->rsrc, info->dst, info->rdst);
1444 if (value == info->rsrc)
1446 info->rsrc = value;
1496 return (info->rsrc);
1527 info->rsrc = Z_RATE_DEFAULT;
/freebsd-12-stable/sys/dev/bhnd/siba/
H A Dsiba.c477 siba_request_ext_rsrc(device_t dev, device_t child, u_int rsrc) argument
498 return (bhnd_generic_request_ext_rsrc(dev, child, rsrc));
512 siba_release_ext_rsrc(device_t dev, device_t child, u_int rsrc) argument
533 return (bhnd_generic_release_ext_rsrc(dev, child, rsrc));
/freebsd-12-stable/sys/contrib/octeon-sdk/
H A Dcvmx-asm.h637 asm ("ush %[rsrc], " CVMX_TMP_STR(offset) "(%[rbase])" : "=m"(__a[offset + 0]), "=m"(__a[offset + 1]): [rsrc] "d" (data), [rbase] "d" (__a)); }
645 asm ("usw %[rsrc], " CVMX_TMP_STR(offset) "(%[rbase])" : \
647 [rsrc] "d" (data), [rbase] "d" (__a)); }
656 asm ("usd %[rsrc], " CVMX_TMP_STR(offset) "(%[rbase])" : \
659 [rsrc] "d" (data), [rbase] "d" (__a)); }
/freebsd-12-stable/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu_subr.c84 static int bhnd_pmu_res_uptime(struct bhnd_pmu_softc *sc, uint8_t rsrc,
705 /* Determine min/max rsrc masks. Value 0 leaves hardware at default. */
721 /* determine min/max rsrc masks */
1016 PMU_DEBUG(sc, "Changing rsrc %d res_updn_timer to %#x\n",
1039 PMU_DEBUG(sc, "Applying %s=%d to rsrc %d res_updn_timer\n",
1069 PMU_DEBUG(sc, "Changing rsrc %hhu res_dep_mask to "
1075 PMU_DEBUG(sc, "Adding %#x to rsrc %hhu "
1082 PMU_DEBUG(sc, "Removing %#x from rsrc %hhu "
1114 PMU_DEBUG(sc, "Applying %s=%d to rsrc %d res_dep_mask\n", name,
1121 /* Determine min/max rsrc mask
2719 bhnd_pmu_res_uptime(struct bhnd_pmu_softc *sc, uint8_t rsrc, uint32_t *uptime) argument
[all...]
/freebsd-12-stable/contrib/binutils/gas/config/
H A Dtc-ia64.c638 static struct rsrc { struct
850 struct rsrc *, int depind, int path));
861 static void remove_marked_resource PARAMS ((struct rsrc *));
867 struct ia64_opcode *, int, struct rsrc [], int, int));
874 static int resources_match PARAMS ((struct rsrc *, struct ia64_opcode *, int, int, int));
8363 struct rsrc specs[MAX_SPECS]; /* returned specific resources */
8370 struct rsrc tmpl;
10168 struct rsrc *rs;
10174 struct rsrc specs[MAX_SPECS];
10318 struct rsrc *spe
[all...]
/freebsd-12-stable/sys/dev/ocs_fc/
H A Dsli4.h3264 sli_get_max_rsrc(sli4_t *sli4, sli4_resource_e rsrc) argument
3266 if (rsrc >= SLI_RSRC_MAX) {
3270 return sli4->config.extent[rsrc].size;
/freebsd-12-stable/sys/dev/cxgbe/firmware/
H A Dt4fw_interface.h3117 } rsrc; member in union:fw_coiscsi_stats_wr::fw_coiscsi_stats

Completed in 407 milliseconds