Home
last modified time | relevance | path

Searched refs:buffer (Results 10751 - 10775 of 15434) sorted by relevance

1...<<431432433434435436437438439440>>...618

/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_drawpixels.c86 * of the image in a malloc'd buffer.
982 /* writing stencil to a combined depth+stencil buffer */ in draw_stencil_pixels()
1119 /* unmap the stencil buffer */ in draw_stencil_pixels()
1354 * into the constant buffer, we need to update them in st_DrawPixels()
1423 ubyte *buffer; in copy_stencil_pixels() local
1426 buffer = malloc(width * height * sizeof(ubyte)); in copy_stencil_pixels()
1427 if (!buffer) { in copy_stencil_pixels()
1438 &ctx->DefaultPacking, buffer); in copy_stencil_pixels()
1446 printf("%02x ", buffer[col + row * width]); in copy_stencil_pixels()
1464 /* map the stencil buffer */ in copy_stencil_pixels()
[all...]
/third_party/node/deps/v8/src/heap/
H A Dgc-tracer.cc666 base::Vector<char> buffer(raw_buffer, kBufferSize); in Output()
669 base::VSNPrintF(buffer, format, arguments2); in Output()
672 heap_->AddToRingBuffer(buffer.begin()); in Output()
698 // Avoid PrintF as Output also appends the string to the tracing ring buffer in Print()
1061 double GCTracer::AverageSpeed(const base::RingBuffer<BytesAndDuration>& buffer, in AverageSpeed() argument
1063 BytesAndDuration sum = buffer.Sum( in AverageSpeed()
1081 const base::RingBuffer<BytesAndDuration>& buffer) { in AverageSpeed()
1082 return AverageSpeed(buffer, MakeBytesAndDuration(0, 0), 0); in AverageSpeed()
1080 AverageSpeed( const base::RingBuffer<BytesAndDuration>& buffer) AverageSpeed() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
H A DvktBindingBufferDeviceAddressTests.cpp180 TCU_THROW(NotSupportedError, "Physical storage buffer pointers not supported"); in checkSupport()
198 TCU_THROW(NotSupportedError, "Capture/replay of physical storage buffer pointers not supported"); in checkSupport()
379 std::string baseStorage = m_data.base == BASE_UBO ? "uniform" : "buffer"; in initPrograms()
380 std::string memberStorage = "buffer"; in initPrograms()
723 0, // VkBuffer buffer in iterate()
780 bufferDeviceAddressInfo.buffer = **buffers[i]; in iterate()
806 bufferDeviceAddressInfo.buffer = **buffers[i]; in iterate()
832 bufferDeviceAddressInfo.buffer = **buffers[i]; in iterate()
840 // Create a buffer and compute the address for each "align" bytes. in iterate()
843 bufferDeviceAddressInfo.buffer in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineBindVertexBuffers2Tests.cpp81 //make a buffer to read an image back after rendering
115 void copyAndFlush(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::BufferWithMemory& buffer, size_t offset, const void* src, size_t size) in copyAndFlush() argument
117 auto& alloc = buffer.getAllocation(); in copyAndFlush()
297 //buffer to read the output image in iterate()
520 log << tcu::TestLog::Message << "binding " << i << ", buffer " << buffers[i] << ", offset " << offsets[i] << ", size " << sizes[i] << ", stride " << strides[i] << tcu::TestLog::EndMessage; in iterate()
658 // color buffer binding in createPipeline()
663 // vertex buffer binding in createPipeline()
921 de::SharedPtr<vk::BufferWithMemory> buffer(new vk::BufferWithMemory(vk, device, allocator, createInfo, vk::MemoryRequirement::HostVisible)); in createBuffers()
922 copyAndFlush(vk, device, *buffer, 0, points.data(), deUint32(points.size() * sizeof(float))); in createBuffers()
927 buffers.push_back(buffer); in createBuffers()
[all...]
H A DvktPipelineImageSlicedViewOf3DTests.cpp400 de::MovePtr<tcu::PixelBufferAccess> makePixelBufferAccess (const BufferWithMemory& buffer, const tcu::IVec3& size, const tcu::TextureFormat& format) in makePixelBufferAccess()
402 de::MovePtr<tcu::PixelBufferAccess> bufferImage (new tcu::PixelBufferAccess(format, size, buffer.getAllocation().getHostPtr())); in makePixelBufferAccess()
419 de::MovePtr<BufferWithMemory> buffer (new BufferWithMemory(vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVisible)); in makeTransferBuffer()
420 return buffer; in makeTransferBuffer()
428 auto buffer = makeTransferBuffer(extent, format, vkd, device, alloc); in makeAndFillTransferBuffer() local
430 auto bufferImg = makePixelBufferAccess(*buffer, size, format); in makeAndFillTransferBuffer()
446 return buffer; in makeAndFillTransferBuffer()
611 // Command pool and buffer. in runSamplingPipeline()
686 // Sync shader writes before copying to verification buffer. in runSamplingPipeline()
690 // Copy storage image to verification buffer in runSamplingPipeline()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
H A DvktBindingBufferDeviceAddressTests.cpp180 TCU_THROW(NotSupportedError, "Physical storage buffer pointers not supported"); in checkSupport()
198 TCU_THROW(NotSupportedError, "Capture/replay of physical storage buffer pointers not supported"); in checkSupport()
379 std::string baseStorage = m_data.base == BASE_UBO ? "uniform" : "buffer"; in initPrograms()
380 std::string memberStorage = "buffer"; in initPrograms()
723 0, // VkBuffer buffer in iterate()
780 bufferDeviceAddressInfo.buffer = **buffers[i]; in iterate()
806 bufferDeviceAddressInfo.buffer = **buffers[i]; in iterate()
832 bufferDeviceAddressInfo.buffer = **buffers[i]; in iterate()
840 // Create a buffer and compute the address for each "align" bytes. in iterate()
843 bufferDeviceAddressInfo.buffer in iterate()
[all...]
/third_party/skia/third_party/externals/libpng/
H A Dpng.h772 * modify the buffer it is passed. The 'read' function, on the other hand, is
773 * expected to return the read data in the buffer.
1028 * routine. The original implementation used a 29 character buffer in
1359 /* Flush the current PNG output buffer */
1688 png_inforp info_ptr, png_bytep buffer, size_t buffer_size));
2553 /* Place a 32-bit number into a buffer in PNG byte order (big-endian). */
2561 /* Place a 16-bit number into a buffer in PNG byte order.
2571 /* Inline macros to do direct reads of bytes from the input buffer.
2642 * 4) Allocate a buffer for the image and, if required, the color-map.
2912 /* Return the size, in bytes, of an image buffer give
[all...]
/third_party/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp123 const uint8_t* src = bitmap.buffer; in copyFT2LCD16()
228 const uint8_t* src = reinterpret_cast<const uint8_t*>(srcFTBitmap.buffer); in copyFTBitmap()
1363 unsigned char* origBuffer = ftGlyph.bitmap.buffer; in generateGlyphImage()
1367 ftGlyph.bitmap.buffer += ftGlyph.bitmap.pitch * topDiff; in generateGlyphImage()
1373 ftGlyph.bitmap.buffer += leftDiff; in generateGlyphImage()
1407 // Restore the buffer pointer so FreeType can properly free it. in generateGlyphImage()
1408 ftGlyph.bitmap.buffer = origBuffer; in generateGlyphImage()
1427 target.buffer = reinterpret_cast<uint8_t*>(glyph.fImage); in generateGlyphImage()
/third_party/skia/third_party/externals/freetype/src/smooth/
H A Dftgrays.c469 /* maximum number of gray cells in the buffer */
476 /* FT_Span buffer size for direct rendering only */
1559 /* flush the span buffer and reset the count */ in gray_sweep_direct()
1578 /* flush the span buffer and reset the count */ in gray_sweep_direct()
1600 /* flush the span buffer and reset the count */ in gray_sweep_direct()
1948 TCell buffer[FT_MAX_GRAY_POOL]; in gray_convert_glyph() local
1959 ras.cell_null = buffer + FT_MAX_GRAY_POOL - 1; in gray_convert_glyph()
1966 ras.ycells = (PCell*)buffer; in gray_convert_glyph()
1999 ras.cell_free = buffer + n; in gray_convert_glyph()
2098 if ( !target_map->buffer ) in gray_raster_render()
[all...]
/third_party/skia/third_party/externals/icu/source/common/unicode/
H A Dunistr.h202 * and the internal buffer would hold up to 11 char16_ts in that case.
252 * - If the buffer passed to an insert/append/replace operation is owned by the
284 * in an allocated and shared buffer, or in an outside buffer that is "aliased".
287 * Also, the internal buffer is accessible via special functions.
1449 * If the string aliases to `dst` itself as an external buffer,
1477 * If the string aliases to `dest` itself as an external buffer,
1480 * @param dest Destination string buffer.
1539 * so that one can allocate a larger buffer and call the function again
1545 * @param target the target buffer fo
3128 UnicodeString(uint16_t *buffer, int32_t buffLength, int32_t buffCapacity) UnicodeString() argument
3142 UnicodeString(wchar_t *buffer, int32_t buffLength, int32_t buffCapacity) UnicodeString() argument
[all...]
/third_party/python/Python/
H A Dfileutils.c684 1. compute the length of the output buffer in bytes (size) in encode_current_locale()
1915 Return -1 on encoding error, on readlink() error, if the internal buffer is
2090 // The caller must ensure "buffer" is big enough.
2092 join_relfile(wchar_t *buffer, size_t bufsize, in join_relfile() argument
2096 if (FAILED(PathCchCombineEx(buffer, bufsize, dirname, relfile, in join_relfile()
2110 wcscpy(buffer, relfile); in join_relfile()
2113 if (dirname != buffer) { in join_relfile()
2114 wcscpy(buffer, dirname); in join_relfile()
2118 buffer[dirlen] = SEP; in join_relfile()
2121 wcscpy(&buffer[relstar in join_relfile()
[all...]
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcapture_session.cpp2319 MEDIA_DEBUG_LOG("surface_ release surface buffer %{public}llu, timestamp %{public}llu", in ClearCache()
2347 void MovingPhotoListener::OnBufferArrival(sptr<SurfaceBuffer> buffer, int64_t timestamp, GraphicTransformType transform) in OnBufferArrival() argument
2351 MEDIA_DEBUG_LOG("surface_ release surface buffer"); in OnBufferArrival()
2355 MEDIA_DEBUG_LOG("surface_ release surface buffer: %{public}s, refCount: %{public}d", in OnBufferArrival()
2358 MEDIA_DEBUG_LOG("surface_ push buffer %{public}d x %{public}d, stride is %{public}d", in OnBufferArrival()
2359 buffer->GetSurfaceBufferWidth(), buffer->GetSurfaceBufferHeight(), buffer->GetStride()); in OnBufferArrival()
2360 sptr<FrameRecord> frameRecord = new (std::nothrow) FrameRecord(buffer, timestamp, transform); in OnBufferArrival()
2424 sptr<SurfaceBuffer> buffer; in OnBufferAvailable() local
[all...]
/kernel/linux/linux-5.10/drivers/media/dvb-core/
H A Ddvb_frontend.c1083 .buffer = b \
1093 __u32 buffer:1; /* Does this property use the buffer? */ member
1366 tvp->u.buffer.data[ncaps] = fe->ops.delsys[ncaps]; in dtv_property_process_get()
1369 tvp->u.buffer.len = ncaps; in dtv_property_process_get()
1576 if (!dtv_cmds[tvp->cmd].buffer) in dtv_property_process_get()
1586 tvp->u.buffer.len, in dtv_property_process_get()
1587 tvp->u.buffer.len, tvp->u.buffer.data); in dtv_property_process_get()
2071 } buffer; member
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A Dsdio.c678 u8 *buffer, u32 pkt_len, u32 port) in mwifiex_write_data_sync()
699 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); in mwifiex_write_data_sync()
708 static int mwifiex_read_data_sync(struct mwifiex_adapter *adapter, u8 *buffer, in mwifiex_read_data_sync() argument
723 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); in mwifiex_read_data_sync()
1352 * This function sends a data buffer to the card.
1355 u32 *type, u8 *buffer, in mwifiex_sdio_card_to_host()
1361 if (!buffer) { in mwifiex_sdio_card_to_host()
1363 "%s: buffer is NULL\n", __func__); in mwifiex_sdio_card_to_host()
1367 ret = mwifiex_read_data_sync(adapter, buffer, npayload, ioport, 1); in mwifiex_sdio_card_to_host()
1376 nb = get_unaligned_le16((buffer)); in mwifiex_sdio_card_to_host()
677 mwifiex_write_data_sync(struct mwifiex_adapter *adapter, u8 *buffer, u32 pkt_len, u32 port) mwifiex_write_data_sync() argument
1354 mwifiex_sdio_card_to_host(struct mwifiex_adapter *adapter, u32 *type, u8 *buffer, u32 npayload, u32 ioport) mwifiex_sdio_card_to_host() argument
[all...]
/kernel/linux/linux-5.10/sound/pci/asihpi/
H A Dasihpi.c145 unsigned int pcm_buf_dma_ofs; /* DMA R/W offset in buffer */
146 unsigned int pcm_buf_elapsed_dma_ofs; /* DMA R/W offset in buffer */
155 /* Functions to allow driver to give a buffer to HPI for busmastering */
159 u32 size_in_bytes, /* size in bytes of bus mastering buffer */ in hpi_stream_host_buffer_attach()
177 hm.u.d.u.buffer.buffer_size = size_in_bytes; in hpi_stream_host_buffer_attach()
178 hm.u.d.u.buffer.pci_address = pci_address; in hpi_stream_host_buffer_attach()
179 hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_GRANTADAPTER; in hpi_stream_host_buffer_attach()
200 hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_REVOKEADAPTER; in hpi_stream_host_buffer_detach()
282 snd_printdd(" buffer=%dB period=%dB period_size=%dB periods=%d\n", in print_hwparams()
587 * in buffer in snd_card_asihpi_trigger()
2669 snd_asihpi_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_asihpi_proc_read() argument
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_events.c275 trace_event_buffer_lock_reserve(&fbuffer->buffer, trace_file, in trace_event_buffer_reserve()
962 if (*parser.buffer == '!') in ftrace_event_write()
965 ret = ftrace_set_clr_event(tr, parser.buffer + !set, set); in ftrace_event_write()
1466 s->buffer, trace_seq_used(s)); in event_filter_read()
1616 s->buffer, trace_seq_used(s)); in subsystem_filter_read()
1666 s->buffer, trace_seq_used(s)); in show_header()
2667 * It is safest to reset the ring buffer if the module being unloaded in trace_module_remove_events()
2670 * of this module. When printing out the buffer, traced events left in trace_module_remove_events()
3280 /* ring buffer internal formats */ in create_event_toplevel_files()
3709 struct trace_buffer *buffer; in function_test_events_call() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
H A Dsdio.c703 u8 *buffer, u32 pkt_len, u32 port) in mwifiex_write_data_sync()
724 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); in mwifiex_write_data_sync()
733 static int mwifiex_read_data_sync(struct mwifiex_adapter *adapter, u8 *buffer, in mwifiex_read_data_sync() argument
748 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); in mwifiex_read_data_sync()
1387 * This function sends a data buffer to the card.
1390 u32 *type, u8 *buffer, in mwifiex_sdio_card_to_host()
1396 if (!buffer) { in mwifiex_sdio_card_to_host()
1398 "%s: buffer is NULL\n", __func__); in mwifiex_sdio_card_to_host()
1402 ret = mwifiex_read_data_sync(adapter, buffer, npayload, ioport, 1); in mwifiex_sdio_card_to_host()
1411 nb = get_unaligned_le16((buffer)); in mwifiex_sdio_card_to_host()
702 mwifiex_write_data_sync(struct mwifiex_adapter *adapter, u8 *buffer, u32 pkt_len, u32 port) mwifiex_write_data_sync() argument
1389 mwifiex_sdio_card_to_host(struct mwifiex_adapter *adapter, u32 *type, u8 *buffer, u32 npayload, u32 ioport) mwifiex_sdio_card_to_host() argument
[all...]
/kernel/linux/linux-6.6/sound/pci/asihpi/
H A Dasihpi.c145 unsigned int pcm_buf_dma_ofs; /* DMA R/W offset in buffer */
146 unsigned int pcm_buf_elapsed_dma_ofs; /* DMA R/W offset in buffer */
155 /* Functions to allow driver to give a buffer to HPI for busmastering */
159 u32 size_in_bytes, /* size in bytes of bus mastering buffer */ in hpi_stream_host_buffer_attach()
177 hm.u.d.u.buffer.buffer_size = size_in_bytes; in hpi_stream_host_buffer_attach()
178 hm.u.d.u.buffer.pci_address = pci_address; in hpi_stream_host_buffer_attach()
179 hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_GRANTADAPTER; in hpi_stream_host_buffer_attach()
200 hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_REVOKEADAPTER; in hpi_stream_host_buffer_detach()
282 snd_printdd(" buffer=%dB period=%dB period_size=%dB periods=%d\n", in print_hwparams()
587 * in buffer in snd_card_asihpi_trigger()
2667 snd_asihpi_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_asihpi_proc_read() argument
[all...]
/third_party/curl/lib/
H A Dmulti.c761 char buffer[256]; in multi_done() local
772 msnprintf(buffer, sizeof(buffer), in multi_done()
781 infof(data, "%s", buffer); in multi_done()
787 Curl_safefree(data->state.buffer); in multi_done()
1894 if(!data->state.buffer) {
1895 data->state.buffer = malloc(data->set.buffer_size + 1);
1896 if(!data->state.buffer)
2453 DEBUGASSERT(data->state.buffer);
/third_party/mesa3d/src/intel/blorp/
H A Dblorp_genX_exec.h132 if (address.buffer == NULL) { in _blorp_combine_address()
326 * to the vertex data buffer. in blorp_emit_input_varying_data()
347 * buffer before we execute the 3DPRIMITIVE. We already copied the in blorp_emit_input_varying_data()
348 * value of params->wm_inputs.clear_color into the vertex buffer in the in blorp_emit_input_varying_data()
483 * include the fixed values in the vertex buffer. Vertex fetcher can be in blorp_emit_vertex_elements()
485 * instead of reading them from the buffer. in blorp_emit_vertex_elements()
1487 /* On gfx12, implicit CCS has no aux buffer */ in blorp_emit_surface_state()
1489 (surface->aux_addr.buffer != NULL); in blorp_emit_surface_state()
1504 GFX_VER >= 10 && (surface->clear_color_addr.buffer != NULL); in blorp_emit_surface_state()
1527 * surface buffer addresse in blorp_emit_surface_state()
[all...]
/third_party/python/Tools/msi/bundle/bootstrap/
H A DPythonBootstrapperApplication.cpp572 DWORD dataType = 0, buffer = 0, bufferLen = sizeof(buffer); in SuccessPage_Show() local
583 (LPBYTE)&buffer, &bufferLen); in SuccessPage_Show()
589 if (res == ERROR_SUCCESS && dataType == REG_DWORD && buffer == 0) { in SuccessPage_Show()
2884 BYTE buffer[1024]; in LoadTargetDirFromKey() local
2885 DWORD bufferLen = sizeof(buffer); in LoadTargetDirFromKey()
2899 res = RegQueryValueExW(hKey, nullptr, nullptr, &dataType, buffer, &bufferLen); in LoadTargetDirFromKey()
2900 if (res == ERROR_SUCCESS && dataType == REG_SZ && bufferLen < sizeof(buffer)) { in LoadTargetDirFromKey()
2901 pEngine->SetVariableString(L"TargetDir", reinterpret_cast<wchar_t*>(buffer)); in LoadTargetDirFromKey()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DTexture.cpp2016 gl::Buffer *buffer, in setBuffer()
2019 // Use 0 to indicate that the size is taken from whatever size the buffer has when the texture in setBuffer()
2020 // buffer is used. in setBuffer()
2021 return setBufferRange(context, buffer, internalFormat, 0, 0); in setBuffer()
2025 gl::Buffer *buffer, in setBufferRange()
2031 mState.mBuffer.set(context, buffer, offset, size); in setBufferRange()
2035 if (buffer == nullptr) in setBufferRange()
2049 InitState initState = buffer->initState(); in setBufferRange()
2054 // Observe modifications to the buffer, so that extents can be updated. in setBufferRange()
2055 mBufferObserver.bind(buffer); in setBufferRange()
2015 setBuffer(const gl::Context *context, gl::Buffer *buffer, GLenum internalFormat) setBuffer() argument
2024 setBufferRange(const gl::Context *context, gl::Buffer *buffer, GLenum internalFormat, GLintptr offset, GLsizeiptr size) setBufferRange() argument
2305 const gl::Buffer *buffer = mState.mBuffer.get(); onSubjectStateChange() local
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dgpu_resource_manager.cpp255 // we only support single image (single buffer image copy) scaling in GetScalingImageNeed()
267 // we only support single image (single buffer image copy) scaling in GetScalingImageNeed()
355 constexpr string_view names[] = { "buffer", "image", "sampler" };
410 checkAndPrintValidation(bufferStore_, "GPU buffer");
544 if (GpuBuffer* buffer = store.pendingData.buffers[optionalResourceIndex].get(); buffer) {
545 store.additionalData[arrayIndex].resourcePtr = reinterpret_cast<uintptr_t>(reinterpret_cast<void*>(buffer));
585 PLUGIN_LOG_E("RENDER_VALIDATION: trying to replace a non GPU buffer handle (type: %u) with GpuBufferDesc",
1168 // has staging lock and possible gpu buffer lock inside
1371 "RENDER_VALIDATION: buffer clien
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl2_rendering_context_base.cpp68 GLenum buffer = 0; in ClearBufferfv() local
69 tie(succ, buffer) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in ClearBufferfv()
88 env, buffer, drawbuffer, funcArg[NARG_POS::THIRD], srcOffset, BUFFER_DATA_FLOAT_32); in ClearBufferfv()
99 GLenum buffer = 0; in ClearBufferiv() local
100 tie(succ, buffer) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in ClearBufferiv()
119 env, buffer, drawbuffer, funcArg[NARG_POS::THIRD], srcOffset, BUFFER_DATA_INT_32); in ClearBufferiv()
130 GLenum buffer = 0; in ClearBufferuiv() local
131 tie(succ, buffer) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in ClearBufferuiv()
150 env, buffer, drawbuffer, funcArg[NARG_POS::THIRD], srcOffset, BUFFER_DATA_UINT_32); in ClearBufferuiv()
161 GLenum buffer in ClearBufferfi() local
[all...]
/kernel/linux/linux-5.10/security/smack/
H A Dsmack_lsm.c282 char *buffer; in smk_fetch() local
288 buffer = kzalloc(SMK_LONGLABEL, GFP_NOFS); in smk_fetch()
289 if (buffer == NULL) in smk_fetch()
292 rc = __vfs_getxattr(dp, ip, name, buffer, SMK_LONGLABEL); in smk_fetch()
298 skp = smk_import_entry(buffer, rc); in smk_fetch()
300 kfree(buffer); in smk_fetch()
1433 * @buffer: where to put the result
1439 const char *name, void **buffer, in smack_inode_getsecurity()
1487 *buffer = kstrdup(label, GFP_KERNEL); in smack_inode_getsecurity()
1488 if (*buffer in smack_inode_getsecurity()
1438 smack_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc) smack_inode_getsecurity() argument
1502 smack_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) smack_inode_listsecurity() argument
[all...]

Completed in 74 milliseconds

1...<<431432433434435436437438439440>>...618