/linux-master/net/rds/ |
H A D | info.h | 27 unsigned long bytes);
|
H A D | page.c | 52 * @bytes: the number of bytes needed. 58 * If @bytes is at least a full page then this just returns a page from 61 * If @bytes is a partial page then this stores the unused region of the 68 int rds_page_remainder_alloc(struct scatterlist *scat, unsigned long bytes, argument 79 if (bytes >= PAGE_SIZE) { 95 if (rem->r_page && bytes > (PAGE_SIZE - rem->r_offset)) { 102 if (rem->r_page && bytes <= (PAGE_SIZE - rem->r_offset)) { 103 sg_set_page(scat, rem->r_page, bytes, rem->r_offset); 109 rem->r_offset += ALIGN(bytes, [all...] |
/linux-master/samples/pidfd/ |
H A D | pidfd-metadata.c | 90 ssize_t bytes; local 110 bytes = read(statusfd, buf, sizeof(buf)); 111 if (bytes > 0) 112 bytes = write(STDOUT_FILENO, buf, bytes);
|
/linux-master/samples/seccomp/ |
H A D | bpf-direct.c | 67 ssize_t bytes; local 84 bytes = write(STDOUT_FILENO, buf, len); 85 ctx->uc_mcontext.gregs[REG_RESULT] = bytes; 167 ssize_t bytes = 0; local 174 bytes = syscall(__NR_read, STDIN_FILENO, buf, sizeof(buf)); 176 syscall(__NR_write, STDOUT_FILENO, buf, bytes);
|
H A D | bpf-fancy.c | 85 ssize_t bytes; local 98 bytes = syscall(__NR_read, STDIN_FILENO, buf, sizeof(buf)-1); 99 bytes = (bytes > 0 ? bytes : 0); 101 syscall(__NR_write, STDERR_FILENO, buf, bytes);
|
/linux-master/scripts/ |
H A D | cleanfile | 9 use bytes; 19 no bytes; # Tab alignment depends on characters 57 no bytes; # Tab alignment depends on characters
|
H A D | cleanpatch | 9 use bytes; 19 no bytes; # Tab alignment depends on characters 57 no bytes; # Tab alignment depends on characters
|
/linux-master/sound/arm/ |
H A D | aaci.h | 218 int bytes; member in struct:aaci_runtime
|
/linux-master/sound/firewire/ |
H A D | iso-resources.c | 50 unsigned int bytes, s400_bytes; local 53 bytes = 3 * 4 + ALIGN(max_payload_bytes, 4); 55 /* convert to bandwidth units (quadlets at S1600 = bytes at S400) */ 57 s400_bytes = bytes * (1 << (SCODE_400 - speed)); 59 s400_bytes = DIV_ROUND_UP(bytes, 1 << (speed - SCODE_400));
|
/linux-master/sound/firewire/oxfw/ |
H A D | oxfw-scs1x.c | 77 const u8 *data, unsigned int bytes) 83 for (i = 1; i < bytes; ++i) 88 for (i = 0; i < bytes; ++i) 75 midi_input_packet(struct fw_scs1x *scs, struct snd_rawmidi_substream *stream, const u8 *data, unsigned int bytes) argument
|
/linux-master/sound/i2c/other/ |
H A D | pt2258.c | 34 unsigned char bytes[2]; local 38 bytes[0] = PT2258_CMD_RESET; 40 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) 46 bytes[0] = PT2258_CMD_MUTE; 48 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) 55 bytes[0] = 0xd0; 56 bytes[1] = 0xe0; 58 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 2) != 2) 97 unsigned char bytes[2]; local 108 bytes[ 146 unsigned char bytes[2]; local [all...] |
/linux-master/sound/usb/line6/ |
H A D | pcm.h | 100 /* Count processed bytes; 103 unsigned bytes; member in struct:line6_pcm_stream 108 /* period size in bytes */
|
/linux-master/tools/include/tools/ |
H A D | libc_compat.h | 13 size_t bytes; local 15 if (unlikely(check_mul_overflow(nmemb, size, &bytes))) 17 return realloc(ptr, bytes);
|
/linux-master/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 130 "small: %zu bytes!\n", len); 276 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); 497 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, got); 523 static void __v3_test_block_len(struct block_desc *pbd, uint32_t bytes, int block_num) argument 525 if (pbd->h1.num_pkts && bytes != pbd->h1.blk_len) { 528 pbd->h1.num_pkts, bytes, pbd->h1.blk_len); 546 unsigned long bytes = 0, bytes_with_padding = ALIGN_8(sizeof(*pbd)); local 555 bytes += ppd->tp_snaplen; 572 total_bytes += bytes; 619 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKET [all...] |
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | trace.c | 62 static void *trace_alloc(struct trace_buffer *tb, int bytes) argument 67 newtail = tb->tail + bytes; 299 printf("Trace buffer 0x%llx bytes @ %p\n", tb->size, tb);
|
/linux-master/tools/testing/selftests/powerpc/switch_endian/ |
H A D | Makefile | 15 $(CROSS_COMPILE)objcopy -j .text --reverse-bytes=4 -O binary $< $@
|
/linux-master/tools/usb/ffs-aio-example/multibuff/host_app/ |
H A D | test.c | 170 int bytes; local 172 &bytes, 500);
|
/linux-master/tools/usb/ffs-aio-example/simple/host_app/ |
H A D | test.c | 171 int bytes; local 173 &bytes, 500); 175 &bytes, 500);
|
/linux-master/arch/alpha/include/asm/ |
H A D | xor.h | 9 xor_alpha_2(unsigned long bytes, unsigned long * __restrict p1, 12 xor_alpha_3(unsigned long bytes, unsigned long * __restrict p1, 16 xor_alpha_4(unsigned long bytes, unsigned long * __restrict p1, 21 xor_alpha_5(unsigned long bytes, unsigned long * __restrict p1, 28 xor_alpha_prefetch_2(unsigned long bytes, unsigned long * __restrict p1, 31 xor_alpha_prefetch_3(unsigned long bytes, unsigned long * __restrict p1, 35 xor_alpha_prefetch_4(unsigned long bytes, unsigned long * __restrict p1, 40 xor_alpha_prefetch_5(unsigned long bytes, unsigned long * __restrict p1,
|
/linux-master/arch/alpha/lib/ |
H A D | clear_user.S | 9 * right "bytes left to zero" value (and that it is updated only _after_ 74 and $1, 7, $2 # e1 : number of bytes in tail 84 addq $0, $4, $0 # .. e1 : bytes left -= 8 - misalignment
|
H A D | ev6-clear_user.S | 9 * right "bytes left to zero" value (and that it is updated only _after_ 57 and $1, 7, $2 # .. .. E .. : number of misaligned bytes in tail 64 * Head is not aligned. Write (8 - $4) bytes to head of destination 74 addq $0, $4, $0 # .. E .. .. : bytes left -= 8 - misalignment 82 * $2 is number of trailing bytes (0..7) ($2 never used...) 116 * $0 is the number of bytes left 171 # zero to 16 quadwords left to store, plus any trailing bytes 177 beq $1, $trailbytes # U .. .. .. : U L U L : Only 0..7 bytes to go 190 # We have an unknown number of bytes left to go. 197 # $0 contains the number of bytes lef [all...] |
H A D | ev6-copy_user.S | 12 * contains the right "bytes left to copy" value (and that it is updated 79 * If we fell through into here, we have a minimum of 33 - 7 bytes 80 * If we arrived via branch, we have a minimum of 32 bytes 84 bic $0,7,$4 # .. .. E .. : number bytes as a quadword loop 123 * A minimum of (33 - 7) bytes to do a quad at a time. 125 * $0 - number of bytes to be moved 126 * $4 - number of bytes to move as quadwords 138 * addresses differ by more than 32 bytes. In this particular case, a 139 * sparsity of registers further bounds this to be a minimum of 8 bytes. 197 * $0 - remaining number of bytes lef [all...] |
H A D | ev6-memchr.S | 10 * - uses cmpbge to compare 8 bytes in parallel 65 ldq_u $6, -1($5) # L : L U U L : eight or less bytes to search Latency=3 72 # Deal with the case where at most 8 bytes remain to be searched 123 # Deal with the case where $18 > 8 bytes remain to be 181 $final: subq $5, $0, $18 # E : $18 <- number of bytes left to do
|
H A D | ev6-memcpy.S | 9 * - uses bcmpge to compare 8 bytes in parallel 68 ldq $1, 0($17) # L : get 8 bytes 85 wh64 ($7) # L1 : memory subsystem hint: 64 bytes at 87 ldq $6, 0($17) # L0 : bytes 0..7 91 ldq $4, 8($17) # L : bytes 8..15 92 ldq $5, 16($17) # L : bytes 16..23 96 ldq $3, 24($17) # L : bytes 24..31 101 addq $17, 32, $17 # E : src += 32 bytes 102 stq $6, 0($16) # L : bytes 0..7 106 stq $4, 8($16) # L : bytes [all...] |
H A D | ev6-memset.S | 24 * small (say < 32 bytes) memset()s. Whether or not that change would be 83 insql $17,$16,$2 # U : Insert new bytes 89 bis $2,$4,$1 # E : Final bytes 104 and $18,7,$18 # E : Number of trailing bytes to write 115 * $18 Number trailer bytes 120 subq $3, 16, $4 # E : Only try to unroll if > 128 bytes 204 * Write 0..7 trailing bytes. 261 insql $17,$16,$2 # U : Insert new bytes 267 bis $2,$4,$1 # E : Final bytes 282 and $18,7,$18 # E : Number of trailing bytes t [all...] |