Home
last modified time | relevance | path

Searched refs:usage (Results 1301 - 1325 of 3061) sorted by relevance

1...<<51525354555657585960>>...123

/kernel/linux/linux-6.6/fs/afs/
H A Dfile.c88 if (wbk && refcount_dec_and_test(&wbk->usage)) { in afs_put_wb_key()
104 refcount_set(&wbk->usage, 2); in afs_cache_wb_key()
120 refcount_inc(&p->usage); in afs_cache_wb_key()
224 refcount_set(&req->usage, 1); in afs_alloc_read()
234 if (refcount_dec_and_test(&req->usage)) { in afs_put_read()
H A Dsecurity.c96 if (permits && refcount_dec_and_test(&permits->usage)) { in afs_put_permits()
209 if (permits && !refcount_inc_not_zero(&permits->usage)) in afs_cache_permit()
226 refcount_set(&new->usage, 1); in afs_cache_permit()
260 if (refcount_inc_not_zero(&xpermits->usage)) { in afs_cache_permit()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_flow_dissector.c581 static void __attribute__((noreturn)) usage(const char *filepath) in usage() function
619 usage(filepath); in parse_protocol_family()
654 usage(argv[0]); in parse_opts()
663 usage(argv[0]); in parse_opts()
671 usage(argv[0]); in parse_opts()
/kernel/liteos_a/kernel/extended/cpup/
H A Dlos_cpup.c315 UINT32 usage = 0; in OsCalculateCpupUsage() local
319 usage = (UINT32)((LOS_CPUP_SINGLE_CORE_PRECISION * cpuCycle) / allCycle); in OsCalculateCpupUsage()
321 return usage; in OsCalculateCpupUsage()
466 cpupInfo[processID].usage = OsCalculateCpupUsage(processCB->processCpup, pos, prePos, cpuAllCycle); in GetAllProcessCpuUsageUnsafe()
592 cpupInfo[loop].usage = OsCalculateCpupUsage(&g_irqCpup[loop].cpup, pos, prePos, cpuAllCycle); in OsGetAllIrqCpuUsageUnsafe()
/third_party/lame/misc/
H A Dath.c746 static void usage ( void ) in usage() function
751 "usage:\n" in usage()
785 usage (); in main()
793 usage (); in main()
804 usage (); in main()
815 usage (); in main()
/third_party/ltp/testcases/network/stress/ns-tools/
H A Dns-icmp_redirector.c88 * Function: usage()
91 * Print the usage of this program. Then, terminate this program with
100 void usage(char *program_name, int exit_value) in usage() function
102 FILE *stream = stdout; /* stream where the usage is output */ in usage()
112 "\t-h\t\tdisplay this usage\n", program_name); in usage()
182 usage(program_name, EXIT_FAILURE); in parse_options()
196 usage(program_name, EXIT_SUCCESS); in parse_options()
200 usage(program_name, EXIT_FAILURE); in parse_options()
206 usage(program_name, EXIT_FAILURE); in parse_options()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkQueryUtil.cpp285 VkImageFormatProperties getPhysicalDeviceImageFormatProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags) in getPhysicalDeviceImageFormatProperties() argument
291 VK_CHECK(vk.getPhysicalDeviceImageFormatProperties(physicalDevice, format, type, tiling, usage, flags, &properties)); in getPhysicalDeviceImageFormatProperties()
296 std::vector<VkSparseImageFormatProperties> getPhysicalDeviceSparseImageFormatProperties(const InstanceInterface& vk, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling) in getPhysicalDeviceSparseImageFormatProperties() argument
301 vk.getPhysicalDeviceSparseImageFormatProperties(physicalDevice, format, type, samples, usage, tiling, &numProp, DE_NULL); in getPhysicalDeviceSparseImageFormatProperties()
306 vk.getPhysicalDeviceSparseImageFormatProperties(physicalDevice, format, type, samples, usage, tiling, &numProp, &properties[0]); in getPhysicalDeviceSparseImageFormatProperties()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiGranularityTests.cpp157 VkImageUsageFlags usage = 0u; in initImages() local
163 usage = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; in initImages()
169 usage = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; in initImages()
175 usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in initImages()
190 usage, // VkImageUsageFlags usage; in initImages() local
/third_party/optimized-routines/math/test/
H A Dmathbench.c671 usage (void) in usage() function
673 printf ("usage: ./mathbench [-g rand|linear|trace] [-t latency|thruput|both] " in usage()
695 usage (); in main()
722 usage (); in main()
737 usage (); in main()
742 usage (); in main()
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/resolver/
H A Dresolve.go312 usage, err := r.fullyQualifiedName(&s, p.Type)
318 Type: usage,
324 usage, err := r.fullyQualifiedName(&s, *a.ReturnType)
328 switch usage.Target.(type) {
330 overload.ReturnType = &usage
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
H A DvktVideoTestUtils.cpp613 const VkImageUsageFlags usage) in validateVideoProfileList()
619 imageFormatInfo.usage = usage; in validateVideoProfileList()
687 const VkImageUsageFlags usage, in makeImageCreateInfo()
708 usage, // VkImageUsageFlags usage; in makeImageCreateInfo()
609 validateVideoProfileList(const InstanceInterface& vk, VkPhysicalDevice physicalDevice, const VkVideoProfileListInfoKHR* videoProfileList, const VkFormat format, const VkImageUsageFlags usage) validateVideoProfileList() argument
684 makeImageCreateInfo(VkFormat format, const VkExtent2D& extent, const deUint32* queueFamilyIndex, const VkImageUsageFlags usage, void* pNext, const deUint32 arrayLayers) makeImageCreateInfo() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dvlan_full.c41 int usage; member
65 next->usage++; in dyn_iface_get()
77 next->usage = 1; in dyn_iface_get()
105 next->usage--; in dyn_iface_put()
106 if (next->usage) in dyn_iface_put()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dvlan_full.c41 int usage; member
65 next->usage++; in dyn_iface_get()
77 next->usage = 1; in dyn_iface_get()
105 next->usage--; in dyn_iface_put()
106 if (next->usage) in dyn_iface_put()
/kernel/linux/linux-6.6/samples/kdb/
H A Dkdb_hello.c34 .usage = "[string]",
/third_party/lame/frontend/
H A Dparse.h8 int usage(FILE * const fp, const char *ProgramName);
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DBuffer.hpp23 Buffer(vk::Device device, vk::DeviceSize size, vk::BufferUsageFlags usage);
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A Ddraw_call_perf_utils.h39 GLuint Create2DTriangleBuffer(size_t numTris, GLenum usage);
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DScratchBuffer.h34 ScratchBuffer(DeviceBase* device, wgpu::BufferUsage usage);
/kernel/linux/common_modules/qos_auth/auth_ctl/
H A Dauth_ctrl.c84 refcount_set(&auth->usage, 1); in init_authority_record()
95 refcount_inc(&auth->usage); in get_auth_struct()
102 WARN_ON(refcount_read(&auth->usage)); in __put_auth_struct()
113 if (refcount_dec_and_test(&auth->usage)) in put_auth_struct()
/kernel/linux/linux-5.10/tools/testing/selftests/sysctl/
H A Dsysctl.sh805 usage() function
844 usage
955 usage
957 usage
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dfib-onlink-tests.sh469 # usage
471 usage() function
474 usage: ${0##*/} OPTS
492 h) usage; exit 0;;
493 *) usage; exit 1;;
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
H A Dsiw_main.c35 /* Restrict usage of GSO, if hardware peer iwarp is unable to process
210 int usage; in siw_get_tx_cpu() local
216 usage = atomic_read(&per_cpu(siw_use_cnt, cpu)); in siw_get_tx_cpu()
217 if (usage <= min_use) { in siw_get_tx_cpu()
219 min_use = usage; in siw_get_tx_cpu()
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dexport-to-sqlite.py100 def usage(): function
109 usage()
119 usage()
131 usage()
/kernel/linux/linux-5.10/fs/afs/
H A Dsecurity.c96 if (permits && refcount_dec_and_test(&permits->usage)) { in afs_put_permits()
209 if (permits && !refcount_inc_not_zero(&permits->usage)) in afs_cache_permit()
227 refcount_set(&new->usage, 1); in afs_cache_permit()
261 if (refcount_inc_not_zero(&xpermits->usage)) { in afs_cache_permit()
/kernel/linux/linux-6.6/drivers/infiniband/sw/siw/
H A Dsiw_main.c35 /* Restrict usage of GSO, if hardware peer iwarp is unable to process
186 int usage; in siw_get_tx_cpu() local
192 usage = atomic_read(&per_cpu(siw_use_cnt, cpu)); in siw_get_tx_cpu()
193 if (usage <= min_use) { in siw_get_tx_cpu()
195 min_use = usage; in siw_get_tx_cpu()

Completed in 20 milliseconds

1...<<51525354555657585960>>...123