Searched refs:pg_len (Results 1 – 4 of 4) sorted by relevance
/linux/fs/nfs/blocklayout/ |
H A D | blocklayout.c | 240 unsigned int pg_offset = header->args.pgbase, pg_len; in bl_read_pagelist() local 275 pg_len = PAGE_SIZE - pg_offset; in bl_read_pagelist() 277 pg_len = bytes_left; in bl_read_pagelist() 280 pg_len = PAGE_SIZE; in bl_read_pagelist() 287 zero_user_segment(pages[i], pg_offset, pg_len); in bl_read_pagelist() 297 pg_offset, &pg_len); in bl_read_pagelist() 304 isect += (pg_len >> SECTOR_SHIFT); in bl_read_pagelist() 305 extent_length -= (pg_len >> SECTOR_SHIFT); in bl_read_pagelist() 306 f_offset += pg_len; in bl_read_pagelist() 307 bytes_left -= pg_len; in bl_read_pagelist() [all …]
|
/linux/fs/bcachefs/ |
H A D | fs-io-pagecache.c | 156 unsigned pg_offset, unsigned pg_len, in __bch2_folio_set() argument 163 BUG_ON(pg_offset + pg_len > sectors); in __bch2_folio_set() 167 for (i = pg_offset; i < pg_offset + pg_len; i++) { in __bch2_folio_set()
|
/linux/drivers/ata/ |
H A D | libata-scsi.c | 3982 unsigned six_byte, pg_len, hdr_len, bd_len; in ata_scsi_mode_select_xlat() local 4054 pg_len = get_unaligned_be16(&p[2]); in ata_scsi_mode_select_xlat() 4062 pg_len = p[1]; in ata_scsi_mode_select_xlat() 4092 if (pg_len > len) in ata_scsi_mode_select_xlat() 4097 if (ata_mselect_caching(qc, p, pg_len, &fp) < 0) { in ata_scsi_mode_select_xlat() 4103 ret = ata_mselect_control(qc, spg, p, pg_len, &fp); in ata_scsi_mode_select_xlat() 4121 if (len > pg_len) in ata_scsi_mode_select_xlat()
|
/linux/drivers/scsi/ |
H A D | scsi_debug.c | 2897 unsigned char *new, int pg_len) in process_medium_part_m_pg() argument 3175 int pf, sp, ps, md_len, bd_len, off, spf, pg_len; in resp_mode_select() local 3236 pg_len = spf ? (get_unaligned_be16(arr + off + 2) + 4) : in resp_mode_select() 3238 if ((pg_len + off) > param_len) { in resp_mode_select() 3275 fld = process_medium_part_m_pg(devip, &arr[off], pg_len); in resp_mode_select()
|